0s autopkgtest [16:30:09]: starting date: 2024-03-08 0s autopkgtest [16:30:09]: git checkout: d9c0295 adt_testbed.py: supress warnings from apt using a shell pipeline 0s autopkgtest [16:30:09]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.v7hwiw8i/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:pygobject,src:glib2.0 --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-3@bos02-arm64-12.secgroup --name adt-noble-arm64-glib2.0-20240308-163008-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/ 874s autopkgtest [16:44:43]: @@@@@@@@@@@@@@@@@@@@ test bed setup 877s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 882s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 883s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [35.7 kB] 883s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2584 kB] 885s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [439 kB] 885s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [580 kB] 886s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 886s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 886s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 886s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2803 kB] 888s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 889s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [38.2 kB] 889s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 954s Fetched 6632 kB in 30s (222 kB/s) 957s Reading package lists... 1049s Reading package lists... 1053s Building dependency tree... 1053s Reading state information... 1059s Calculating upgrade... 1063s The following packages will be REMOVED: 1063s libglib2.0-0 1063s The following NEW packages will be installed: 1063s libglib2.0-0t64 xdg-user-dirs 1063s The following packages will be upgraded: 1063s gir1.2-glib-2.0 initramfs-tools initramfs-tools-bin initramfs-tools-core 1063s libglib2.0-data libproc2-0 pci.ids procps python3-gi shim-signed 1065s 10 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 1065s Need to get 3680 kB of archives. 1065s After this operation, 176 kB disk space will be freed. 1065s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu3 [182 kB] 1065s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 python3-gi arm64 3.47.0-3build1 [233 kB] 1065s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu3 [1527 kB] 1065s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 libproc2-0 arm64 2:4.0.4-4ubuntu1 [58.4 kB] 1065s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 procps arm64 2:4.0.4-4ubuntu1 [708 kB] 1066s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu3 [46.6 kB] 1066s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 1066s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 pci.ids all 0.0~2024.02.02-1 [273 kB] 1066s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 initramfs-tools all 0.142ubuntu20 [9054 B] 1066s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 initramfs-tools-core all 0.142ubuntu20 [49.7 kB] 1066s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 initramfs-tools-bin arm64 0.142ubuntu20 [20.2 kB] 1066s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 shim-signed arm64 1.57+15.8-0ubuntu1 [555 kB] 1076s Preconfiguring packages ... 1078s Fetched 3680 kB in 2s (1680 kB/s) 1083s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75862 files and directories currently installed.) 1083s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu3_arm64.deb ... 1083s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 1084s Preparing to unpack .../python3-gi_3.47.0-3build1_arm64.deb ... 1086s Unpacking python3-gi (3.47.0-3build1) over (3.47.0-3) ... 1088s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 1088s udisks2 depends on libglib2.0-0 (>= 2.77.0). 1088s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 1088s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 1088s netplan.io depends on libglib2.0-0 (>= 2.70.0). 1088s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 1088s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 1088s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 1088s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 1088s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 1088s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 1088s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 1088s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 1088s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 1088s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 1088s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 1088s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 1088s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 1088s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 1088s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 1088s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 1088s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 1088s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 1088s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 1088s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1088s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 1088s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1088s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1088s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1088s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1088s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1088s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1088s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 1088s fwupd depends on libglib2.0-0 (>= 2.79.0). 1088s bolt depends on libglib2.0-0 (>= 2.56.0). 1088s 1089s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75861 files and directories currently installed.) 1089s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 1089s Selecting previously unselected package libglib2.0-0t64:arm64. 1090s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75836 files and directories currently installed.) 1090s Preparing to unpack .../0-libglib2.0-0t64_2.79.3-3ubuntu3_arm64.deb ... 1091s 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... 1091s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 1091s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 1092s Preparing to unpack .../1-libproc2-0_2%3a4.0.4-4ubuntu1_arm64.deb ... 1092s Unpacking libproc2-0:arm64 (2:4.0.4-4ubuntu1) over (2:4.0.4-2ubuntu1) ... 1092s Preparing to unpack .../2-procps_2%3a4.0.4-4ubuntu1_arm64.deb ... 1093s Unpacking procps (2:4.0.4-4ubuntu1) over (2:4.0.4-2ubuntu1) ... 1096s Preparing to unpack .../3-libglib2.0-data_2.79.3-3ubuntu3_all.deb ... 1096s Unpacking libglib2.0-data (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 1097s Selecting previously unselected package xdg-user-dirs. 1097s Preparing to unpack .../4-xdg-user-dirs_0.18-1_arm64.deb ... 1097s Unpacking xdg-user-dirs (0.18-1) ... 1097s Preparing to unpack .../5-pci.ids_0.0~2024.02.02-1_all.deb ... 1098s Unpacking pci.ids (0.0~2024.02.02-1) over (0.0~2023.11.11-1) ... 1098s Preparing to unpack .../6-initramfs-tools_0.142ubuntu20_all.deb ... 1102s Unpacking initramfs-tools (0.142ubuntu20) over (0.142ubuntu19) ... 1102s Preparing to unpack .../7-initramfs-tools-core_0.142ubuntu20_all.deb ... 1102s Unpacking initramfs-tools-core (0.142ubuntu20) over (0.142ubuntu19) ... 1102s Preparing to unpack .../8-initramfs-tools-bin_0.142ubuntu20_arm64.deb ... 1102s Unpacking initramfs-tools-bin (0.142ubuntu20) over (0.142ubuntu19) ... 1102s Preparing to unpack .../9-shim-signed_1.57+15.8-0ubuntu1_arm64.deb ... 1102s Unpacking shim-signed (1.57+15.8-0ubuntu1) over (1.56+15.7-0ubuntu1) ... 1104s Setting up pci.ids (0.0~2024.02.02-1) ... 1104s Setting up xdg-user-dirs (0.18-1) ... 1105s Setting up shim-signed (1.57+15.8-0ubuntu1) ... 1113s Installing grub to /boot/efi. 1113s Installing for arm64-efi platform. 1120s Installation finished. No error reported. 1121s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 1121s No schema files found: doing nothing. 1121s Setting up libglib2.0-data (2.79.3-3ubuntu3) ... 1121s Setting up libproc2-0:arm64 (2:4.0.4-4ubuntu1) ... 1121s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) ... 1122s Setting up procps (2:4.0.4-4ubuntu1) ... 1132s Setting up initramfs-tools-bin (0.142ubuntu20) ... 1132s Setting up python3-gi (3.47.0-3build1) ... 1139s Setting up initramfs-tools-core (0.142ubuntu20) ... 1139s Setting up initramfs-tools (0.142ubuntu20) ... 1139s update-initramfs: deferring update (trigger activated) 1140s Processing triggers for man-db (2.12.0-3) ... 1204s Processing triggers for libc-bin (2.39-0ubuntu2) ... 1205s Processing triggers for initramfs-tools (0.142ubuntu20) ... 1207s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 1208s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1790s System running in EFI mode, skipping. 1795s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1795s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1795s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1795s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1795s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1795s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1795s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1795s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1795s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1795s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1795s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1795s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1795s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1795s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1795s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1795s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1795s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1797s Reading package lists... 1800s Building dependency tree... 1800s Reading state information... 1806s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1817s sh: Attempting to set up Debian/Ubuntu apt sources automatically 1817s sh: Distribution appears to be Ubuntu 1888s Reading package lists... 1891s Building dependency tree... 1891s Reading state information... 1897s eatmydata is already the newest version (131-1). 1897s dbus is already the newest version (1.14.10-4ubuntu1). 1897s dbus set to manually installed. 1897s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1897s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1897s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1897s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1897s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1897s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1897s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1897s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1897s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1897s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1897s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1897s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1897s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1897s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1897s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1897s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1897s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1897s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1899s Reading package lists... 1902s Building dependency tree... 1902s Reading state information... 1907s rng-tools-debian is already the newest version (2.4). 1907s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1909s Reading package lists... 1912s Building dependency tree... 1912s Reading state information... 1918s haveged is already the newest version (1.9.14-1ubuntu1). 1918s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1919s Reading package lists... 1922s Building dependency tree... 1922s Reading state information... 1927s The following packages will be REMOVED: 1927s cloud-init* python3-configobj* python3-debconf* 1934s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 1934s After this operation, 3248 kB disk space will be freed. 1934s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75875 files and directories currently installed.) 1934s Removing cloud-init (24.1-0ubuntu1) ... 1947s Removing python3-configobj (5.0.8-3) ... 1949s Removing python3-debconf (1.5.86) ... 1951s Processing triggers for man-db (2.12.0-3) ... 1956s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75486 files and directories currently installed.) 1956s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 1973s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 1973s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 1982s Reading package lists... 1985s Building dependency tree... 1985s Reading state information... 1992s linux-generic is already the newest version (6.8.0-11.11+1). 1992s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1997s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 1997s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 1997s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 1997s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 1997s Hit:5 http://ftpmaster.internal/ubuntu noble-backports InRelease 2074s Reading package lists... 2074s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2074s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2074s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2076s Reading package lists... 2080s Building dependency tree... 2080s Reading state information... 2085s Calculating upgrade... 2088s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2090s Reading package lists... 2093s Building dependency tree... 2093s Reading state information... 2099s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2100s autopkgtest [17:05:09]: rebooting testbed after setup commands that affected boot 2292s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 2325s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 2358s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 2391s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 2410s autopkgtest [17:10:19]: testbed running kernel: Linux 6.8.0-11-generic #11-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 14 02:53:31 UTC 2024 2412s autopkgtest [17:10:21]: testbed dpkg architecture: arm64 2418s autopkgtest [17:10:27]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 2426s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 2426s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2426s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2426s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2426s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2426s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2426s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2426s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2426s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2426s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2426s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2426s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2426s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2426s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2426s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2426s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2426s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 2504s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu3 (dsc) [4729 B] 2504s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu3 (tar) [263 kB] 2504s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu3 (tar) [5507 kB] 2504s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main glib2.0 2.79.3-3ubuntu3 (diff) [129 kB] 2507s gpgv: Signature made Thu Mar 7 18:10:17 2024 UTC 2507s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 2507s gpgv: Can't check signature: No public key 2507s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.79.3-3ubuntu3.dsc: no acceptable signature found 2524s autopkgtest [17:12:13]: testing package glib2.0 version 2.79.3-3ubuntu3 2524s autopkgtest [17:12:13]: build not needed 2611s autopkgtest [17:13:40]: test build: preparing testbed 2634s Reading package lists... 2637s Building dependency tree... 2637s Reading state information... 2640s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 2641s Starting 2 pkgProblemResolver with broken count: 0 2641s Done 2644s Done 2647s Starting pkgProblemResolver with broken count: 0 2648s Starting 2 pkgProblemResolver with broken count: 0 2649s Done 2654s The following additional packages will be installed: 2654s build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu 2654s g++ g++-13 g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-13 2654s gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libatomic1 2654s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libelf1t64 2654s libffi-dev libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 2654s libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 liblsan0 2654s libmount-dev libmpc3 libnsl-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev 2654s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-13-dev 2654s libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin 2654s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 2654s Suggested packages: 2654s cpp-doc gcc-13-locales cpp-13-doc gcc-13-doc gcc-multilib manpages-dev 2654s autoconf automake libtool flex bison gdb gcc-doc gdb-aarch64-linux-gnu 2654s glibc-doc gir1.2-glib-2.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin 2654s libxml2-utils libstdc++-13-doc 2654s Recommended packages: 2654s manpages manpages-dev libc-devtools 2655s The following packages will be REMOVED: 2655s libelf1 2655s The following NEW packages will be installed: 2655s build-essential cpp cpp-13 cpp-13-aarch64-linux-gnu cpp-aarch64-linux-gnu 2655s g++ g++-13 g++-13-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-13 2655s gcc-13-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libatomic1 2655s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libelf1t64 2655s libffi-dev libgcc-13-dev libgirepository-2.0-0 libglib2.0-bin libglib2.0-dev 2655s libglib2.0-dev-bin libgomp1 libhwasan0 libisl23 libitm1 liblsan0 2655s libmount-dev libmpc3 libnsl-dev libpcre2-16-0 libpcre2-32-0 libpcre2-dev 2655s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-13-dev 2655s libtirpc-dev libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin 2655s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 2656s 0 upgraded, 53 newly installed, 1 to remove and 0 not upgraded. 2656s 1 not fully installed or removed. 2656s Need to get 67.0 MB of archives. 2656s After this operation, 244 MB of additional disk space will be used. 2656s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 libffi-dev arm64 3.4.6-1 [59.5 kB] 2656s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libelf1t64 arm64 0.190-1.1 [57.9 kB] 2656s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-bin arm64 2.79.3-3ubuntu3 [97.1 kB] 2656s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 2656s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgirepository-2.0-0 arm64 2.79.3-3ubuntu3 [71.5 kB] 2656s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-dev-bin arm64 2.79.3-3ubuntu3 [215 kB] 2656s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 libc-dev-bin arm64 2.39-0ubuntu2 [19.7 kB] 2656s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 linux-libc-dev arm64 6.8.0-11.11 [1569 kB] 2657s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libcrypt-dev arm64 1:4.4.36-4 [136 kB] 2657s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 libtirpc-dev arm64 1.3.4+ds-1build1 [232 kB] 2657s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 libnsl-dev arm64 1.3.0-3 [71.9 kB] 2657s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 rpcsvc-proto arm64 1.4.2-0ubuntu6 [65.4 kB] 2657s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 libc6-dev arm64 2.39-0ubuntu2 [1596 kB] 2658s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 uuid-dev arm64 2.39.3-6ubuntu2 [34.7 kB] 2658s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libblkid-dev arm64 2.39.3-6ubuntu2 [219 kB] 2658s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libsepol-dev arm64 3.5-2 [390 kB] 2658s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-16-0 arm64 10.42-4ubuntu1 [195 kB] 2658s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-32-0 arm64 10.42-4ubuntu1 [183 kB] 2658s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-posix3 arm64 10.42-4ubuntu1 [6654 B] 2658s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libpcre2-dev arm64 10.42-4ubuntu1 [679 kB] 2658s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 libselinux1-dev arm64 3.5-2build1 [172 kB] 2658s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 libmount-dev arm64 2.39.3-6ubuntu2 [14.9 kB] 2658s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libpkgconf3 arm64 1.8.1-2 [31.2 kB] 2658s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf-bin arm64 1.8.1-2 [20.4 kB] 2658s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 pkgconf arm64 1.8.1-2 [16.7 kB] 2658s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 zlib1g-dev arm64 1:1.3.dfsg-3ubuntu1 [895 kB] 2658s Get:27 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-dev arm64 2.79.3-3ubuntu3 [1888 kB] 2659s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libisl23 arm64 0.26-3 [713 kB] 2659s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 libmpc3 arm64 1.3.1-1 [55.3 kB] 2659s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [10.3 MB] 2662s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-13 arm64 13.2.0-17ubuntu2 [1028 B] 2662s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 cpp-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [5316 B] 2662s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 cpp arm64 4:13.2.0-7ubuntu1 [22.4 kB] 2662s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libcc1-0 arm64 14-20240303-1ubuntu1 [44.7 kB] 2662s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libgomp1 arm64 14-20240303-1ubuntu1 [144 kB] 2662s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libitm1 arm64 14-20240303-1ubuntu1 [27.7 kB] 2662s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libatomic1 arm64 14-20240303-1ubuntu1 [11.4 kB] 2662s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libasan8 arm64 14-20240303-1ubuntu1 [2919 kB] 2663s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 liblsan0 arm64 14-20240303-1ubuntu1 [1282 kB] 2663s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libtsan2 arm64 14-20240303-1ubuntu1 [2687 kB] 2665s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libubsan1 arm64 14-20240303-1ubuntu1 [1151 kB] 2665s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libhwasan0 arm64 14-20240303-1ubuntu1 [1597 kB] 2666s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libgcc-13-dev arm64 13.2.0-17ubuntu2 [2464 kB] 2667s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [20.1 MB] 2672s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-13 arm64 13.2.0-17ubuntu2 [467 kB] 2672s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 gcc-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [1198 B] 2673s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 gcc arm64 4:13.2.0-7ubuntu1 [5018 B] 2673s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libstdc++-13-dev arm64 13.2.0-17ubuntu2 [2322 kB] 2673s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13-aarch64-linux-gnu arm64 13.2.0-17ubuntu2 [11.7 MB] 2677s Get:50 http://ftpmaster.internal/ubuntu noble/main arm64 g++-13 arm64 13.2.0-17ubuntu2 [14.4 kB] 2677s Get:51 http://ftpmaster.internal/ubuntu noble/main arm64 g++-aarch64-linux-gnu arm64 4:13.2.0-7ubuntu1 [962 B] 2677s Get:52 http://ftpmaster.internal/ubuntu noble/main arm64 g++ arm64 4:13.2.0-7ubuntu1 [1082 B] 2677s Get:53 http://ftpmaster.internal/ubuntu noble/main arm64 build-essential arm64 12.10ubuntu1 [4932 B] 2687s Fetched 67.0 MB in 21s (3123 kB/s) 2687s Selecting previously unselected package libffi-dev:arm64. 2688s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75431 files and directories currently installed.) 2688s Preparing to unpack .../libffi-dev_3.4.6-1_arm64.deb ... 2688s Unpacking libffi-dev:arm64 (3.4.6-1) ... 2689s dpkg: libelf1:arm64: dependency problems, but removing anyway as you requested: 2689s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 2689s libbpf1:arm64 depends on libelf1 (>= 0.144). 2689s iproute2 depends on libelf1 (>= 0.131). 2689s 2689s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75468 files and directories currently installed.) 2689s Removing libelf1:arm64 (0.190-1) ... 2690s Selecting previously unselected package libelf1t64:arm64. 2691s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75463 files and directories currently installed.) 2691s Preparing to unpack .../00-libelf1t64_0.190-1.1_arm64.deb ... 2691s Unpacking libelf1t64:arm64 (0.190-1.1) ... 2691s Selecting previously unselected package libglib2.0-bin. 2691s Preparing to unpack .../01-libglib2.0-bin_2.79.3-3ubuntu3_arm64.deb ... 2691s Unpacking libglib2.0-bin (2.79.3-3ubuntu3) ... 2692s Selecting previously unselected package python3-packaging. 2692s Preparing to unpack .../02-python3-packaging_23.2-1_all.deb ... 2692s Unpacking python3-packaging (23.2-1) ... 2692s Selecting previously unselected package libgirepository-2.0-0:arm64. 2693s Preparing to unpack .../03-libgirepository-2.0-0_2.79.3-3ubuntu3_arm64.deb ... 2693s Unpacking libgirepository-2.0-0:arm64 (2.79.3-3ubuntu3) ... 2693s Selecting previously unselected package libglib2.0-dev-bin. 2693s Preparing to unpack .../04-libglib2.0-dev-bin_2.79.3-3ubuntu3_arm64.deb ... 2693s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu3) ... 2694s Selecting previously unselected package libc-dev-bin. 2694s Preparing to unpack .../05-libc-dev-bin_2.39-0ubuntu2_arm64.deb ... 2694s Unpacking libc-dev-bin (2.39-0ubuntu2) ... 2694s Selecting previously unselected package linux-libc-dev:arm64. 2694s Preparing to unpack .../06-linux-libc-dev_6.8.0-11.11_arm64.deb ... 2694s Unpacking linux-libc-dev:arm64 (6.8.0-11.11) ... 2699s Selecting previously unselected package libcrypt-dev:arm64. 2699s Preparing to unpack .../07-libcrypt-dev_1%3a4.4.36-4_arm64.deb ... 2699s Unpacking libcrypt-dev:arm64 (1:4.4.36-4) ... 2700s Selecting previously unselected package libtirpc-dev:arm64. 2700s Preparing to unpack .../08-libtirpc-dev_1.3.4+ds-1build1_arm64.deb ... 2700s Unpacking libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 2701s Selecting previously unselected package libnsl-dev:arm64. 2701s Preparing to unpack .../09-libnsl-dev_1.3.0-3_arm64.deb ... 2701s Unpacking libnsl-dev:arm64 (1.3.0-3) ... 2701s Selecting previously unselected package rpcsvc-proto. 2701s Preparing to unpack .../10-rpcsvc-proto_1.4.2-0ubuntu6_arm64.deb ... 2701s Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ... 2702s Selecting previously unselected package libc6-dev:arm64. 2702s Preparing to unpack .../11-libc6-dev_2.39-0ubuntu2_arm64.deb ... 2702s Unpacking libc6-dev:arm64 (2.39-0ubuntu2) ... 2705s Selecting previously unselected package uuid-dev:arm64. 2705s Preparing to unpack .../12-uuid-dev_2.39.3-6ubuntu2_arm64.deb ... 2705s Unpacking uuid-dev:arm64 (2.39.3-6ubuntu2) ... 2706s Selecting previously unselected package libblkid-dev:arm64. 2706s Preparing to unpack .../13-libblkid-dev_2.39.3-6ubuntu2_arm64.deb ... 2706s Unpacking libblkid-dev:arm64 (2.39.3-6ubuntu2) ... 2706s Selecting previously unselected package libsepol-dev:arm64. 2706s Preparing to unpack .../14-libsepol-dev_3.5-2_arm64.deb ... 2706s Unpacking libsepol-dev:arm64 (3.5-2) ... 2707s Selecting previously unselected package libpcre2-16-0:arm64. 2707s Preparing to unpack .../15-libpcre2-16-0_10.42-4ubuntu1_arm64.deb ... 2707s Unpacking libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 2708s Selecting previously unselected package libpcre2-32-0:arm64. 2708s Preparing to unpack .../16-libpcre2-32-0_10.42-4ubuntu1_arm64.deb ... 2708s Unpacking libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 2708s Selecting previously unselected package libpcre2-posix3:arm64. 2708s Preparing to unpack .../17-libpcre2-posix3_10.42-4ubuntu1_arm64.deb ... 2708s Unpacking libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 2709s Selecting previously unselected package libpcre2-dev:arm64. 2709s Preparing to unpack .../18-libpcre2-dev_10.42-4ubuntu1_arm64.deb ... 2709s Unpacking libpcre2-dev:arm64 (10.42-4ubuntu1) ... 2710s Selecting previously unselected package libselinux1-dev:arm64. 2710s Preparing to unpack .../19-libselinux1-dev_3.5-2build1_arm64.deb ... 2710s Unpacking libselinux1-dev:arm64 (3.5-2build1) ... 2711s Selecting previously unselected package libmount-dev:arm64. 2711s Preparing to unpack .../20-libmount-dev_2.39.3-6ubuntu2_arm64.deb ... 2711s Unpacking libmount-dev:arm64 (2.39.3-6ubuntu2) ... 2712s Selecting previously unselected package libpkgconf3:arm64. 2712s Preparing to unpack .../21-libpkgconf3_1.8.1-2_arm64.deb ... 2712s Unpacking libpkgconf3:arm64 (1.8.1-2) ... 2712s Selecting previously unselected package pkgconf-bin. 2712s Preparing to unpack .../22-pkgconf-bin_1.8.1-2_arm64.deb ... 2712s Unpacking pkgconf-bin (1.8.1-2) ... 2713s Selecting previously unselected package pkgconf:arm64. 2713s Preparing to unpack .../23-pkgconf_1.8.1-2_arm64.deb ... 2713s Unpacking pkgconf:arm64 (1.8.1-2) ... 2713s Selecting previously unselected package zlib1g-dev:arm64. 2713s Preparing to unpack .../24-zlib1g-dev_1%3a1.3.dfsg-3ubuntu1_arm64.deb ... 2713s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 2714s Selecting previously unselected package libglib2.0-dev:arm64. 2714s Preparing to unpack .../25-libglib2.0-dev_2.79.3-3ubuntu3_arm64.deb ... 2714s Unpacking libglib2.0-dev:arm64 (2.79.3-3ubuntu3) ... 2717s Selecting previously unselected package libisl23:arm64. 2717s Preparing to unpack .../26-libisl23_0.26-3_arm64.deb ... 2717s Unpacking libisl23:arm64 (0.26-3) ... 2718s Selecting previously unselected package libmpc3:arm64. 2718s Preparing to unpack .../27-libmpc3_1.3.1-1_arm64.deb ... 2718s Unpacking libmpc3:arm64 (1.3.1-1) ... 2718s Selecting previously unselected package cpp-13-aarch64-linux-gnu. 2718s Preparing to unpack .../28-cpp-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 2718s Unpacking cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 2723s Selecting previously unselected package cpp-13. 2723s Preparing to unpack .../29-cpp-13_13.2.0-17ubuntu2_arm64.deb ... 2723s Unpacking cpp-13 (13.2.0-17ubuntu2) ... 2723s Selecting previously unselected package cpp-aarch64-linux-gnu. 2723s Preparing to unpack .../30-cpp-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 2723s Unpacking cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 2724s Selecting previously unselected package cpp. 2724s Preparing to unpack .../31-cpp_4%3a13.2.0-7ubuntu1_arm64.deb ... 2724s Unpacking cpp (4:13.2.0-7ubuntu1) ... 2724s Selecting previously unselected package libcc1-0:arm64. 2725s Preparing to unpack .../32-libcc1-0_14-20240303-1ubuntu1_arm64.deb ... 2725s Unpacking libcc1-0:arm64 (14-20240303-1ubuntu1) ... 2725s Selecting previously unselected package libgomp1:arm64. 2725s Preparing to unpack .../33-libgomp1_14-20240303-1ubuntu1_arm64.deb ... 2725s Unpacking libgomp1:arm64 (14-20240303-1ubuntu1) ... 2726s Selecting previously unselected package libitm1:arm64. 2726s Preparing to unpack .../34-libitm1_14-20240303-1ubuntu1_arm64.deb ... 2726s Unpacking libitm1:arm64 (14-20240303-1ubuntu1) ... 2726s Selecting previously unselected package libatomic1:arm64. 2726s Preparing to unpack .../35-libatomic1_14-20240303-1ubuntu1_arm64.deb ... 2726s Unpacking libatomic1:arm64 (14-20240303-1ubuntu1) ... 2727s Selecting previously unselected package libasan8:arm64. 2727s Preparing to unpack .../36-libasan8_14-20240303-1ubuntu1_arm64.deb ... 2727s Unpacking libasan8:arm64 (14-20240303-1ubuntu1) ... 2729s Selecting previously unselected package liblsan0:arm64. 2729s Preparing to unpack .../37-liblsan0_14-20240303-1ubuntu1_arm64.deb ... 2729s Unpacking liblsan0:arm64 (14-20240303-1ubuntu1) ... 2730s Selecting previously unselected package libtsan2:arm64. 2731s Preparing to unpack .../38-libtsan2_14-20240303-1ubuntu1_arm64.deb ... 2731s Unpacking libtsan2:arm64 (14-20240303-1ubuntu1) ... 2733s Selecting previously unselected package libubsan1:arm64. 2733s Preparing to unpack .../39-libubsan1_14-20240303-1ubuntu1_arm64.deb ... 2733s Unpacking libubsan1:arm64 (14-20240303-1ubuntu1) ... 2734s Selecting previously unselected package libhwasan0:arm64. 2734s Preparing to unpack .../40-libhwasan0_14-20240303-1ubuntu1_arm64.deb ... 2734s Unpacking libhwasan0:arm64 (14-20240303-1ubuntu1) ... 2735s Selecting previously unselected package libgcc-13-dev:arm64. 2735s Preparing to unpack .../41-libgcc-13-dev_13.2.0-17ubuntu2_arm64.deb ... 2735s Unpacking libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 2737s Selecting previously unselected package gcc-13-aarch64-linux-gnu. 2737s Preparing to unpack .../42-gcc-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 2737s Unpacking gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 2747s Selecting previously unselected package gcc-13. 2747s Preparing to unpack .../43-gcc-13_13.2.0-17ubuntu2_arm64.deb ... 2747s Unpacking gcc-13 (13.2.0-17ubuntu2) ... 2747s Selecting previously unselected package gcc-aarch64-linux-gnu. 2747s Preparing to unpack .../44-gcc-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 2747s Unpacking gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 2748s Selecting previously unselected package gcc. 2748s Preparing to unpack .../45-gcc_4%3a13.2.0-7ubuntu1_arm64.deb ... 2748s Unpacking gcc (4:13.2.0-7ubuntu1) ... 2748s Selecting previously unselected package libstdc++-13-dev:arm64. 2748s Preparing to unpack .../46-libstdc++-13-dev_13.2.0-17ubuntu2_arm64.deb ... 2748s Unpacking libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 2753s Selecting previously unselected package g++-13-aarch64-linux-gnu. 2754s Preparing to unpack .../47-g++-13-aarch64-linux-gnu_13.2.0-17ubuntu2_arm64.deb ... 2754s Unpacking g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 2758s Selecting previously unselected package g++-13. 2758s Preparing to unpack .../48-g++-13_13.2.0-17ubuntu2_arm64.deb ... 2758s Unpacking g++-13 (13.2.0-17ubuntu2) ... 2759s Selecting previously unselected package g++-aarch64-linux-gnu. 2759s Preparing to unpack .../49-g++-aarch64-linux-gnu_4%3a13.2.0-7ubuntu1_arm64.deb ... 2759s Unpacking g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 2759s Selecting previously unselected package g++. 2759s Preparing to unpack .../50-g++_4%3a13.2.0-7ubuntu1_arm64.deb ... 2759s Unpacking g++ (4:13.2.0-7ubuntu1) ... 2760s Selecting previously unselected package build-essential. 2760s Preparing to unpack .../51-build-essential_12.10ubuntu1_arm64.deb ... 2760s Unpacking build-essential (12.10ubuntu1) ... 2761s Setting up libgirepository-2.0-0:arm64 (2.79.3-3ubuntu3) ... 2761s Setting up linux-libc-dev:arm64 (6.8.0-11.11) ... 2761s Setting up libgomp1:arm64 (14-20240303-1ubuntu1) ... 2761s Setting up libffi-dev:arm64 (3.4.6-1) ... 2761s Setting up libpcre2-16-0:arm64 (10.42-4ubuntu1) ... 2761s Setting up libelf1t64:arm64 (0.190-1.1) ... 2761s Setting up libpcre2-32-0:arm64 (10.42-4ubuntu1) ... 2761s Setting up python3-packaging (23.2-1) ... 2764s Setting up libtirpc-dev:arm64 (1.3.4+ds-1build1) ... 2764s Setting up libpkgconf3:arm64 (1.8.1-2) ... 2764s Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... 2764s Setting up libmpc3:arm64 (1.3.1-1) ... 2764s Setting up libatomic1:arm64 (14-20240303-1ubuntu1) ... 2764s Setting up libsepol-dev:arm64 (3.5-2) ... 2764s Setting up pkgconf-bin (1.8.1-2) ... 2764s Setting up libubsan1:arm64 (14-20240303-1ubuntu1) ... 2764s Setting up libpcre2-posix3:arm64 (10.42-4ubuntu1) ... 2764s Setting up libnsl-dev:arm64 (1.3.0-3) ... 2764s Setting up libhwasan0:arm64 (14-20240303-1ubuntu1) ... 2764s Setting up libcrypt-dev:arm64 (1:4.4.36-4) ... 2764s Setting up libasan8:arm64 (14-20240303-1ubuntu1) ... 2764s Setting up libtsan2:arm64 (14-20240303-1ubuntu1) ... 2764s Setting up libisl23:arm64 (0.26-3) ... 2764s Setting up libc-dev-bin (2.39-0ubuntu2) ... 2764s Setting up libcc1-0:arm64 (14-20240303-1ubuntu1) ... 2764s Setting up liblsan0:arm64 (14-20240303-1ubuntu1) ... 2764s Setting up libitm1:arm64 (14-20240303-1ubuntu1) ... 2764s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu3) ... 2768s Setting up cpp-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 2768s Setting up libglib2.0-bin (2.79.3-3ubuntu3) ... 2768s Setting up pkgconf:arm64 (1.8.1-2) ... 2768s Setting up cpp-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 2768s Setting up libgcc-13-dev:arm64 (13.2.0-17ubuntu2) ... 2768s Setting up libc6-dev:arm64 (2.39-0ubuntu2) ... 2768s Setting up libstdc++-13-dev:arm64 (13.2.0-17ubuntu2) ... 2768s Setting up libpcre2-dev:arm64 (10.42-4ubuntu1) ... 2769s Setting up cpp-13 (13.2.0-17ubuntu2) ... 2769s Setting up libselinux1-dev:arm64 (3.5-2build1) ... 2769s Setting up gcc-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 2769s Setting up uuid-dev:arm64 (2.39.3-6ubuntu2) ... 2769s Setting up gcc-13 (13.2.0-17ubuntu2) ... 2769s Setting up zlib1g-dev:arm64 (1:1.3.dfsg-3ubuntu1) ... 2769s Setting up cpp (4:13.2.0-7ubuntu1) ... 2769s Setting up g++-13-aarch64-linux-gnu (13.2.0-17ubuntu2) ... 2769s Setting up gcc-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 2769s Setting up libblkid-dev:arm64 (2.39.3-6ubuntu2) ... 2769s Setting up g++-13 (13.2.0-17ubuntu2) ... 2769s Setting up gcc (4:13.2.0-7ubuntu1) ... 2770s Setting up g++-aarch64-linux-gnu (4:13.2.0-7ubuntu1) ... 2770s Setting up libmount-dev:arm64 (2.39.3-6ubuntu2) ... 2770s Setting up libglib2.0-dev:arm64 (2.79.3-3ubuntu3) ... 2770s Setting up g++ (4:13.2.0-7ubuntu1) ... 2770s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 2770s Setting up build-essential (12.10ubuntu1) ... 2770s Processing triggers for libc-bin (2.39-0ubuntu2) ... 2770s Processing triggers for man-db (2.12.0-3) ... 2784s Processing triggers for libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 2784s No schema files found: doing nothing. 2784s Processing triggers for install-info (7.1-3) ... 2786s Setting up autopkgtest-satdep (0) ... 2819s (Reading database ... 79225 files and directories currently installed.) 2819s Removing autopkgtest-satdep (0) ... 2825s autopkgtest [17:17:14]: test build: [----------------------- 2826s + mode=dynamic 2826s + getopt -o --long static -n debian/tests/build -- 2826s + getopt_temp= -- 2826s + eval set -- -- 2826s + set -- -- 2826s + true 2826s + shift 2826s + break 2826s + mktemp -d 2827s + WORKDIR=/tmp/tmp.sSQ6ZRohsI 2827s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 2827s + cd /tmp/tmp.sSQ6ZRohsI 2827s + [ -n ] 2827s + CROSS_COMPILE= 2827s + cat 2827s + cat 2827s + cat 2827s + cat 2827s + cat 2827s + cat 2827s + cflags= 2827s + pcflags= 2827s + packages=glib-2.0 2827s + pkg-config --cflags --libs glib-2.0 2827s + 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 2829s + echo build (glib, dynamic): OK 2829s + [ -x glib-dynamic ] 2829s + foo=bar ./glib-dynamic 2829s build (glib, dynamic): OK 2829s + run (glib, dynamic): OK 2829s echo run (glib, dynamic): OK 2829s + cflags= 2829s + pcflags= 2829s + packages=gobject-2.0 2829s + pkg-config --cflags --libs gobject-2.0 2829s + 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 2831s + echo build (gobject, dynamic): OK 2831s + [ -x gobject-dynamic ] 2831s + foo=bar ./gobject-dynamic 2831s build (gobject, dynamic): OK 2831s + echorun (gobject, dynamic): OK 2831s run (gobject, dynamic): OK 2831s + cflags= 2831s + pcflags= 2831s + packages=gio-2.0 2831s + pkg-config --cflags --libs gio-2.0 2831s + 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 2835s + build (gio, dynamic): OK 2835s echo build (gio, dynamic): OK 2835s + [ -x gio-dynamic ] 2835s + foo=bar ./gio-dynamic 2835s + run (gio, dynamic): OK 2835s echo run (gio, dynamic): OK 2835s + cflags= 2835s + pcflags= 2835s + packages=gio-unix-2.0 2835s + pkg-config --cflags --libs gio-unix-2.0 2836s + 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 2840s + build (gio-unix, dynamic): OK 2840s echo build (gio-unix, dynamic): OK 2840s + [ -x gio-unix-dynamic ] 2840s + foo=bar ./gio-unix-dynamic 2840s + run (gio-unix, dynamic): OK 2840s echo run (gio-unix, dynamic): OK 2840s + cflags= 2840s + pcflags= 2840s + packages=gmodule-2.0 2840s + pkg-config --cflags --libs gmodule-2.0 2840s + 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 2842s + build (gmodule, dynamic): OK 2842s echo build (gmodule, dynamic): OK 2842s + [ -x gmodule-dynamic ] 2842s + foo=bar ./gmodule-dynamic 2842s run (gmodule, dynamic): OK 2842s + echo run (gmodule, dynamic): OK 2842s + cflags= 2842s + pcflags= 2842s + packages=gthread-2.0 2842s + pkg-config --cflags --libs gthread-2.0 2842s + 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 2845s + build (gthread, dynamic): OK 2845s echo build (gthread, dynamic): OK 2845s + [ -x gthread-dynamic ] 2845s + foo=bar ./gthread-dynamic 2845s + echo run (gthread, dynamic): OK 2845s run (gthread, dynamic): OK 2845s + rm -rf /tmp/tmp.sSQ6ZRohsI 2846s autopkgtest [17:17:35]: test build: -----------------------] 2848s autopkgtest [17:17:37]: test build: - - - - - - - - - - results - - - - - - - - - - 2848s build PASS (superficial) 2849s autopkgtest [17:17:38]: test build-static: preparing testbed 2866s Reading package lists... 2869s Building dependency tree... 2869s Reading state information... 2873s Starting pkgProblemResolver with broken count: 0 2874s Starting 2 pkgProblemResolver with broken count: 0 2874s Done 2884s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2884s 1 not fully installed or removed. 2884s After this operation, 0 B of additional disk space will be used. 2884s Setting up autopkgtest-satdep (0) ... 2913s (Reading database ... 79225 files and directories currently installed.) 2913s Removing autopkgtest-satdep (0) ... 2921s autopkgtest [17:18:50]: test build-static: [----------------------- 2923s + mode=dynamic 2923s + getopt -o --long static -n debian/tests/build -- --static 2923s + getopt_temp= --static -- 2923s + eval set -- --static -- 2923s + set -- --static -- 2923s + true 2923s + mode=static 2923s + shift 2923s + continue 2923s + true 2923s + shift 2923s + break 2923s + mktemp -d 2923s + WORKDIR=/tmp/tmp.7RL1tQclzn 2923s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 2923s + cd /tmp/tmp.7RL1tQclzn 2923s + [ -n ] 2923s + CROSS_COMPILE= 2923s + cat 2923s + cat 2923s + cat 2923s + cat 2923s + cat 2923s + cat 2923s + cflags= 2923s + pcflags= 2923s + packages=glib-2.0 2923s + cflags=-static 2923s + pcflags=--static 2923s + pkg-config --static --cflags --libs glib-2.0 2923s + 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 2926s /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': 2926s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 2926s /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 2926s /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 2929s + echo build (glib, static): OK 2929s + build (glib, static): OK 2929s [ -x glib-static ] 2929s + foo=bar ./glib-static 2929s + run (glib, static): OK 2929s echo run (glib, static): OK 2929s + cflags= 2929s + pcflags= 2929s + packages=gobject-2.0 2929s + cflags=-static 2929s + pcflags=--static 2929s + pkg-config --static --cflags --libs gobject-2.0 2929s + 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 2932s /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': 2932s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 2932s /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 2932s /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 2934s + echo build (gobject, static): OK 2934s + [ -x gobject-static ] 2934s + foo=bar ./gobject-static 2934s build (gobject, static): OK 2934s + echo run (gobject, static): OK 2934s run (gobject, static): OK 2934s + cflags= 2934s + pcflags= 2934s + packages=gio-2.0 2934s + cflags=-static 2934s + pcflags=--static 2934s + continue 2934s + cflags= 2934s + pcflags= 2934s + packages=gio-unix-2.0 2934s + cflags=-static 2934s + pcflags=--static 2934s + continue 2934s + cflags= 2934s + pcflags= 2934s + packages=gmodule-2.0 2934s + cflags=-static 2934s + pcflags=--static 2934s + pkg-config --static --cflags --libs gmodule-2.0 2934s + 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 2936s /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': 2936s (.text+0x610): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 2937s /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': 2937s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 2937s /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 2937s /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 2939s + echo build (gmodule, static): OK 2939s + [ -x gmodule-static ] 2939s + foo=bar ./gmodule-static 2939s build (gmodule, static): OK 2939s + echo run (gmodule, static): OK 2939s + cflags= 2939s + pcflags= 2939s + packages=gthread-2.0 2939s + cflags=-static 2939s + pcflags=--static 2939s run (gmodule, static): OK 2939s + pkg-config --static --cflags --libs gthread-2.0 2939s + 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 2941s /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': 2941s (.text+0xf8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 2941s /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 2941s /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 2944s + echo build (gthread, static): OKbuild (gthread, static): OK 2944s 2944s + [ -x gthread-static ] 2944s + foo=bar ./gthread-static 2944s + echo run (gthread, static): OK 2944s + rm -rf /tmp/tmp.7RL1tQclzn 2944s run (gthread, static): OK 2945s autopkgtest [17:19:14]: test build-static: -----------------------] 2947s autopkgtest [17:19:16]: test build-static: - - - - - - - - - - results - - - - - - - - - - 2947s build-static PASS (superficial) 2949s autopkgtest [17:19:18]: test installed-tests: preparing testbed 3149s autopkgtest [17:22:38]: @@@@@@@@@@@@@@@@@@@@ test bed setup 3150s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 3151s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [439 kB] 3152s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2584 kB] 3152s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [35.7 kB] 3152s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 3152s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [580 kB] 3152s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 3152s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 3152s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 3152s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2803 kB] 3152s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 3152s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [38.2 kB] 3152s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 3163s Fetched 6633 kB in 5s (1364 kB/s) 3163s Reading package lists... 3176s Reading package lists... 3177s Building dependency tree... 3177s Reading state information... 3178s Calculating upgrade... 3180s The following packages will be REMOVED: 3180s libglib2.0-0 3180s The following NEW packages will be installed: 3180s libglib2.0-0t64 xdg-user-dirs 3180s The following packages will be upgraded: 3180s gir1.2-glib-2.0 initramfs-tools initramfs-tools-bin initramfs-tools-core 3180s libglib2.0-data libproc2-0 pci.ids procps python3-gi shim-signed 3180s 10 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 3180s Need to get 3680 kB of archives. 3180s After this operation, 176 kB disk space will be freed. 3180s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu3 [182 kB] 3180s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 python3-gi arm64 3.47.0-3build1 [233 kB] 3180s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu3 [1527 kB] 3180s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 libproc2-0 arm64 2:4.0.4-4ubuntu1 [58.4 kB] 3180s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 procps arm64 2:4.0.4-4ubuntu1 [708 kB] 3180s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu3 [46.6 kB] 3180s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 3180s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 pci.ids all 0.0~2024.02.02-1 [273 kB] 3180s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 initramfs-tools all 0.142ubuntu20 [9054 B] 3180s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 initramfs-tools-core all 0.142ubuntu20 [49.7 kB] 3180s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 initramfs-tools-bin arm64 0.142ubuntu20 [20.2 kB] 3180s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 shim-signed arm64 1.57+15.8-0ubuntu1 [555 kB] 3182s Preconfiguring packages ... 3182s Fetched 3680 kB in 1s (4761 kB/s) 3183s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75862 files and directories currently installed.) 3183s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu3_arm64.deb ... 3183s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 3183s Preparing to unpack .../python3-gi_3.47.0-3build1_arm64.deb ... 3183s Unpacking python3-gi (3.47.0-3build1) over (3.47.0-3) ... 3184s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 3184s udisks2 depends on libglib2.0-0 (>= 2.77.0). 3184s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 3184s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 3184s netplan.io depends on libglib2.0-0 (>= 2.70.0). 3184s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 3184s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 3184s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 3184s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 3184s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 3184s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 3184s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 3184s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 3184s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 3184s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 3184s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 3184s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 3184s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 3184s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 3184s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 3184s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 3184s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 3184s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 3184s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 3184s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 3184s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 3184s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 3184s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 3184s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 3184s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 3184s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 3184s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 3184s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 3184s fwupd depends on libglib2.0-0 (>= 2.79.0). 3184s bolt depends on libglib2.0-0 (>= 2.56.0). 3184s 3184s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75861 files and directories currently installed.) 3184s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 3184s Selecting previously unselected package libglib2.0-0t64:arm64. 3184s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75836 files and directories currently installed.) 3184s Preparing to unpack .../0-libglib2.0-0t64_2.79.3-3ubuntu3_arm64.deb ... 3184s 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... 3184s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 3184s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 3185s Preparing to unpack .../1-libproc2-0_2%3a4.0.4-4ubuntu1_arm64.deb ... 3185s Unpacking libproc2-0:arm64 (2:4.0.4-4ubuntu1) over (2:4.0.4-2ubuntu1) ... 3185s Preparing to unpack .../2-procps_2%3a4.0.4-4ubuntu1_arm64.deb ... 3185s Unpacking procps (2:4.0.4-4ubuntu1) over (2:4.0.4-2ubuntu1) ... 3185s Preparing to unpack .../3-libglib2.0-data_2.79.3-3ubuntu3_all.deb ... 3185s Unpacking libglib2.0-data (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 3185s Selecting previously unselected package xdg-user-dirs. 3185s Preparing to unpack .../4-xdg-user-dirs_0.18-1_arm64.deb ... 3185s Unpacking xdg-user-dirs (0.18-1) ... 3185s Preparing to unpack .../5-pci.ids_0.0~2024.02.02-1_all.deb ... 3185s Unpacking pci.ids (0.0~2024.02.02-1) over (0.0~2023.11.11-1) ... 3186s Preparing to unpack .../6-initramfs-tools_0.142ubuntu20_all.deb ... 3186s Unpacking initramfs-tools (0.142ubuntu20) over (0.142ubuntu19) ... 3186s Preparing to unpack .../7-initramfs-tools-core_0.142ubuntu20_all.deb ... 3186s Unpacking initramfs-tools-core (0.142ubuntu20) over (0.142ubuntu19) ... 3186s Preparing to unpack .../8-initramfs-tools-bin_0.142ubuntu20_arm64.deb ... 3186s Unpacking initramfs-tools-bin (0.142ubuntu20) over (0.142ubuntu19) ... 3186s Preparing to unpack .../9-shim-signed_1.57+15.8-0ubuntu1_arm64.deb ... 3186s Unpacking shim-signed (1.57+15.8-0ubuntu1) over (1.56+15.7-0ubuntu1) ... 3187s Setting up pci.ids (0.0~2024.02.02-1) ... 3187s Setting up xdg-user-dirs (0.18-1) ... 3187s Setting up shim-signed (1.57+15.8-0ubuntu1) ... 3188s Installing grub to /boot/efi. 3188s Installing for arm64-efi platform. 3190s Installation finished. No error reported. 3190s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 3190s No schema files found: doing nothing. 3190s Setting up libglib2.0-data (2.79.3-3ubuntu3) ... 3190s Setting up libproc2-0:arm64 (2:4.0.4-4ubuntu1) ... 3190s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) ... 3190s Setting up procps (2:4.0.4-4ubuntu1) ... 3191s Setting up initramfs-tools-bin (0.142ubuntu20) ... 3191s Setting up python3-gi (3.47.0-3build1) ... 3193s Setting up initramfs-tools-core (0.142ubuntu20) ... 3193s Setting up initramfs-tools (0.142ubuntu20) ... 3193s update-initramfs: deferring update (trigger activated) 3193s Processing triggers for man-db (2.12.0-3) ... 3196s Processing triggers for libc-bin (2.39-0ubuntu2) ... 3197s Processing triggers for initramfs-tools (0.142ubuntu20) ... 3197s update-initramfs: Generating /boot/initrd.img-6.8.0-11-generic 3197s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 3273s System running in EFI mode, skipping. 3274s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3274s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3274s Reading package lists... 3275s Building dependency tree... 3275s Reading state information... 3278s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3279s sh: Attempting to set up Debian/Ubuntu apt sources automatically 3279s sh: Distribution appears to be Ubuntu 3288s Reading package lists... 3289s Building dependency tree... 3289s Reading state information... 3291s eatmydata is already the newest version (131-1). 3291s dbus is already the newest version (1.14.10-4ubuntu1). 3291s dbus set to manually installed. 3291s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3291s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3291s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3291s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3291s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3291s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3291s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3291s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3291s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3291s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3291s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3291s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3291s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3291s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3291s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3291s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3291s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3291s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3292s Reading package lists... 3292s Building dependency tree... 3292s Reading state information... 3294s rng-tools-debian is already the newest version (2.4). 3294s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3295s Reading package lists... 3295s Building dependency tree... 3295s Reading state information... 3297s haveged is already the newest version (1.9.14-1ubuntu1). 3297s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3300s Reading package lists... 3301s Building dependency tree... 3301s Reading state information... 3303s The following packages will be REMOVED: 3303s cloud-init* python3-configobj* python3-debconf* 3304s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 3304s After this operation, 3248 kB disk space will be freed. 3304s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75875 files and directories currently installed.) 3304s Removing cloud-init (24.1-0ubuntu1) ... 3319s Removing python3-configobj (5.0.8-3) ... 3320s Removing python3-debconf (1.5.86) ... 3320s Processing triggers for man-db (2.12.0-3) ... 3321s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75486 files and directories currently installed.) 3321s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 3324s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 3324s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 3326s Reading package lists... 3327s Building dependency tree... 3327s Reading state information... 3329s linux-generic is already the newest version (6.8.0-11.11+1). 3329s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3329s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 3329s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 3329s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 3330s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 3330s Hit:5 http://ftpmaster.internal/ubuntu noble-backports InRelease 3342s Reading package lists... 3342s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 3342s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 3342s Reading package lists... 3343s Building dependency tree... 3343s Reading state information... 3344s Calculating upgrade... 3345s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3346s Reading package lists... 3346s Building dependency tree... 3346s Reading state information... 3348s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3349s autopkgtest [17:25:58]: rebooting testbed after setup commands that affected boot 3514s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 3522s autopkgtest [17:28:51]: testbed dpkg architecture: arm64 3532s Reading package lists... 3533s Building dependency tree... 3533s Reading state information... 3534s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 3534s Starting 2 pkgProblemResolver with broken count: 0 3534s Done 3535s Done 3536s Starting pkgProblemResolver with broken count: 0 3536s Starting 2 pkgProblemResolver with broken count: 0 3536s Done 3538s The following additional packages will be installed: 3538s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 3538s libdrm-nouveau2 libdrm-radeon1 libelf1t64 libfontenc1 libgirepository-2.0-0 3538s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 3538s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm17 3538s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 3538s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 3538s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 3538s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 3538s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 3538s Suggested packages: 3538s libgdk-pixbuf2.0-bin libxml2-utils python3-pytest 3538s Recommended packages: 3538s libgl1-amber-dri xdg-desktop-portal mesa-vulkan-drivers | vulkan-icd 3538s xfonts-base 3538s The following packages will be REMOVED: 3538s libelf1 3538s The following NEW packages will be installed: 3538s dbus-x11 desktop-file-utils gnome-desktop-testing libdrm-amdgpu1 3538s libdrm-nouveau2 libdrm-radeon1 libelf1t64 libfontenc1 libgirepository-2.0-0 3538s libgl1 libgl1-mesa-dri libglapi-mesa libglib2.0-bin libglib2.0-dev-bin 3538s libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6 libllvm17 3538s libpixman-1-0 libsm6 libunwind8 libvulkan1 libx11-xcb1 libxaw7 libxcb-dri2-0 3538s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0 3538s libxcb-sync1 libxcb-xfixes0 libxfixes3 libxfont2 libxkbfile1 libxmu6 libxpm4 3538s libxrandr2 libxrender1 libxshmfence1 libxt6 libxxf86vm1 python3-dbusmock 3538s python3-packaging x11-common x11-xkb-utils xserver-common xvfb 3539s 0 upgraded, 50 newly installed, 1 to remove and 0 not upgraded. 3539s 1 not fully installed or removed. 3539s Need to get 38.8 MB of archives. 3539s After this operation, 194 MB of additional disk space will be used. 3539s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 dbus-x11 arm64 1.14.10-4ubuntu1 [23.2 kB] 3539s Get:2 http://ftpmaster.internal/ubuntu noble/universe arm64 gnome-desktop-testing arm64 2021.1-3 [15.7 kB] 3539s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 desktop-file-utils arm64 0.26-1ubuntu5 [53.5 kB] 3539s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libelf1t64 arm64 0.190-1.1 [57.9 kB] 3539s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-bin arm64 2.79.3-3ubuntu3 [97.1 kB] 3539s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 python3-packaging all 23.2-1 [40.6 kB] 3539s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libgirepository-2.0-0 arm64 2.79.3-3ubuntu3 [71.5 kB] 3539s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-dev-bin arm64 2.79.3-3ubuntu3 [215 kB] 3539s Get:9 http://ftpmaster.internal/ubuntu noble/universe arm64 python3-dbusmock all 0.31.1-1 [85.5 kB] 3539s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 libglib2.0-tests arm64 2.79.3-3ubuntu3 [2059 kB] 3540s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] 3540s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 libice6 arm64 2:1.0.10-1build2 [41.7 kB] 3540s Get:13 http://ftpmaster.internal/ubuntu noble/main arm64 libsm6 arm64 2:1.2.3-1build2 [16.1 kB] 3540s Get:14 http://ftpmaster.internal/ubuntu noble/main arm64 libxt6 arm64 1:1.2.1-1.1 [167 kB] 3540s Get:15 http://ftpmaster.internal/ubuntu noble/main arm64 libxmu6 arm64 2:1.1.3-3 [48.9 kB] 3540s Get:16 http://ftpmaster.internal/ubuntu noble/main arm64 libxpm4 arm64 1:3.5.17-1 [34.5 kB] 3540s Get:17 http://ftpmaster.internal/ubuntu noble/main arm64 libxaw7 arm64 2:1.0.14-1 [184 kB] 3540s Get:18 http://ftpmaster.internal/ubuntu noble/main arm64 libxkbfile1 arm64 1:1.1.0-1build3 [71.2 kB] 3540s Get:19 http://ftpmaster.internal/ubuntu noble/main arm64 libxrender1 arm64 1:0.9.10-1.1 [19.1 kB] 3540s Get:20 http://ftpmaster.internal/ubuntu noble/main arm64 libxrandr2 arm64 2:1.5.2-2 [19.6 kB] 3540s Get:21 http://ftpmaster.internal/ubuntu noble/main arm64 x11-xkb-utils arm64 7.7+8 [165 kB] 3540s Get:22 http://ftpmaster.internal/ubuntu noble/main arm64 xserver-common all 2:21.1.11-2ubuntu1 [32.6 kB] 3540s Get:23 http://ftpmaster.internal/ubuntu noble/main arm64 libglvnd0 arm64 1.7.0-1 [60.0 kB] 3540s Get:24 http://ftpmaster.internal/ubuntu noble/main arm64 libglapi-mesa arm64 24.0.1-1ubuntu1 [57.8 kB] 3540s Get:25 http://ftpmaster.internal/ubuntu noble/main arm64 libx11-xcb1 arm64 2:1.8.7-1 [7836 B] 3540s Get:26 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri2-0 arm64 1.15-1 [7244 B] 3540s Get:27 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-dri3-0 arm64 1.15-1 [7108 B] 3540s Get:28 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-glx0 arm64 1.15-1 [25.2 kB] 3540s Get:29 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-present0 arm64 1.15-1 [5732 B] 3540s Get:30 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-randr0 arm64 1.15-1 [18.2 kB] 3540s Get:31 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-shm0 arm64 1.15-1 [5780 B] 3540s Get:32 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-sync1 arm64 1.15-1 [9412 B] 3540s Get:33 http://ftpmaster.internal/ubuntu noble/main arm64 libxcb-xfixes0 arm64 1.15-1 [10.3 kB] 3540s Get:34 http://ftpmaster.internal/ubuntu noble/main arm64 libxfixes3 arm64 1:6.0.0-2 [11.0 kB] 3540s Get:35 http://ftpmaster.internal/ubuntu noble/main arm64 libxshmfence1 arm64 1.3-1build4 [5444 B] 3540s Get:36 http://ftpmaster.internal/ubuntu noble/main arm64 libxxf86vm1 arm64 1:1.1.4-1build3 [10.3 kB] 3540s Get:37 http://ftpmaster.internal/ubuntu noble/main arm64 libvulkan1 arm64 1.3.275.0-1 [150 kB] 3540s Get:38 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-amdgpu1 arm64 2.4.120-2 [20.4 kB] 3540s Get:39 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-nouveau2 arm64 2.4.120-2 [17.8 kB] 3540s Get:40 http://ftpmaster.internal/ubuntu noble/main arm64 libdrm-radeon1 arm64 2.4.120-2 [20.9 kB] 3540s Get:41 http://ftpmaster.internal/ubuntu noble/main arm64 libllvm17 arm64 1:17.0.6-5build1 [25.0 MB] 3543s Get:42 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1-mesa-dri arm64 24.0.1-1ubuntu1 [8226 kB] 3543s Get:43 http://ftpmaster.internal/ubuntu noble/main arm64 libglx-mesa0 arm64 24.0.1-1ubuntu1 [166 kB] 3543s Get:44 http://ftpmaster.internal/ubuntu noble/main arm64 libglx0 arm64 1.7.0-1 [32.4 kB] 3543s Get:45 http://ftpmaster.internal/ubuntu noble/main arm64 libgl1 arm64 1.7.0-1 [107 kB] 3543s Get:46 http://ftpmaster.internal/ubuntu noble/main arm64 libpixman-1-0 arm64 0.42.2-1 [193 kB] 3544s Get:47 http://ftpmaster.internal/ubuntu noble/main arm64 libunwind8 arm64 1.6.2-3 [55.1 kB] 3544s Get:48 http://ftpmaster.internal/ubuntu noble/main arm64 libfontenc1 arm64 1:1.1.4-1build3 [14.1 kB] 3544s Get:49 http://ftpmaster.internal/ubuntu noble/main arm64 libxfont2 arm64 1:2.0.6-1 [88.8 kB] 3544s Get:50 http://ftpmaster.internal/ubuntu noble/universe arm64 xvfb arm64 2:21.1.11-2ubuntu1 [871 kB] 3546s Fetched 38.8 MB in 5s (7756 kB/s) 3546s Selecting previously unselected package dbus-x11. 3546s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75431 files and directories currently installed.) 3546s Preparing to unpack .../dbus-x11_1.14.10-4ubuntu1_arm64.deb ... 3546s Unpacking dbus-x11 (1.14.10-4ubuntu1) ... 3546s Selecting previously unselected package gnome-desktop-testing. 3546s Preparing to unpack .../gnome-desktop-testing_2021.1-3_arm64.deb ... 3546s Unpacking gnome-desktop-testing (2021.1-3) ... 3546s Selecting previously unselected package desktop-file-utils. 3546s Preparing to unpack .../desktop-file-utils_0.26-1ubuntu5_arm64.deb ... 3546s Unpacking desktop-file-utils (0.26-1ubuntu5) ... 3546s dpkg: libelf1:arm64: dependency problems, but removing anyway as you requested: 3546s linux-headers-6.8.0-11-generic depends on libelf1 (>= 0.144). 3546s libbpf1:arm64 depends on libelf1 (>= 0.144). 3546s iproute2 depends on libelf1 (>= 0.131). 3546s 3547s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75469 files and directories currently installed.) 3547s Removing libelf1:arm64 (0.190-1) ... 3547s Selecting previously unselected package libelf1t64:arm64. 3547s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75464 files and directories currently installed.) 3547s Preparing to unpack .../00-libelf1t64_0.190-1.1_arm64.deb ... 3547s Unpacking libelf1t64:arm64 (0.190-1.1) ... 3547s Selecting previously unselected package libglib2.0-bin. 3547s Preparing to unpack .../01-libglib2.0-bin_2.79.3-3ubuntu3_arm64.deb ... 3547s Unpacking libglib2.0-bin (2.79.3-3ubuntu3) ... 3547s Selecting previously unselected package python3-packaging. 3547s Preparing to unpack .../02-python3-packaging_23.2-1_all.deb ... 3547s Unpacking python3-packaging (23.2-1) ... 3547s Selecting previously unselected package libgirepository-2.0-0:arm64. 3547s Preparing to unpack .../03-libgirepository-2.0-0_2.79.3-3ubuntu3_arm64.deb ... 3547s Unpacking libgirepository-2.0-0:arm64 (2.79.3-3ubuntu3) ... 3547s Selecting previously unselected package libglib2.0-dev-bin. 3547s Preparing to unpack .../04-libglib2.0-dev-bin_2.79.3-3ubuntu3_arm64.deb ... 3547s Unpacking libglib2.0-dev-bin (2.79.3-3ubuntu3) ... 3547s Selecting previously unselected package python3-dbusmock. 3547s Preparing to unpack .../05-python3-dbusmock_0.31.1-1_all.deb ... 3547s Unpacking python3-dbusmock (0.31.1-1) ... 3548s Selecting previously unselected package libglib2.0-tests. 3548s Preparing to unpack .../06-libglib2.0-tests_2.79.3-3ubuntu3_arm64.deb ... 3548s Unpacking libglib2.0-tests (2.79.3-3ubuntu3) ... 3549s Selecting previously unselected package x11-common. 3549s Preparing to unpack .../07-x11-common_1%3a7.7+23ubuntu2_all.deb ... 3549s Unpacking x11-common (1:7.7+23ubuntu2) ... 3549s Selecting previously unselected package libice6:arm64. 3549s Preparing to unpack .../08-libice6_2%3a1.0.10-1build2_arm64.deb ... 3549s Unpacking libice6:arm64 (2:1.0.10-1build2) ... 3549s Selecting previously unselected package libsm6:arm64. 3549s Preparing to unpack .../09-libsm6_2%3a1.2.3-1build2_arm64.deb ... 3549s Unpacking libsm6:arm64 (2:1.2.3-1build2) ... 3550s Selecting previously unselected package libxt6:arm64. 3550s Preparing to unpack .../10-libxt6_1%3a1.2.1-1.1_arm64.deb ... 3550s Unpacking libxt6:arm64 (1:1.2.1-1.1) ... 3550s Selecting previously unselected package libxmu6:arm64. 3550s Preparing to unpack .../11-libxmu6_2%3a1.1.3-3_arm64.deb ... 3550s Unpacking libxmu6:arm64 (2:1.1.3-3) ... 3550s Selecting previously unselected package libxpm4:arm64. 3550s Preparing to unpack .../12-libxpm4_1%3a3.5.17-1_arm64.deb ... 3550s Unpacking libxpm4:arm64 (1:3.5.17-1) ... 3550s Selecting previously unselected package libxaw7:arm64. 3550s Preparing to unpack .../13-libxaw7_2%3a1.0.14-1_arm64.deb ... 3550s Unpacking libxaw7:arm64 (2:1.0.14-1) ... 3550s Selecting previously unselected package libxkbfile1:arm64. 3550s Preparing to unpack .../14-libxkbfile1_1%3a1.1.0-1build3_arm64.deb ... 3550s Unpacking libxkbfile1:arm64 (1:1.1.0-1build3) ... 3550s Selecting previously unselected package libxrender1:arm64. 3550s Preparing to unpack .../15-libxrender1_1%3a0.9.10-1.1_arm64.deb ... 3550s Unpacking libxrender1:arm64 (1:0.9.10-1.1) ... 3550s Selecting previously unselected package libxrandr2:arm64. 3550s Preparing to unpack .../16-libxrandr2_2%3a1.5.2-2_arm64.deb ... 3550s Unpacking libxrandr2:arm64 (2:1.5.2-2) ... 3550s Selecting previously unselected package x11-xkb-utils. 3550s Preparing to unpack .../17-x11-xkb-utils_7.7+8_arm64.deb ... 3550s Unpacking x11-xkb-utils (7.7+8) ... 3550s Selecting previously unselected package xserver-common. 3550s Preparing to unpack .../18-xserver-common_2%3a21.1.11-2ubuntu1_all.deb ... 3550s Unpacking xserver-common (2:21.1.11-2ubuntu1) ... 3550s Selecting previously unselected package libglvnd0:arm64. 3550s Preparing to unpack .../19-libglvnd0_1.7.0-1_arm64.deb ... 3550s Unpacking libglvnd0:arm64 (1.7.0-1) ... 3551s Selecting previously unselected package libglapi-mesa:arm64. 3551s Preparing to unpack .../20-libglapi-mesa_24.0.1-1ubuntu1_arm64.deb ... 3551s Unpacking libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 3551s Selecting previously unselected package libx11-xcb1:arm64. 3551s Preparing to unpack .../21-libx11-xcb1_2%3a1.8.7-1_arm64.deb ... 3551s Unpacking libx11-xcb1:arm64 (2:1.8.7-1) ... 3551s Selecting previously unselected package libxcb-dri2-0:arm64. 3551s Preparing to unpack .../22-libxcb-dri2-0_1.15-1_arm64.deb ... 3551s Unpacking libxcb-dri2-0:arm64 (1.15-1) ... 3551s Selecting previously unselected package libxcb-dri3-0:arm64. 3551s Preparing to unpack .../23-libxcb-dri3-0_1.15-1_arm64.deb ... 3551s Unpacking libxcb-dri3-0:arm64 (1.15-1) ... 3551s Selecting previously unselected package libxcb-glx0:arm64. 3551s Preparing to unpack .../24-libxcb-glx0_1.15-1_arm64.deb ... 3551s Unpacking libxcb-glx0:arm64 (1.15-1) ... 3551s Selecting previously unselected package libxcb-present0:arm64. 3551s Preparing to unpack .../25-libxcb-present0_1.15-1_arm64.deb ... 3551s Unpacking libxcb-present0:arm64 (1.15-1) ... 3551s Selecting previously unselected package libxcb-randr0:arm64. 3551s Preparing to unpack .../26-libxcb-randr0_1.15-1_arm64.deb ... 3551s Unpacking libxcb-randr0:arm64 (1.15-1) ... 3551s Selecting previously unselected package libxcb-shm0:arm64. 3551s Preparing to unpack .../27-libxcb-shm0_1.15-1_arm64.deb ... 3551s Unpacking libxcb-shm0:arm64 (1.15-1) ... 3551s Selecting previously unselected package libxcb-sync1:arm64. 3551s Preparing to unpack .../28-libxcb-sync1_1.15-1_arm64.deb ... 3551s Unpacking libxcb-sync1:arm64 (1.15-1) ... 3552s Selecting previously unselected package libxcb-xfixes0:arm64. 3552s Preparing to unpack .../29-libxcb-xfixes0_1.15-1_arm64.deb ... 3552s Unpacking libxcb-xfixes0:arm64 (1.15-1) ... 3552s Selecting previously unselected package libxfixes3:arm64. 3552s Preparing to unpack .../30-libxfixes3_1%3a6.0.0-2_arm64.deb ... 3552s Unpacking libxfixes3:arm64 (1:6.0.0-2) ... 3552s Selecting previously unselected package libxshmfence1:arm64. 3552s Preparing to unpack .../31-libxshmfence1_1.3-1build4_arm64.deb ... 3552s Unpacking libxshmfence1:arm64 (1.3-1build4) ... 3552s Selecting previously unselected package libxxf86vm1:arm64. 3552s Preparing to unpack .../32-libxxf86vm1_1%3a1.1.4-1build3_arm64.deb ... 3552s Unpacking libxxf86vm1:arm64 (1:1.1.4-1build3) ... 3552s Selecting previously unselected package libvulkan1:arm64. 3552s Preparing to unpack .../33-libvulkan1_1.3.275.0-1_arm64.deb ... 3552s Unpacking libvulkan1:arm64 (1.3.275.0-1) ... 3552s Selecting previously unselected package libdrm-amdgpu1:arm64. 3552s Preparing to unpack .../34-libdrm-amdgpu1_2.4.120-2_arm64.deb ... 3552s Unpacking libdrm-amdgpu1:arm64 (2.4.120-2) ... 3552s Selecting previously unselected package libdrm-nouveau2:arm64. 3552s Preparing to unpack .../35-libdrm-nouveau2_2.4.120-2_arm64.deb ... 3552s Unpacking libdrm-nouveau2:arm64 (2.4.120-2) ... 3552s Selecting previously unselected package libdrm-radeon1:arm64. 3552s Preparing to unpack .../36-libdrm-radeon1_2.4.120-2_arm64.deb ... 3552s Unpacking libdrm-radeon1:arm64 (2.4.120-2) ... 3552s Selecting previously unselected package libllvm17:arm64. 3552s Preparing to unpack .../37-libllvm17_1%3a17.0.6-5build1_arm64.deb ... 3552s Unpacking libllvm17:arm64 (1:17.0.6-5build1) ... 3556s Selecting previously unselected package libgl1-mesa-dri:arm64. 3556s Preparing to unpack .../38-libgl1-mesa-dri_24.0.1-1ubuntu1_arm64.deb ... 3556s Unpacking libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 3558s Selecting previously unselected package libglx-mesa0:arm64. 3558s Preparing to unpack .../39-libglx-mesa0_24.0.1-1ubuntu1_arm64.deb ... 3558s Unpacking libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 3558s Selecting previously unselected package libglx0:arm64. 3558s Preparing to unpack .../40-libglx0_1.7.0-1_arm64.deb ... 3558s Unpacking libglx0:arm64 (1.7.0-1) ... 3558s Selecting previously unselected package libgl1:arm64. 3558s Preparing to unpack .../41-libgl1_1.7.0-1_arm64.deb ... 3558s Unpacking libgl1:arm64 (1.7.0-1) ... 3558s Selecting previously unselected package libpixman-1-0:arm64. 3558s Preparing to unpack .../42-libpixman-1-0_0.42.2-1_arm64.deb ... 3558s Unpacking libpixman-1-0:arm64 (0.42.2-1) ... 3558s Selecting previously unselected package libunwind8:arm64. 3558s Preparing to unpack .../43-libunwind8_1.6.2-3_arm64.deb ... 3558s Unpacking libunwind8:arm64 (1.6.2-3) ... 3558s Selecting previously unselected package libfontenc1:arm64. 3558s Preparing to unpack .../44-libfontenc1_1%3a1.1.4-1build3_arm64.deb ... 3558s Unpacking libfontenc1:arm64 (1:1.1.4-1build3) ... 3558s Selecting previously unselected package libxfont2:arm64. 3558s Preparing to unpack .../45-libxfont2_1%3a2.0.6-1_arm64.deb ... 3558s Unpacking libxfont2:arm64 (1:2.0.6-1) ... 3558s Selecting previously unselected package xvfb. 3558s Preparing to unpack .../46-xvfb_2%3a21.1.11-2ubuntu1_arm64.deb ... 3558s Unpacking xvfb (2:21.1.11-2ubuntu1) ... 3558s Setting up gnome-desktop-testing (2021.1-3) ... 3558s Setting up libxcb-dri3-0:arm64 (1.15-1) ... 3558s Setting up libpixman-1-0:arm64 (0.42.2-1) ... 3559s Setting up libx11-xcb1:arm64 (2:1.8.7-1) ... 3559s Setting up libdrm-nouveau2:arm64 (2.4.120-2) ... 3559s Setting up libxcb-xfixes0:arm64 (1.15-1) ... 3559s Setting up desktop-file-utils (0.26-1ubuntu5) ... 3559s Setting up libxpm4:arm64 (1:3.5.17-1) ... 3559s Setting up libxrender1:arm64 (1:0.9.10-1.1) ... 3559s Setting up libgirepository-2.0-0:arm64 (2.79.3-3ubuntu3) ... 3559s Setting up libdrm-radeon1:arm64 (2.4.120-2) ... 3559s Setting up libglvnd0:arm64 (1.7.0-1) ... 3559s Setting up libxcb-glx0:arm64 (1.15-1) ... 3559s Setting up x11-common (1:7.7+23ubuntu2) ... 3560s Setting up libxcb-shm0:arm64 (1.15-1) ... 3560s Setting up libunwind8:arm64 (1.6.2-3) ... 3560s Setting up libelf1t64:arm64 (0.190-1.1) ... 3560s Setting up libxxf86vm1:arm64 (1:1.1.4-1build3) ... 3560s Setting up libxcb-present0:arm64 (1.15-1) ... 3560s Setting up libfontenc1:arm64 (1:1.1.4-1build3) ... 3560s Setting up python3-packaging (23.2-1) ... 3561s Setting up libxfixes3:arm64 (1:6.0.0-2) ... 3561s Setting up libxcb-sync1:arm64 (1.15-1) ... 3561s Setting up libxrandr2:arm64 (2:1.5.2-2) ... 3561s Setting up libglapi-mesa:arm64 (24.0.1-1ubuntu1) ... 3561s Setting up libvulkan1:arm64 (1.3.275.0-1) ... 3561s Setting up libxcb-dri2-0:arm64 (1.15-1) ... 3561s Setting up libxshmfence1:arm64 (1.3-1build4) ... 3561s Setting up dbus-x11 (1.14.10-4ubuntu1) ... 3561s Setting up libxcb-randr0:arm64 (1.15-1) ... 3561s Setting up libxkbfile1:arm64 (1:1.1.0-1build3) ... 3561s Setting up libllvm17:arm64 (1:17.0.6-5build1) ... 3561s Setting up libxfont2:arm64 (1:2.0.6-1) ... 3561s Setting up libdrm-amdgpu1:arm64 (2.4.120-2) ... 3561s Setting up libglib2.0-dev-bin (2.79.3-3ubuntu3) ... 3562s Setting up libice6:arm64 (2:1.0.10-1build2) ... 3562s Setting up libgl1-mesa-dri:arm64 (24.0.1-1ubuntu1) ... 3562s Setting up libglib2.0-bin (2.79.3-3ubuntu3) ... 3562s Setting up python3-dbusmock (0.31.1-1) ... 3563s Setting up libglib2.0-tests (2.79.3-3ubuntu3) ... 3563s Setting up libsm6:arm64 (2:1.2.3-1build2) ... 3563s Setting up libglx-mesa0:arm64 (24.0.1-1ubuntu1) ... 3563s Setting up libglx0:arm64 (1.7.0-1) ... 3563s Setting up libgl1:arm64 (1.7.0-1) ... 3563s Setting up libxt6:arm64 (1:1.2.1-1.1) ... 3563s Setting up libxmu6:arm64 (2:1.1.3-3) ... 3563s Setting up libxaw7:arm64 (2:1.0.14-1) ... 3563s Setting up x11-xkb-utils (7.7+8) ... 3563s Setting up xserver-common (2:21.1.11-2ubuntu1) ... 3563s Setting up xvfb (2:21.1.11-2ubuntu1) ... 3563s Setting up autopkgtest-satdep (0) ... 3563s Processing triggers for man-db (2.12.0-3) ... 3565s Processing triggers for libc-bin (2.39-0ubuntu2) ... 3576s (Reading database ... 76919 files and directories currently installed.) 3576s Removing autopkgtest-satdep (0) ... 3586s autopkgtest [17:29:55]: test installed-tests: [----------------------- 3586s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),104(lxd) 3586s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 3586s group entry: ubuntu:x:1000: 3586s Environment: 3586s ADTTMP=/tmp/autopkgtest.EAVBVb/autopkgtest_tmp 3586s ADT_ARTIFACTS=/tmp/autopkgtest.EAVBVb/installed-tests-artifacts 3586s ADT_TEST_TRIGGERS=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1 3586s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.EAVBVb/installed-tests-artifacts 3586s AUTOPKGTEST_TMP=/tmp/autopkgtest.EAVBVb/autopkgtest_tmp 3586s DEBIAN_FRONTEND=noninteractive 3586s DEB_BUILD_OPTIONS=parallel=1 3586s GIO_USE_VFS=local 3586s GIO_USE_VOLUME_MONITOR=unix 3586s HOME=/home/ubuntu 3586s LANG=C.UTF-8 3586s LOGNAME=ubuntu 3586s MAIL=/var/mail/ubuntu 3586s OLDPWD=/home/ubuntu 3586s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 3586s PWD=/tmp/autopkgtest.EAVBVb/build.opb/src 3586s SHELL=/bin/bash 3586s SHLVL=2 3586s 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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout); 3586s SUDO_GID=1000 3586s SUDO_UID=1000 3586s SUDO_USER=ubuntu 3586s TERM=linux 3586s USER=ubuntu 3586s XDG_RUNTIME_DIR=/tmp/autopkgtest.EAVBVb/autopkgtest_tmp 3586s _=/tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 3586s http_proxy=http://squid.internal:3128 3586s https_proxy=http://squid.internal:3128 3586s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com 3586s run-with-locales: de_DE=ISO-8859-1... 3586s Character set: ISO-8859-1 3586s Source file: de_DE 3586s Output: /tmp/tmp.sWTsAJmEzv/de_DE 3588s run-with-locales: de_DE.utf8... 3588s Character set: UTF-8 3588s Source file: de_DE 3588s Output: /tmp/tmp.sWTsAJmEzv/de_DE.utf8 3600s run-with-locales: de_DE@euro.utf8... 3600s Character set: UTF-8 3600s Source file: de_DE@euro 3600s Output: /tmp/tmp.sWTsAJmEzv/de_DE@euro.utf8 3610s run-with-locales: el_GR.utf8... 3610s Character set: UTF-8 3610s Source file: el_GR 3610s Output: /tmp/tmp.sWTsAJmEzv/el_GR.utf8 3621s run-with-locales: en_GB=ISO-8859-1... 3621s Character set: ISO-8859-1 3621s Source file: en_GB 3621s Output: /tmp/tmp.sWTsAJmEzv/en_GB 3622s run-with-locales: en_GB.utf8... 3622s Character set: UTF-8 3622s Source file: en_GB 3622s Output: /tmp/tmp.sWTsAJmEzv/en_GB.utf8 3633s run-with-locales: en_US=ISO-8859-1... 3633s Character set: ISO-8859-1 3633s Source file: en_US 3633s Output: /tmp/tmp.sWTsAJmEzv/en_US 3634s run-with-locales: en_US.utf8... 3634s Character set: UTF-8 3634s Source file: en_US 3634s Output: /tmp/tmp.sWTsAJmEzv/en_US.utf8 3644s run-with-locales: es_ES.utf8... 3644s Character set: UTF-8 3644s Source file: es_ES 3644s Output: /tmp/tmp.sWTsAJmEzv/es_ES.utf8 3653s run-with-locales: fa_IR=UTF-8... 3653s Character set: UTF-8 3653s Source file: fa_IR 3653s Output: /tmp/tmp.sWTsAJmEzv/fa_IR 3663s run-with-locales: fa_IR.utf8... 3663s Character set: UTF-8 3663s Source file: fa_IR 3663s Output: /tmp/tmp.sWTsAJmEzv/fa_IR.utf8 3672s run-with-locales: fr_FR.utf8... 3672s Character set: UTF-8 3672s Source file: fr_FR 3672s Output: /tmp/tmp.sWTsAJmEzv/fr_FR.utf8 3682s run-with-locales: hr_HR.utf8... 3682s Character set: UTF-8 3682s Source file: hr_HR 3682s Output: /tmp/tmp.sWTsAJmEzv/hr_HR.utf8 3691s run-with-locales: ja_JP.utf8... 3691s Character set: UTF-8 3691s Source file: ja_JP 3691s Output: /tmp/tmp.sWTsAJmEzv/ja_JP.utf8 3695s run-with-locales: ja_JP.EUC-JP... 3695s Character set: EUC-JP 3695s Source file: ja_JP 3695s Output: /tmp/tmp.sWTsAJmEzv/ja_JP.eucjp 3697s run-with-locales: lt_LT.utf8... 3697s Character set: UTF-8 3697s Source file: lt_LT 3697s Output: /tmp/tmp.sWTsAJmEzv/lt_LT.utf8 3706s run-with-locales: pl_PL=ISO-8859-2... 3706s Character set: ISO-8859-2 3706s Source file: pl_PL 3706s Output: /tmp/tmp.sWTsAJmEzv/pl_PL 3708s run-with-locales: pl_PL.ISO-8859-2... 3708s Character set: ISO-8859-2 3708s Source file: pl_PL 3708s Output: /tmp/tmp.sWTsAJmEzv/pl_PL.iso88592 3709s run-with-locales: pl_PL.utf8... 3709s Character set: UTF-8 3709s Source file: pl_PL 3709s Output: /tmp/tmp.sWTsAJmEzv/pl_PL.utf8 3718s run-with-locales: ru_RU=ISO-8859-5... 3718s Character set: ISO-8859-5 3718s Source file: ru_RU 3718s Output: /tmp/tmp.sWTsAJmEzv/ru_RU 3720s run-with-locales: ru_RU.utf8... 3720s Character set: UTF-8 3720s Source file: ru_RU 3720s Output: /tmp/tmp.sWTsAJmEzv/ru_RU.utf8 3729s run-with-locales: sr_RS=UTF-8... 3729s Character set: UTF-8 3729s Source file: sr_RS 3729s Output: /tmp/tmp.sWTsAJmEzv/sr_RS 3738s run-with-locales: sr_RS@latin=UTF-8... 3738s Character set: UTF-8 3738s Source file: sr_RS@latin 3738s Output: /tmp/tmp.sWTsAJmEzv/sr_RS@latin 3748s run-with-locales: sv_SE=ISO-8859-1... 3748s Character set: ISO-8859-1 3748s Source file: sv_SE 3748s Output: /tmp/tmp.sWTsAJmEzv/sv_SE 3749s run-with-locales: sv_SE.utf8... 3749s Character set: UTF-8 3749s Source file: sv_SE 3749s Output: /tmp/tmp.sWTsAJmEzv/sv_SE.utf8 3758s run-with-locales: tr_TR=ISO-8859-9... 3758s Character set: ISO-8859-9 3758s Source file: tr_TR 3758s Output: /tmp/tmp.sWTsAJmEzv/tr_TR 3760s run-with-locales: tr_TR.utf8... 3760s Character set: UTF-8 3760s Source file: tr_TR 3760s Output: /tmp/tmp.sWTsAJmEzv/tr_TR.utf8 3769s run-with-locales: tt_RU=UTF-8... 3769s Character set: UTF-8 3769s Source file: tt_RU 3769s Output: /tmp/tmp.sWTsAJmEzv/tt_RU 3778s run-with-locales: tt_RU.utf8... 3778s Character set: UTF-8 3778s Source file: tt_RU 3778s Output: /tmp/tmp.sWTsAJmEzv/tt_RU.utf8 3788s run-with-locales: tt_RU@iqtelif=UTF-8... 3788s Character set: UTF-8 3788s Source file: tt_RU@iqtelif 3788s Output: /tmp/tmp.sWTsAJmEzv/tt_RU@iqtelif 3797s /tmp/tmp.sWTsAJmEzv 3797s /tmp/tmp.sWTsAJmEzv/ru_RU.utf8 3797s /tmp/tmp.sWTsAJmEzv/ru_RU.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/ru_RU.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/ru_RU.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/ru_RU.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/ru_RU.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/ru_RU.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/ru_RU.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/ru_RU.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/ru_RU.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/ru_RU.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/ru_RU.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/ru_RU.utf8/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/el_GR.utf8 3797s /tmp/tmp.sWTsAJmEzv/el_GR.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/el_GR.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/el_GR.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/el_GR.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/el_GR.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/el_GR.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/el_GR.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/el_GR.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/el_GR.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/el_GR.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/el_GR.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/el_GR.utf8/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/sv_SE 3797s /tmp/tmp.sWTsAJmEzv/sv_SE/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/sv_SE/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/sv_SE/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/sv_SE/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/sv_SE/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/sv_SE/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/sv_SE/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/sv_SE/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/sv_SE/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/sv_SE/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/sv_SE/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/sv_SE/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.utf8 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.utf8/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/sv_SE.utf8 3797s /tmp/tmp.sWTsAJmEzv/sv_SE.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/sv_SE.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/sv_SE.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/sv_SE.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/sv_SE.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/sv_SE.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/sv_SE.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/sv_SE.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/sv_SE.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/sv_SE.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/sv_SE.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/sv_SE.utf8/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/tt_RU.utf8 3797s /tmp/tmp.sWTsAJmEzv/tt_RU.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/tt_RU.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/tt_RU.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/tt_RU.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/tt_RU.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/tt_RU.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/tt_RU.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/tt_RU.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/tt_RU.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/tt_RU.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/tt_RU.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/tt_RU.utf8/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/sr_RS@latin 3797s /tmp/tmp.sWTsAJmEzv/sr_RS@latin/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/sr_RS@latin/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/sr_RS@latin/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/sr_RS@latin/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/sr_RS@latin/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/sr_RS@latin/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/sr_RS@latin/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/sr_RS@latin/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/sr_RS@latin/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/sr_RS@latin/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/sr_RS@latin/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/sr_RS@latin/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/de_DE 3797s /tmp/tmp.sWTsAJmEzv/de_DE/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/de_DE/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/de_DE/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/de_DE/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/de_DE/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/de_DE/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/de_DE/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/de_DE/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/de_DE/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/de_DE/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/de_DE/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/de_DE/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/lt_LT.utf8 3797s /tmp/tmp.sWTsAJmEzv/lt_LT.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/lt_LT.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/lt_LT.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/lt_LT.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/lt_LT.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/lt_LT.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/lt_LT.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/lt_LT.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/lt_LT.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/lt_LT.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/lt_LT.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/lt_LT.utf8/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/de_DE@euro.utf8 3797s /tmp/tmp.sWTsAJmEzv/de_DE@euro.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/de_DE@euro.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/de_DE@euro.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/de_DE@euro.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/de_DE@euro.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/de_DE@euro.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/de_DE@euro.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/de_DE@euro.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/de_DE@euro.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/de_DE@euro.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/de_DE@euro.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/de_DE@euro.utf8/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/pl_PL 3797s /tmp/tmp.sWTsAJmEzv/pl_PL/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/pl_PL/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/pl_PL/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/pl_PL/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/pl_PL/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/pl_PL/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/pl_PL/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/pl_PL/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/pl_PL/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/pl_PL/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/pl_PL/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/pl_PL/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/es_ES.utf8 3797s /tmp/tmp.sWTsAJmEzv/es_ES.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/es_ES.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/es_ES.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/es_ES.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/es_ES.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/es_ES.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/es_ES.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/es_ES.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/es_ES.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/es_ES.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/es_ES.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/es_ES.utf8/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/fr_FR.utf8 3797s /tmp/tmp.sWTsAJmEzv/fr_FR.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/fr_FR.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/fr_FR.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/fr_FR.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/fr_FR.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/fr_FR.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/fr_FR.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/fr_FR.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/fr_FR.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/fr_FR.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/fr_FR.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/fr_FR.utf8/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/fa_IR 3797s /tmp/tmp.sWTsAJmEzv/fa_IR/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/fa_IR/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/fa_IR/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/fa_IR/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/fa_IR/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/fa_IR/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/fa_IR/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/fa_IR/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/fa_IR/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/fa_IR/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/fa_IR/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/fa_IR/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/tr_TR 3797s /tmp/tmp.sWTsAJmEzv/tr_TR/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/tr_TR/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/tr_TR/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/tr_TR/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/tr_TR/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/tr_TR/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/tr_TR/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/tr_TR/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/tr_TR/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/tr_TR/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/tr_TR/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/tr_TR/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/en_US.utf8 3797s /tmp/tmp.sWTsAJmEzv/en_US.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/en_US.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/en_US.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/en_US.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/en_US.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/en_US.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/en_US.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/en_US.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/en_US.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/en_US.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/en_US.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/en_US.utf8/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.iso88592 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.iso88592/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.iso88592/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.iso88592/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.iso88592/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.iso88592/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.iso88592/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.iso88592/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.iso88592/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.iso88592/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.iso88592/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.iso88592/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.iso88592/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/hr_HR.utf8 3797s /tmp/tmp.sWTsAJmEzv/hr_HR.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/hr_HR.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/hr_HR.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/hr_HR.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/hr_HR.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/hr_HR.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/hr_HR.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/hr_HR.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/hr_HR.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/hr_HR.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/hr_HR.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/hr_HR.utf8/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/ru_RU 3797s /tmp/tmp.sWTsAJmEzv/ru_RU/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/ru_RU/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/ru_RU/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/ru_RU/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/ru_RU/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/ru_RU/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/ru_RU/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/ru_RU/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/ru_RU/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/ru_RU/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/ru_RU/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/ru_RU/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/tt_RU 3797s /tmp/tmp.sWTsAJmEzv/tt_RU/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/tt_RU/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/tt_RU/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/tt_RU/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/tt_RU/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/tt_RU/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/tt_RU/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/tt_RU/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/tt_RU/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/tt_RU/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/tt_RU/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/tt_RU/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.utf8 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/pl_PL.utf8/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/fa_IR.utf8 3797s /tmp/tmp.sWTsAJmEzv/fa_IR.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/fa_IR.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/fa_IR.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/fa_IR.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/fa_IR.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/fa_IR.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/fa_IR.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/fa_IR.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/fa_IR.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/fa_IR.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/fa_IR.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/fa_IR.utf8/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/sr_RS 3797s /tmp/tmp.sWTsAJmEzv/sr_RS/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/sr_RS/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/sr_RS/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/sr_RS/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/sr_RS/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/sr_RS/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/sr_RS/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/sr_RS/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/sr_RS/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/sr_RS/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/sr_RS/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/sr_RS/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/en_GB 3797s /tmp/tmp.sWTsAJmEzv/en_GB/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/en_GB/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/en_GB/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/en_GB/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/en_GB/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/en_GB/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/en_GB/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/en_GB/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/en_GB/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/en_GB/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/en_GB/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/en_GB/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.eucjp 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.eucjp/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.eucjp/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.eucjp/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.eucjp/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.eucjp/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.eucjp/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.eucjp/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.eucjp/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.eucjp/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.eucjp/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.eucjp/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/ja_JP.eucjp/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/en_GB.utf8 3797s /tmp/tmp.sWTsAJmEzv/en_GB.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/en_GB.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/en_GB.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/en_GB.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/en_GB.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/en_GB.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/en_GB.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/en_GB.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/en_GB.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/en_GB.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/en_GB.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/en_GB.utf8/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/tt_RU@iqtelif 3797s /tmp/tmp.sWTsAJmEzv/tt_RU@iqtelif/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/tt_RU@iqtelif/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/tt_RU@iqtelif/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/tt_RU@iqtelif/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/tt_RU@iqtelif/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/tt_RU@iqtelif/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/tt_RU@iqtelif/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/tt_RU@iqtelif/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/tt_RU@iqtelif/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/tt_RU@iqtelif/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/tt_RU@iqtelif/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/tt_RU@iqtelif/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/en_US 3797s /tmp/tmp.sWTsAJmEzv/en_US/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/en_US/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/en_US/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/en_US/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/en_US/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/en_US/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/en_US/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/en_US/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/en_US/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/en_US/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/en_US/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/en_US/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/en_US/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/de_DE.utf8 3797s /tmp/tmp.sWTsAJmEzv/de_DE.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/de_DE.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/de_DE.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/de_DE.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/de_DE.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/de_DE.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/de_DE.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/de_DE.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/de_DE.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/de_DE.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/de_DE.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/de_DE.utf8/LC_ADDRESS 3797s /tmp/tmp.sWTsAJmEzv/tr_TR.utf8 3797s /tmp/tmp.sWTsAJmEzv/tr_TR.utf8/LC_NAME 3797s /tmp/tmp.sWTsAJmEzv/tr_TR.utf8/LC_IDENTIFICATION 3797s /tmp/tmp.sWTsAJmEzv/tr_TR.utf8/LC_CTYPE 3797s /tmp/tmp.sWTsAJmEzv/tr_TR.utf8/LC_PAPER 3797s /tmp/tmp.sWTsAJmEzv/tr_TR.utf8/LC_COLLATE 3797s /tmp/tmp.sWTsAJmEzv/tr_TR.utf8/LC_TIME 3797s /tmp/tmp.sWTsAJmEzv/tr_TR.utf8/LC_MEASUREMENT 3797s /tmp/tmp.sWTsAJmEzv/tr_TR.utf8/LC_NUMERIC 3797s /tmp/tmp.sWTsAJmEzv/tr_TR.utf8/LC_TELEPHONE 3797s /tmp/tmp.sWTsAJmEzv/tr_TR.utf8/LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 3797s /tmp/tmp.sWTsAJmEzv/tr_TR.utf8/LC_MONETARY 3797s /tmp/tmp.sWTsAJmEzv/tr_TR.utf8/LC_ADDRESS 3797s 1..316 3797s # Running test: glib/actions.test 3797s TAP version 13 3797s # random seed: R02S8c4fd4b1f82305922609fc8774ac7d97 3797s 1..12 3797s # Start of actions tests 3797s ok 1 /actions/basic 3797s ok 2 /actions/name 3797s ok 3 /actions/simplegroup 3797s ok 4 /actions/stateful 3797s ok 5 /actions/default-activate 3797s ok 6 /actions/entries 3797s ok 7 /actions/parse-detailed 3797s ok 8 /actions/property 3797s ok 9 /actions/no-properties 3797s # Start of dbus tests 3797s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3797s ok 10 /actions/dbus/export 3797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3797s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3797s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3797s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3801s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3801s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3801s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3801s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3801s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3801s ok 11 /actions/dbus/threaded 3801s # slow test /actions/dbus/threaded executed in 4.19 secs 3801s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3801s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3801s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3801s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3801s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3801s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3801s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3801s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3801s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3801s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3801s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3801s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3801s ok 12 /actions/dbus/bug679509 3801s # End of dbus tests 3801s # End of actions tests 3801s ok - glib/actions.test 3801s # Running test: glib/registered-type-info.test 3801s TAP version 13 3801s # random seed: R02S2faebdfbd9a383e4813c1fc312f21195 3801s 1..1 3801s # Start of registered-type-info tests 3801s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_GID6J2/registered-type-info/boxed/.dirs/home 3801s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_GID6J2/registered-type-info/boxed/.dirs/cache 3801s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_GID6J2/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_GID6J2/registered-type-info/boxed/.dirs/system-config2 3801s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_GID6J2/registered-type-info/boxed/.dirs/config 3801s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_GID6J2/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_GID6J2/registered-type-info/boxed/.dirs/system-data2 3801s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_GID6J2/registered-type-info/boxed/.dirs/data 3801s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_GID6J2/registered-type-info/boxed/.dirs/state 3801s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_GID6J2/registered-type-info/boxed/.dirs/runtime 3801s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 3801s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 3801s # Expecting CClosure to not be boxed 3801s # Expecting TypeCValue to not be boxed 3801s # Expecting InitiallyUnownedClass to not be boxed 3801s # Expecting BookmarkFile to be boxed 3801s # Expecting Closure to be boxed 3801s # Expecting Object to not be boxed 3801s ok 1 /registered-type-info/boxed 3801s # End of registered-type-info tests 3801s ok - glib/registered-type-info.test 3801s # Running test: glib/gutils-user-database.test 3801s TAP version 13 3801s # random seed: R02S8ac8734ef5f5b71d1633927b66026bee 3801s 1..1 3801s # Start of gutils tests 3801s ok 1 /gutils/get_user_database_entry 3801s # End of gutils tests 3801s ok - glib/gutils-user-database.test 3801s # Running test: glib/protocol.test 3801s TAP version 13 3801s # random seed: R02S8819e9ef178ed855070a7f3ca9e1acd1 3801s 1..9 3801s # Start of glib tests 3801s # Start of testing tests 3801s # Start of protocol tests 3801s ok 1 /glib/testing/protocol/debug 3801s ok 2 /glib/testing/protocol/info 3801s ok 3 /glib/testing/protocol/message 3801s ok 4 /glib/testing/protocol/warning 3801s ok 5 /glib/testing/protocol/critical 3801s ok 6 /glib/testing/protocol/error 3801s ok 7 /glib/testing/protocol/gtest-message 3801s ok 8 /glib/testing/protocol/test-message 3801s ok 9 /glib/testing/protocol/test-error 3801s # End of protocol tests 3801s # End of testing tests 3801s # End of glib tests 3801s ok - glib/protocol.test 3801s # Running test: glib/objects-refcount1.test 3801s TAP version 13 3801s # random seed: R02S67379558cf4db45103035a81b19f0ef1 3801s 1..1 3801s # Start of gobject tests 3801s # Start of refcount tests 3801s # init 0xacb369d1d740 3801s # 3801s # init 0xacb369d1d8d0 3801s # 3802s # Executing: glib/objects-refcount1.test 3806s # dispose 0xacb369d1d740! 3806s # 3806s # dispose 0xacb369d1d8d0! 3806s # 3806s ok 1 /gobject/refcount/object-basics 3806s # slow test /gobject/refcount/object-basics executed in 5.01 secs 3806s # End of refcount tests 3806s # End of gobject tests 3806s ok - glib/objects-refcount1.test 3806s # Running test: glib/onceinit.test 3806s TAP version 13 3806s # random seed: R02S7dfe38b531231f98983482e7c91a1634 3806s 1..1 3806s # Start of thread tests 3806s ok 1 /thread/onceinit 3806s # End of thread tests 3806s ok - glib/onceinit.test 3807s # Running test: glib/utils-c-90.test 3807s TAP version 13 3807s # random seed: R02Sf9755f8ec468237b6e75087c8d8a4bfc 3807s 1..40 3807s # Start of utils tests 3807s ok 1 /utils/language-names 3807s ok 2 /utils/locale-variants 3807s ok 3 /utils/version 3807s ok 4 /utils/appname 3807s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 3807s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 3807s ok 5 /utils/prgname-thread-safety 3807s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 3807s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 3807s ok 6 /utils/tmpdir 3807s ok 7 /utils/basic_bits 3807s ok 8 /utils/bits 3807s ok 9 /utils/swap 3807s ok 10 /utils/find-program 3807s ok 11 /utils/find-program-for-path 3807s ok 12 /utils/debug 3807s ok 13 /utils/codeset 3807s ok 14 /utils/codeset2 3807s ok 15 /utils/console-charset 3807s ok 16 /utils/gettext 3807s ok 17 /utils/username 3807s ok 18 /utils/realname 3807s ok 19 /utils/hostname 3807s ok 20 /utils/xdgdirs 3807s ok 21 /utils/specialdir 3807s # NAME: Ubuntu 3807s ok 22 /utils/os-info 3807s ok 23 /utils/clear-pointer 3807s ok 24 /utils/clear-pointer-cast 3807s ok 25 /utils/take-pointer 3807s ok 26 /utils/clear-source 3807s ok 27 /utils/misc-mem 3807s # /utils/aligned-mem summary: Aligned memory allocator 3807s # Alignment must not be zero 3807s # Alignment must be a power of two 3807s # Alignment must be a multiple of sizeof(void*) 3807s ok 28 /utils/aligned-mem 3807s # /utils/free-sized summary: Check that g_free_sized() works 3807s ok 29 /utils/free-sized 3807s ok 30 /utils/nullify 3807s ok 31 /utils/atexit 3807s ok 32 /utils/check-setuid 3807s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 3807s ok 33 /utils/int-limits 3807s ok 34 /utils/clear-list 3807s ok 35 /utils/clear-slist 3807s # Start of specialdir tests 3807s ok 36 /utils/specialdir/desktop 3807s # End of specialdir tests 3807s # Start of clear-pointer tests 3807s ok 37 /utils/clear-pointer/side-effects 3807s # End of clear-pointer tests 3807s # Start of aligned-mem tests 3807s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 3807s ok 38 /utils/aligned-mem/alignment 3807s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 3807s ok 39 /utils/aligned-mem/zeroed 3807s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 3807s ok 40 /utils/aligned-mem/free-sized 3807s # Start of subprocess tests 3807s # End of subprocess tests 3807s # End of aligned-mem tests 3807s # End of utils tests 3807s ok - glib/utils-c-90.test 3807s # Running test: glib/unix-fd.test 3807s TAP version 13 3807s # random seed: R02Sc93eae5d899dd9312112953321215096 3807s 1..2 3807s # Start of unix-fd tests 3807s ok 1 /unix-fd/fd-list 3807s ok 2 /unix-fd/scm 3807s # End of unix-fd tests 3807s ok - glib/unix-fd.test 3807s # Running test: glib/giomodule.test 3807s TAP version 13 3807s # random seed: R02Scba681eb537e2a3f7654f9bdd550cdbb 3807s 1..3 3807s # Start of giomodule tests 3807s ok 1 /giomodule/extension-point 3807s ok 2 /giomodule/module-scan-all 3807s ok 3 /giomodule/module-scan-all-with-scope 3807s # End of giomodule tests 3807s ok - glib/giomodule.test 3807s # Running test: glib/gdbus-peer.test 3807s TAP version 13 3807s # random seed: R02S2b539503cc92dd10850b5e56a736d55b 3807s 1..12 3807s # Start of gdbus tests 3807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/.dirs/home 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/.dirs/cache 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/.dirs/system-config2 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/.dirs/config 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/.dirs/system-data2 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/.dirs/data 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/.dirs/state 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/.dirs/runtime 3807s # Testing with unix:dir address 3807s # Testing with unix:tmpdir address 3807s # Testing with unix:path address 3807s ok 1 /gdbus/peer-to-peer 3807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/delayed-message-processing/.dirs/home 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/delayed-message-processing/.dirs/cache 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_AIT9J2/gdbus/delayed-message-processing/.dirs/system-config2 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/delayed-message-processing/.dirs/config 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_AIT9J2/gdbus/delayed-message-processing/.dirs/system-data2 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/delayed-message-processing/.dirs/data 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/delayed-message-processing/.dirs/state 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIT9J2/gdbus/delayed-message-processing/.dirs/runtime 3807s # Testing with unix:dir address 3807s # Executing: glib/gdbus-peer.test 3807s ok 2 /gdbus/delayed-message-processing 3807s # slow test /gdbus/delayed-message-processing executed in 0.52 secs 3807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/nonce-tcp/.dirs/home 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/nonce-tcp/.dirs/cache 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_AIT9J2/gdbus/nonce-tcp/.dirs/system-config2 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/nonce-tcp/.dirs/config 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_AIT9J2/gdbus/nonce-tcp/.dirs/system-data2 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/nonce-tcp/.dirs/data 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/nonce-tcp/.dirs/state 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIT9J2/gdbus/nonce-tcp/.dirs/runtime 3807s ok 3 /gdbus/nonce-tcp 3807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/tcp-anonymous/.dirs/home 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/tcp-anonymous/.dirs/cache 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_AIT9J2/gdbus/tcp-anonymous/.dirs/system-config2 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/tcp-anonymous/.dirs/config 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_AIT9J2/gdbus/tcp-anonymous/.dirs/system-data2 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/tcp-anonymous/.dirs/data 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/tcp-anonymous/.dirs/state 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIT9J2/gdbus/tcp-anonymous/.dirs/runtime 3807s ok 4 /gdbus/tcp-anonymous 3807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/credentials/.dirs/home 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/credentials/.dirs/cache 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_AIT9J2/gdbus/credentials/.dirs/system-config2 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/credentials/.dirs/config 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_AIT9J2/gdbus/credentials/.dirs/system-data2 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/credentials/.dirs/data 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/credentials/.dirs/state 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIT9J2/gdbus/credentials/.dirs/runtime 3807s ok 5 /gdbus/credentials 3807s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/codegen-peer-to-peer/.dirs/home 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/codegen-peer-to-peer/.dirs/cache 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_AIT9J2/gdbus/codegen-peer-to-peer/.dirs/system-config2 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/codegen-peer-to-peer/.dirs/config 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_AIT9J2/gdbus/codegen-peer-to-peer/.dirs/system-data2 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/codegen-peer-to-peer/.dirs/data 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/codegen-peer-to-peer/.dirs/state 3807s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIT9J2/gdbus/codegen-peer-to-peer/.dirs/runtime 3807s # Testing with unix:dir address 3807s # Machine ID: 2413cb6cb3de4abba5099d35bf4c313f 3808s ok 6 /gdbus/codegen-peer-to-peer 3808s # slow test /gdbus/codegen-peer-to-peer executed in 1.12 secs 3808s # Start of peer-to-peer tests 3808s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/signals/.dirs/home 3808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/signals/.dirs/cache 3808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/signals/.dirs/system-config2 3808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/signals/.dirs/config 3808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/signals/.dirs/system-data2 3808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/signals/.dirs/data 3808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/signals/.dirs/state 3808s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/signals/.dirs/runtime 3808s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 3808s # Testing with unix:dir address 3808s ok 7 /gdbus/peer-to-peer/signals 3809s # Start of invalid tests 3809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/server/.dirs/home 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/server/.dirs/cache 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/server/.dirs/config 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/server/.dirs/data 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/server/.dirs/state 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/server/.dirs/runtime 3809s ok 8 /gdbus/peer-to-peer/invalid/server 3809s # Start of conn tests 3809s # Start of stream tests 3809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 3809s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 3809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 3809s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 3809s # End of stream tests 3809s # Start of addr tests 3809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 3809s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 3809s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 3809s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_AIT9J2/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 3809s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 3809s # End of addr tests 3809s # End of conn tests 3809s # End of invalid tests 3809s # End of peer-to-peer tests 3809s # End of gdbus tests 3809s ok - glib/gdbus-peer.test 3809s # Running test: glib/assert-msg-test.py.test 3809s TAP version 13 3809s ok 1 __main__.TestAssertMessage.test_gassert 3809s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 3809s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 3809s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8'} 3809s # Output: Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 3809s # Error: ** 3809s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 3809s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 3809s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 3809s 1..2 3809s ok - glib/assert-msg-test.py.test 3809s # Running test: glib/cond.test 3809s TAP version 13 3809s # random seed: R02Sb1ce1bcdd159e80772c9b485135733c7 3809s 1..4 3809s # Start of thread tests 3809s ok 1 /thread/cond1 3809s ok 2 /thread/cond2 3809s # Start of cond tests 3810s ok 3 /thread/cond/wait-until 3810s # slow test /thread/cond/wait-until executed in 1.02 secs 3810s # Start of wait-until tests 3810s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 3810s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 3811s ok 4 /thread/cond/wait-until/contended-and-interrupted 3811s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 3811s # End of wait-until tests 3811s # End of cond tests 3811s # End of thread tests 3811s ok - glib/cond.test 3811s # Running test: glib/qdata.test 3811s TAP version 13 3811s # random seed: R02Sd92ef167eaf1741d5a244b63ecc50656 3811s 1..2 3811s # Start of qdata tests 3812s ok 1 /qdata/threaded 3812s # slow test /qdata/threaded executed in 0.75 secs 3812s ok 2 /qdata/dup 3812s # End of qdata tests 3812s ok - glib/qdata.test 3812s # Running test: glib/autoptr.test 3812s TAP version 13 3812s # random seed: R02S266e140392bf4f7eed4b488f6b808ca5 3812s 1..6 3812s # Start of autoptr tests 3812s ok 1 /autoptr/autoptr 3812s ok 2 /autoptr/autoptr_steal 3812s ok 3 /autoptr/autolist 3812s ok 4 /autoptr/autoslist 3812s ok 5 /autoptr/autoqueue 3812s ok 6 /autoptr/autoclass 3812s # End of autoptr tests 3812s ok - glib/autoptr.test 3812s # Running test: glib/unicode.test 3812s TAP version 13 3812s # random seed: R02S1a76aead6cdcc26b68de676dcb1a4702 3812s 1..39 3812s # Start of unicode tests 3812s ok 1 /unicode/alnum 3812s ok 2 /unicode/alpha 3812s ok 3 /unicode/break-type 3812s ok 4 /unicode/canonical-decomposition 3812s ok 5 /unicode/casefold 3812s # Cannot set locale to lt_LT, skipping 3812s # Cannot set locale to lt_LT, skipping 3812s # Cannot set locale to lt_LT, skipping 3812s # Cannot set locale to lt_LT, skipping 3812s # Cannot set locale to lt_LT, skipping 3812s # Cannot set locale to lt_LT, skipping 3812s # Cannot set locale to lt_LT, skipping 3812s # Cannot set locale to lt_LT, skipping 3812s # Cannot set locale to lt_LT, skipping 3812s # Cannot set locale to lt_LT, skipping 3812s # Cannot set locale to lt_LT, skipping 3812s ok 6 /unicode/casemap_and_casefold 3812s ok 7 /unicode/cases 3812s ok 8 /unicode/character-type 3812s ok 9 /unicode/cntrl 3812s ok 10 /unicode/combining-class 3812s ok 11 /unicode/compose 3812s ok 12 /unicode/decompose 3812s ok 13 /unicode/decompose-tail 3812s ok 14 /unicode/defined 3812s ok 15 /unicode/digit 3812s ok 16 /unicode/digit-value 3812s ok 17 /unicode/fully-decompose-canonical 3812s # Executing: glib/unicode.test 3812s ok 18 /unicode/fully-decompose-len 3812s ok 19 /unicode/normalization 3812s ok 20 /unicode/graph 3812s # Testing script Zyyy (code 1517910393) 3812s # Testing script Zinh (code 1516858984) 3812s # Testing script Zmth (code 1517122664) 3812s # Testing script Arab (code 1098015074) 3812s # Testing script Armn (code 1098018158) 3812s # Testing script Beng (code 1113943655) 3812s # Testing script Bopo (code 1114599535) 3812s # Testing script Cher (code 1130915186) 3812s # Testing script Copt (code 1131376756) 3812s # Testing script Cyrl (code 1132032620) 3812s # Testing script Dsrt (code 1148416628) 3812s # Testing script Deva (code 1147500129) 3812s # Testing script Ethi (code 1165256809) 3812s # Testing script Geor (code 1197830002) 3812s # Testing script Goth (code 1198486632) 3812s # Testing script Grek (code 1198679403) 3812s # Testing script Gujr (code 1198877298) 3812s # Testing script Guru (code 1198879349) 3812s # Testing script Hani (code 1214344809) 3812s # Testing script Hang (code 1214344807) 3812s # Testing script Hebr (code 1214603890) 3812s # Testing script Hira (code 1214870113) 3812s # Testing script Knda (code 1265525857) 3812s # Testing script Kana (code 1264676449) 3812s # Testing script Khmr (code 1265134962) 3812s # Testing script Laoo (code 1281453935) 3812s # Testing script Latn (code 1281455214) 3812s # Testing script Mlym (code 1298954605) 3812s # Testing script Mong (code 1299148391) 3812s # Testing script Mymr (code 1299803506) 3812s # Testing script Ogam (code 1332175213) 3812s # Testing script Ital (code 1232363884) 3812s # Testing script Orya (code 1332902241) 3812s # Testing script Runr (code 1383427698) 3812s # Testing script Sinh (code 1399418472) 3812s # Testing script Syrc (code 1400468067) 3812s # Testing script Taml (code 1415671148) 3812s # Testing script Telu (code 1415933045) 3812s # Testing script Thaa (code 1416126817) 3812s # Testing script Thai (code 1416126825) 3812s # Testing script Tibt (code 1416192628) 3812s # Testing script Cans (code 1130458739) 3812s # Testing script Yiii (code 1500080489) 3812s # Testing script Tglg (code 1416064103) 3812s # Testing script Hano (code 1214344815) 3812s # Testing script Buhd (code 1114990692) 3812s # Testing script Tagb (code 1415669602) 3812s # Testing script Brai (code 1114792297) 3812s # Testing script Cprt (code 1131442804) 3812s # Testing script Limb (code 1281977698) 3812s # Testing script Osma (code 1332964705) 3812s # Testing script Shaw (code 1399349623) 3812s # Testing script Linb (code 1281977954) 3812s # Testing script Tale (code 1415670885) 3812s # Testing script Ugar (code 1432838514) 3812s # Testing script Talu (code 1415670901) 3812s # Testing script Bugi (code 1114990441) 3812s # Testing script Glag (code 1198285159) 3812s # Testing script Tfng (code 1415999079) 3812s # Testing script Sylo (code 1400466543) 3812s # Testing script Xpeo (code 1483761007) 3812s # Testing script Khar (code 1265131890) 3812s # Testing script Zzzz (code 1517976186) 3812s # Testing script Bali (code 1113681001) 3812s # Testing script Xsux (code 1483961720) 3812s # Testing script Phnx (code 1349021304) 3812s # Testing script Phag (code 1349017959) 3812s # Testing script Nkoo (code 1315663727) 3812s # Testing script Kali (code 1264675945) 3812s # Testing script Lepc (code 1281716323) 3812s # Testing script Rjng (code 1382706791) 3812s # Testing script Sund (code 1400204900) 3812s # Testing script Saur (code 1398895986) 3812s # Testing script Cham (code 1130914157) 3812s # Testing script Olck (code 1332503403) 3812s # Testing script Vaii (code 1449224553) 3812s # Testing script Cari (code 1130459753) 3812s # Testing script Lyci (code 1283023721) 3812s # Testing script Lydi (code 1283023977) 3812s # Testing script Avst (code 1098281844) 3812s # Testing script Bamu (code 1113681269) 3812s # Testing script Egyp (code 1164409200) 3812s # Testing script Armi (code 1098018153) 3812s # Testing script Phli (code 1349020777) 3812s # Testing script Prti (code 1349678185) 3812s # Testing script Java (code 1247901281) 3812s # Testing script Kthi (code 1265920105) 3812s # Testing script Lisu (code 1281979253) 3812s # Testing script Mtei (code 1299473769) 3812s # Testing script Sarb (code 1398895202) 3812s # Testing script Orkh (code 1332898664) 3812s # Testing script Samr (code 1398893938) 3812s # Testing script Lana (code 1281453665) 3812s # Testing script Tavt (code 1415673460) 3812s # Testing script Batk (code 1113683051) 3812s # Testing script Brah (code 1114792296) 3812s # Testing script Mand (code 1298230884) 3812s # Testing script Cakm (code 1130457965) 3812s # Testing script Merc (code 1298494051) 3812s # Testing script Mero (code 1298494063) 3812s # Testing script Plrd (code 1349284452) 3812s # Testing script Shrd (code 1399353956) 3812s # Testing script Sora (code 1399812705) 3812s # Testing script Takr (code 1415670642) 3812s # Testing script Bass (code 1113682803) 3812s # Testing script Aghb (code 1097295970) 3812s # Testing script Dupl (code 1148547180) 3812s # Testing script Elba (code 1164730977) 3812s # Testing script Gran (code 1198678382) 3812s # Testing script Khoj (code 1265135466) 3812s # Testing script Sind (code 1399418468) 3812s # Testing script Lina (code 1281977953) 3812s # Testing script Mahj (code 1298229354) 3812s # Testing script Mani (code 1298230889) 3812s # Testing script Mend (code 1298493028) 3812s # Testing script Modi (code 1299145833) 3812s # Testing script Mroo (code 1299345263) 3812s # Testing script Nbat (code 1315070324) 3812s # Testing script Narb (code 1315009122) 3812s # Testing script Perm (code 1348825709) 3812s # Testing script Hmng (code 1215131239) 3812s # Testing script Palm (code 1348562029) 3812s # Testing script Pauc (code 1348564323) 3812s # Testing script Phlp (code 1349020784) 3812s # Testing script Sidd (code 1399415908) 3812s # Testing script Tirh (code 1416196712) 3812s # Testing script Wara (code 1466004065) 3812s # Testing script Ahom (code 1097363309) 3812s # Testing script Hluw (code 1215067511) 3812s # Testing script Hatr (code 1214346354) 3812s # Testing script Mult (code 1299541108) 3812s # Testing script Hung (code 1215655527) 3812s # Testing script Sgnw (code 1399287415) 3812s # Testing script Adlm (code 1097100397) 3812s # Testing script Bhks (code 1114139507) 3812s # Testing script Marc (code 1298231907) 3812s # Testing script Newa (code 1315272545) 3812s # Testing script Osge (code 1332963173) 3812s # Testing script Tang (code 1415671399) 3812s # Testing script Gonm (code 1198485101) 3812s # Testing script Nshu (code 1316186229) 3812s # Testing script Soyo (code 1399814511) 3812s # Testing script Zanb (code 1516334690) 3812s # Testing script Dogr (code 1148151666) 3812s # Testing script Gong (code 1198485095) 3812s # Testing script Rohg (code 1383032935) 3812s # Testing script Maka (code 1298230113) 3812s # Testing script Medf (code 1298490470) 3812s # Testing script Sogo (code 1399809903) 3812s # Testing script Sogd (code 1399809892) 3812s # Testing script Elym (code 1164736877) 3812s # Testing script Nand (code 1315008100) 3812s # Testing script Hmnp (code 1215131248) 3812s # Testing script Wcho (code 1466132591) 3812s # Testing script Chrs (code 1130918515) 3812s # Testing script Diak (code 1147756907) 3812s # Testing script Kits (code 1265202291) 3812s # Testing script Yezi (code 1499822697) 3812s # Testing script Cpmn (code 1131441518) 3812s # Testing script Ougr (code 1333094258) 3812s # Testing script Tnsa (code 1416524641) 3812s # Testing script Toto (code 1416590447) 3812s # Testing script Vith (code 1449751656) 3812s # Testing script Kawi (code 1264678761) 3812s # Testing script Nagm (code 1315006317) 3812s ok 21 /unicode/iso15924 3812s ok 22 /unicode/lower 3812s ok 23 /unicode/mark 3812s ok 24 /unicode/mirror 3812s ok 25 /unicode/print 3812s ok 26 /unicode/punctuation 3812s ok 27 /unicode/script 3812s ok 28 /unicode/space 3812s ok 29 /unicode/strdown 3812s ok 30 /unicode/strup 3812s ok 31 /unicode/turkish-strupdown 3812s ok 32 /unicode/title 3812s ok 33 /unicode/upper 3812s ok 34 /unicode/validate 3812s ok 35 /unicode/wide 3812s ok 36 /unicode/xdigit 3812s ok 37 /unicode/xdigit-value 3812s ok 38 /unicode/zero-width 3812s ok 39 /unicode/normalize 3812s # End of unicode tests 3812s ok - glib/unicode.test 3812s # Running test: glib/struct-info.test 3812s TAP version 13 3812s # random seed: R02S3ce4b1d361b877ba9dce6be677972c78 3812s 1..4 3812s # Start of struct-info tests 3812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_F2NEK2/struct-info/field-iterators/.dirs/home 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_F2NEK2/struct-info/field-iterators/.dirs/cache 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_F2NEK2/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_F2NEK2/struct-info/field-iterators/.dirs/system-config2 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_F2NEK2/struct-info/field-iterators/.dirs/config 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_F2NEK2/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_F2NEK2/struct-info/field-iterators/.dirs/system-data2 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_F2NEK2/struct-info/field-iterators/.dirs/data 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_F2NEK2/struct-info/field-iterators/.dirs/state 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_F2NEK2/struct-info/field-iterators/.dirs/runtime 3812s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 3812s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 3812s ok 1 /struct-info/field-iterators 3812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_F2NEK2/struct-info/sizeof-gvalue/.dirs/home 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_F2NEK2/struct-info/sizeof-gvalue/.dirs/cache 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_F2NEK2/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_F2NEK2/struct-info/sizeof-gvalue/.dirs/system-config2 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_F2NEK2/struct-info/sizeof-gvalue/.dirs/config 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_F2NEK2/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_F2NEK2/struct-info/sizeof-gvalue/.dirs/system-data2 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_F2NEK2/struct-info/sizeof-gvalue/.dirs/data 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_F2NEK2/struct-info/sizeof-gvalue/.dirs/state 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_F2NEK2/struct-info/sizeof-gvalue/.dirs/runtime 3812s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 3812s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 3812s ok 2 /struct-info/sizeof-gvalue 3812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_F2NEK2/struct-info/is-pointer-for-struct-method-arg/.dirs/home 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_F2NEK2/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_F2NEK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_F2NEK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_F2NEK2/struct-info/is-pointer-for-struct-method-arg/.dirs/config 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_F2NEK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_F2NEK2/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_F2NEK2/struct-info/is-pointer-for-struct-method-arg/.dirs/data 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_F2NEK2/struct-info/is-pointer-for-struct-method-arg/.dirs/state 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_F2NEK2/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 3812s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 3812s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 3812s ok 3 /struct-info/is-pointer-for-struct-method-arg 3812s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_F2NEK2/struct-info/boxed/.dirs/home 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_F2NEK2/struct-info/boxed/.dirs/cache 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_F2NEK2/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_F2NEK2/struct-info/boxed/.dirs/system-config2 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_F2NEK2/struct-info/boxed/.dirs/config 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_F2NEK2/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_F2NEK2/struct-info/boxed/.dirs/system-data2 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_F2NEK2/struct-info/boxed/.dirs/data 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_F2NEK2/struct-info/boxed/.dirs/state 3812s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_F2NEK2/struct-info/boxed/.dirs/runtime 3812s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 3812s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 3812s ok 4 /struct-info/boxed 3812s # End of struct-info tests 3812s ok - glib/struct-info.test 3812s # Running test: glib/strfuncs.test 3812s TAP version 13 3812s # random seed: R02S6fde280366b734103bbbcb82e9cb45ae 3812s 1..50 3812s # Start of strfuncs tests 3812s ok 1 /strfuncs/ascii-strcasecmp 3812s ok 2 /strfuncs/ascii_strdown 3812s ok 3 /strfuncs/ascii_strdup 3812s ok 4 /strfuncs/ascii_strtod 3812s ok 5 /strfuncs/bounds-check 3812s ok 6 /strfuncs/has-prefix 3812s ok 7 /strfuncs/has-prefix-macro 3812s ok 8 /strfuncs/has-suffix 3812s ok 9 /strfuncs/has-suffix-macro 3812s ok 10 /strfuncs/memdup 3812s ok 11 /strfuncs/memdup2 3812s ok 12 /strfuncs/set_str 3812s ok 13 /strfuncs/stpcpy 3812s ok 14 /strfuncs/str_match_string 3812s ok 15 /strfuncs/str_tokenize_and_fold 3812s ok 16 /strfuncs/strcanon 3812s ok 17 /strfuncs/strchomp 3812s ok 18 /strfuncs/strchug 3812s ok 19 /strfuncs/strcompress-strescape 3812s ok 20 /strfuncs/strconcat 3812s ok 21 /strfuncs/strdelimit 3812s ok 22 /strfuncs/strdup 3812s ok 23 /strfuncs/strdup-printf 3812s ok 24 /strfuncs/strdupv 3812s ok 25 /strfuncs/strerror 3812s ok 26 /strfuncs/strip-context 3812s ok 27 /strfuncs/strjoin 3812s ok 28 /strfuncs/strjoinv 3812s ok 29 /strfuncs/strlcat 3812s ok 30 /strfuncs/strlcpy 3812s ok 31 /strfuncs/strncasecmp 3812s ok 32 /strfuncs/strndup 3812s ok 33 /strfuncs/strnfill 3812s ok 34 /strfuncs/strreverse 3812s ok 35 /strfuncs/strsignal 3812s ok 36 /strfuncs/strsplit 3812s ok 37 /strfuncs/strsplit-set 3812s ok 38 /strfuncs/strstr 3812s ok 39 /strfuncs/strtod 3812s ok 40 /strfuncs/strtoull-strtoll 3812s ok 41 /strfuncs/strup 3812s ok 42 /strfuncs/strv-contains 3812s ok 43 /strfuncs/strv-equal 3812s ok 44 /strfuncs/strv-length 3812s ok 45 /strfuncs/test-is-to-digit 3812s ok 46 /strfuncs/transliteration 3812s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 3812s ok 47 /strfuncs/str-equal 3812s # Start of ascii-string-to-num tests 3812s ok 48 /strfuncs/ascii-string-to-num/pathological 3812s ok 49 /strfuncs/ascii-string-to-num/usual 3812s # End of ascii-string-to-num tests 3812s # Start of strdup tests 3812s ok 50 /strfuncs/strdup/inline 3812s # End of strdup tests 3812s # End of strfuncs tests 3812s ok - glib/strfuncs.test 3812s # Running test: glib/live-g-file.test 3812s TAP version 13 3812s # random seed: R02S873655c2403dd0a06faaa08567d25cf2 3812s 1..13 3812s # Start of live-g-file tests 3812s # Cleaning target testing structure in 'testdir_live-g-file'... 3812s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 3812s ok 1 /live-g-file/prep_clean_structure 3812s # 3812s # Going to create testing structure in 'testdir_live-g-file'... 3812s # Creating directory 'dir1'... 3812s # Creating directory 'dir1/subdir'... 3812s # Creating directory 'dir2'... 3812s # Creating directory 'dir-target'... 3812s # Creating directory 'dir_no-access'... 3812s # Creating directory 'dir_no-write'... 3812s # Creating file 'target-file'... 3812s # Creating file 'normal_file'... 3812s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 3812s # Creating file 'executable_file'... 3812s # Creating file 'private_file'... 3812s # Creating file 'normal_file2'... 3812s # Creating file 'readonly_file'... 3812s # Creating file 'UTF_pr?i?lis? z'... 3812s # Creating directory 'dir_pr?i?lis? z'... 3812s # Creating symlink 'lost_symlink' --> 'nowhere'... 3812s # Creating directory 'dir_hidden'... 3812s # Creating file 'dir_hidden/.a-hidden-file'... 3812s # Creating file 'dir_hidden/file-in-.hidden1'... 3812s # Creating file 'dir_hidden/file-in-.hidden2'... 3812s # Creating pattern file... 3812s # done. 3812s ok 2 /live-g-file/create_structure 3812s # Testing sample structure in 'testdir_live-g-file'... 3812s # Testing file 'dir1'... 3812s # Testing file 'dir1/subdir'... 3812s # Testing file 'dir2'... 3812s # Testing file 'dir-target'... 3812s # Testing file 'dir_no-access'... 3812s # Testing file 'dir_no-write'... 3812s # Testing file 'target-file'... 3812s # Testing file 'normal_file'... 3812s # Testing file 'normal_file-symlink'... 3812s # Testing file 'executable_file'... 3812s # Testing file 'private_file'... 3812s # Testing file 'normal_file2'... 3812s # Testing file 'readonly_file'... 3812s # Testing file 'UTF_pr?i?lis? z'... 3812s # Testing file 'dir_pr?i?lis? z'... 3812s # Testing file 'lost_symlink'... 3812s # Testing file 'dir_hidden'... 3812s # Testing file 'dir_hidden/.a-hidden-file'... 3812s # Testing file 'dir_hidden/file-in-.hidden1'... 3812s # Testing file 'dir_hidden/file-in-.hidden2'... 3812s # Testing pattern file... 3812s # read 65536 bytes, total = 65536 of 65536. 3812s ok 3 /live-g-file/test_initial_structure 3812s # Traversing through the sample structure in 'testdir_live-g-file'... 3812s # Found file dir1, relative to root: dir1 3812s # Found file subdir, relative to root: dir1/subdir 3812s # Found file dir2, relative to root: dir2 3812s # Found file dir-target, relative to root: dir-target 3812s # Found file dir_no-access, relative to root: dir_no-access 3812s # Found file dir_no-write, relative to root: dir_no-write 3812s # Found file target-file, relative to root: target-file 3812s # Found file normal_file, relative to root: normal_file 3812s # Found file normal_file-symlink, relative to root: normal_file-symlink 3812s # Found file executable_file, relative to root: executable_file 3812s # Found file private_file, relative to root: private_file 3812s # Found file normal_file2, relative to root: normal_file2 3812s # Found file readonly_file, relative to root: readonly_file 3812s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 3812s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 3812s # Found file lost_symlink, relative to root: lost_symlink 3812s # Found file dir_hidden, relative to root: dir_hidden 3812s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 3812s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 3812s # Found file .hidden, relative to root: dir_hidden/.hidden 3812s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 3812s # Found file pattern_file, relative to root: pattern_file 3812s ok 4 /live-g-file/test_traverse_structure 3812s # Test enumerate 'testdir_live-g-file'... 3812s # Testing file 'dir_no-access' 3812s # Testing file 'normal_file' 3812s # Testing file 'normal_file-symlink' 3812s # Testing file 'not_exists' 3812s # Testing file 'not_exists' 3812s # Testing file 'not_exists2' 3812s # Testing file 'not_exists3' 3812s # Testing file 'not_exists4' 3812s # Testing file 'dir_no-execute/file' 3812s ok 5 /live-g-file/test_enumerate 3812s # test_open: 'dir1' 3812s # test_open: 'dir_no-access' 3812s # test_open: 'target-file' 3812s # test_open: 'normal_file-symlink' 3812s # test_open: 'executable_file' 3812s # test_open: 'private_file' 3812s # test_open: 'readonly_file' 3812s # test_open: 'UTF_pr?i?lis? z' 3812s # test_open: 'pattern_file' 3812s # test_open: 'not_exists' 3812s # test_open: 'dir_no-execute/file' 3812s # test_open: 'lost_symlink' 3812s ok 6 /live-g-file/test_open 3812s # test_create: 'dir1' 3812s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir1?: Is a directory 3812s # test_create: 'dir1/subdir' 3812s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir1/subdir?: Is a directory 3812s # test_create: 'dir2' 3812s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir2?: File exists 3812s # test_create: 'normal_file' 3812s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/normal_file?: File exists 3812s # test_create: 'executable_file' 3812s # test_create: 'private_file' 3812s # test_create: 'normal_file2' 3812s # test_create: 'UTF_pr?i?lis? z' 3812s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 3812s # test_create: 'dir_pr?i?lis? z' 3812s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_pr?i?lis? z?: File exists 3812s # test_create: 'pattern_file' 3812s # test_create: 'not_exists2' 3812s # test_create: 'not_exists3' 3812s # test_create: 'not_exists4' 3812s ok 7 /live-g-file/test_create 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'dir1/subdir' --> 'dir-target' 3812s # res = 0, error code 25 = Can?t recursively copy directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'dir1/subdir' --> '.' 3812s # res = 0, error code 2 = Target file exists 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'dir1/subdir' --> 'target-file' 3812s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'dir1/subdir' --> 'not_exists' 3812s # res = 0, error code 25 = Can?t recursively copy directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 3812s # res = 0, error code 25 = Can?t recursively copy directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 3812s # res = 0, error code 25 = Can?t recursively copy directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'dir2' --> 'dir-target' 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'dir-target' --> 'dir-target' 3812s # res = 0, error code 25 = Can?t recursively copy directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'dir-target' --> '.' 3812s # res = 0, error code 2 = Target file exists 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'dir-target' --> 'target-file' 3812s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/target-file/dir-target?: Not a directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'dir-target' --> 'not_exists' 3812s # res = 0, error code 25 = Can?t recursively copy directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'dir-target' --> 'dir_no-access' 3812s # res = 0, error code 25 = Can?t recursively copy directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'dir-target' --> 'dir_no-write' 3812s # res = 0, error code 25 = Can?t recursively copy directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'target-file' --> 'dir-target' 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'target-file' --> '.' 3812s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/target-file?: File exists 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'target-file' --> 'target-file' 3812s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/target-file/target-file?: Not a directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'target-file' --> 'not_exists' 3812s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists/target-file?: No such file or directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'target-file' --> 'dir_no-access' 3812s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-access/target-file?: Permission denied 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'target-file' --> 'dir_no-write' 3812s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-write/target-file?: Permission denied 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'normal_file-symlink' --> '.' 3812s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/normal_file-symlink: File exists 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'normal_file-symlink' --> 'target-file' 3812s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 3812s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 3812s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 3812s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'executable_file' --> 'dir-target' 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'executable_file' --> 'dir-target' 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'executable_file' --> '.' 3812s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/executable_file?: File exists 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'executable_file' --> 'target-file' 3812s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/target-file/executable_file?: Not a directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'executable_file' --> 'not_exists' 3812s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists/executable_file?: No such file or directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'executable_file' --> 'dir_no-access' 3812s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'executable_file' --> 'dir_no-write' 3812s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'private_file' --> 'dir-target' 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'private_file' --> 'dir-target' 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'private_file' --> '.' 3812s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/private_file?: File exists 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'private_file' --> 'target-file' 3812s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/target-file/private_file?: Not a directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'private_file' --> 'not_exists' 3812s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists/private_file?: No such file or directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'private_file' --> 'dir_no-access' 3812s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-access/private_file?: Permission denied 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'private_file' --> 'dir_no-write' 3812s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-write/private_file?: Permission denied 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'normal_file2' --> 'dir-target' 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'normal_file2' --> 'dir-target' 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'normal_file2' --> '.' 3812s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/normal_file2?: File exists 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'normal_file2' --> 'target-file' 3812s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/target-file/normal_file2?: Not a directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'normal_file2' --> 'not_exists' 3812s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'normal_file2' --> 'dir_no-access' 3812s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'normal_file2' --> 'dir_no-write' 3812s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 3812s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 3812s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 3812s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 3812s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 3812s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'pattern_file' --> 'dir-target' 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'pattern_file' --> '.' 3812s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/pattern_file?: File exists 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'pattern_file' --> 'target-file' 3812s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/target-file/pattern_file?: Not a directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'pattern_file' --> 'not_exists' 3812s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'pattern_file' --> 'dir_no-access' 3812s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'pattern_file' --> 'dir_no-write' 3812s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'not_exists' --> 'dir-target' 3812s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists?: No such file or directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'not_exists' --> '.' 3812s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists?: No such file or directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'not_exists' --> 'target-file' 3812s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists?: No such file or directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'not_exists' --> 'not_exists' 3812s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists?: No such file or directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'not_exists' --> 'dir_no-access' 3812s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists?: No such file or directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'not_exists' --> 'dir_no-write' 3812s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists?: No such file or directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'not_exists' --> 'dir-target' 3812s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists: No such file or directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'lost_symlink' --> 'dir-target' 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'lost_symlink' --> '.' 3812s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/lost_symlink: File exists 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'lost_symlink' --> 'target-file' 3812s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/target-file/lost_symlink: Not a directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'lost_symlink' --> 'not_exists' 3812s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 3812s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 3812s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 3812s ok 8 /live-g-file/test_copy_move 3812s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir1 3812s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir1: Directory not empty 3812s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir2 3812s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir2: No such file or directory 3812s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/executable_file 3812s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/readonly_file 3812s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_pr?i?lis? z 3812s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists 3812s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists: No such file or directory 3812s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists 3812s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/not_exists: No such file or directory 3812s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-execute/file 3812s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/dir_no-execute/file: No such file or directory 3812s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-180EK2/testdir_live-g-file/lost_symlink 3812s ok 9 /live-g-file/test_delete 3812s # We do not have CAP_DAC_OVERRIDE or equivalent 3812s ok 10 /live-g-file/test_make_directory_with_parents 3812s # Cleaning target testing structure in 'testdir_live-g-file'... 3812s # deleting 'dir1' 3812s # deleting 'subdir' 3812s # deleting 'dir-target' 3812s # deleting 'dir2' 3812s # deleting 'target-file' 3812s # deleting 'normal_file-symlink' 3812s # deleting 'pattern_file' 3812s # deleting 'executable_file' 3812s # deleting 'private_file' 3812s # deleting 'normal_file2' 3812s # deleting 'UTF_pr?i?lis? z' 3812s # deleting 'lost_symlink' 3812s # deleting 'dir_no-access' 3812s # deleting 'dir_no-write' 3812s # deleting 'target-file' 3812s # deleting 'normal_file' 3812s # deleting 'normal_file-symlink' 3812s # deleting 'executable_file~' 3812s # deleting 'private_file' 3812s # deleting 'normal_file2~' 3812s # deleting 'a' 3812s # deleting 'UTF_pr?i?lis? z' 3812s # deleting 'dir_hidden' 3812s # deleting '.a-hidden-file' 3812s # deleting 'file-in-.hidden1' 3812s # deleting '.hidden' 3812s # deleting 'file-in-.hidden2' 3812s # deleting 'pattern_file' 3812s # deleting 'normal_file2' 3812s # deleting 'not_exists2' 3812s # deleting 'not_exists3' 3812s # deleting 'not_exists4' 3812s ok 11 /live-g-file/final_clean 3812s # Start of test_unix_is_mountpoint tests 3812s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 3812s ok 13 /live-g-file/test_unix_is_mountpoint/proc 3812s # End of test_unix_is_mountpoint tests 3812s # End of live-g-file tests 3812s ok - glib/live-g-file.test 3813s # Running test: glib/dir.test 3813s TAP version 13 3813s # random seed: R02S2ad415f6b26fc4c875416389c95a8ebb 3813s 1..3 3813s # Start of dir tests 3813s ok 1 /dir/read 3813s ok 2 /dir/nonexisting 3813s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 3813s ok 3 /dir/refcounting 3813s # End of dir tests 3813s ok - glib/dir.test 3813s # Running test: glib/gmenumodel.test 3813s TAP version 13 3813s # random seed: R02Scd7900b0a0cbe382f73f620fd0fde904 3813s 1..14 3813s # Start of gmenu tests 3815s ok 1 /gmenu/equality 3815s # slow test /gmenu/equality executed in 2.37 secs 3817s # Executing: glib/gmenumodel.test 3818s ok 2 /gmenu/random 3818s # slow test /gmenu/random executed in 2.92 secs 3818s ok 3 /gmenu/attributes 3818s ok 4 /gmenu/links 3818s ok 5 /gmenu/mutable 3818s ok 6 /gmenu/convenience 3818s ok 7 /gmenu/menuitem 3818s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 3818s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3818s ok 8 /gmenu/input-validation 3818s # Start of dbus tests 3818s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3819s ok 9 /gmenu/dbus/roundtrip 3819s # slow test /gmenu/dbus/roundtrip executed in 1.12 secs 3819s ok 10 /gmenu/dbus/subscriptions 3822s # Executing: glib/gmenumodel.test 3824s ok 11 /gmenu/dbus/threaded 3824s # slow test /gmenu/dbus/threaded executed in 4.46 secs 3824s # Start of peer tests 3825s ok 12 /gmenu/dbus/peer/roundtrip 3825s # slow test /gmenu/dbus/peer/roundtrip executed in 1.08 secs 3825s ok 13 /gmenu/dbus/peer/subscriptions # SKIP Not reliable? #932678 3825s # End of peer tests 3825s # End of dbus tests 3825s # Start of attributes tests 3825s ok 14 /gmenu/attributes/iterate 3825s # End of attributes tests 3825s # End of gmenu tests 3825s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3825s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3825s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3825s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3825s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3825s ok - glib/gmenumodel.test 3825s # Running test: glib/spawn-test.test 3825s TAP version 13 3825s # random seed: R02S155b22dbc243025ad9c459af39ac97ca 3825s 1..2 3825s # Start of spawn tests 3825s ok 1 /spawn/basics 3825s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 3825s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 3825s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 3825s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 3825s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 3825s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 3825s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 3825s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 3825s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 3825s # Fetching GSpawn result output with stdin open, stdout open, stderr open 3825s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 3825s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 3825s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 3825s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 3825s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 3825s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 3825s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 3825s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 3825s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 3825s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 3825s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 3825s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 3825s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 3825s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 3825s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 3825s # Fetching GSpawn result with stdin open, stdout open, stderr open 3825s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 3825s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 3825s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 3825s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 3825s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 3825s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 3825s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 3825s ok 2 /spawn/stdio-overwrite 3825s # End of spawn tests 3825s ok - glib/spawn-test.test 3825s # Running test: glib/option-context.test 3825s TAP version 13 3825s # random seed: R02S08c3a30e324fbd5b73438bd221a742f1 3825s 1..57 3825s # Start of option tests 3825s ok 1 /option/basic 3825s ok 2 /option/translate 3825s ok 3 /option/strict-posix 3825s # Start of help tests 3825s ok 4 /option/help/options 3825s ok 5 /option/help/no-options 3825s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 3825s ok 6 /option/help/no-help-options 3825s # End of help tests 3825s # Start of group tests 3825s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 3825s ok 7 /option/group/captions 3825s ok 8 /option/group/main 3825s ok 9 /option/group/error-hook 3825s ok 10 /option/group/parse 3825s # Start of captions tests 3825s # Start of subprocess tests 3825s # End of subprocess tests 3825s # End of captions tests 3825s # End of group tests 3825s # Start of restoration tests 3825s ok 11 /option/restoration/int 3825s ok 12 /option/restoration/string 3825s ok 13 /option/restoration/boolean 3825s # End of restoration tests 3825s # Start of arg tests 3825s ok 14 /option/arg/reverse-string 3825s ok 15 /option/arg/optional-int 3825s # Start of repetition tests 3825s ok 16 /option/arg/repetition/int 3825s ok 17 /option/arg/repetition/string 3825s ok 18 /option/arg/repetition/filename 3825s ok 19 /option/arg/repetition/double 3825s ok 20 /option/arg/repetition/locale 3825s ok 21 /option/arg/repetition/int64 3825s # End of repetition tests 3825s # Start of array tests 3825s ok 22 /option/arg/array/string 3825s # End of array tests 3825s # Start of callback tests 3825s ok 23 /option/arg/callback/string 3825s ok 24 /option/arg/callback/count 3825s ok 25 /option/arg/callback/optional1 3825s ok 26 /option/arg/callback/optional2 3825s ok 27 /option/arg/callback/optional3 3825s ok 28 /option/arg/callback/optional4 3825s ok 29 /option/arg/callback/optional5 3825s ok 30 /option/arg/callback/optional6 3825s ok 31 /option/arg/callback/optional7 3825s ok 32 /option/arg/callback/optional8 3825s # End of callback tests 3825s # Start of remaining tests 3825s ok 33 /option/arg/remaining/callback 3825s ok 34 /option/arg/remaining/callback-false 3825s ok 35 /option/arg/remaining/non-option 3825s ok 36 /option/arg/remaining/separator 3825s ok 37 /option/arg/remaining/array 3825s # End of remaining tests 3825s # Start of ignore tests 3825s ok 38 /option/arg/ignore/long 3825s ok 39 /option/arg/ignore/short 3825s ok 40 /option/arg/ignore/arg 3825s # End of ignore tests 3825s # Start of rest tests 3825s ok 41 /option/arg/rest/non-option 3825s ok 42 /option/arg/rest/separator1 3825s ok 43 /option/arg/rest/separator2 3825s ok 44 /option/arg/rest/separator3 3825s ok 45 /option/arg/rest/separator4 3825s ok 46 /option/arg/rest/separator5 3825s # End of rest tests 3825s # End of arg tests 3825s # Start of context tests 3825s ok 47 /option/context/add 3825s ok 48 /option/context/empty2 3825s ok 49 /option/context/empty3 3825s # End of context tests 3825s # Start of bug tests 3825s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 3825s ok 50 /option/bug/unknown-short 3825s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 3825s ok 51 /option/bug/lonely-dash 3825s ok 52 /option/bug/triple-dash 3825s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 3825s ok 53 /option/bug/missing-arg 3825s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 3825s ok 54 /option/bug/dash-arg 3825s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 3825s ok 55 /option/bug/short-remaining 3825s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 3825s ok 56 /option/bug/double-free 3825s ok 57 /option/bug/double-zero 3825s # End of bug tests 3825s # End of option tests 3825s ok - glib/option-context.test 3825s # Running test: glib/resources.test 3825s TAP version 13 3825s # random seed: R02S95dc980bfcfd7053f09216984ee3cb67 3825s 1..17 3825s # Start of resource tests 3825s ok 1 /resource/file 3825s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 3825s ok 2 /resource/file-path 3825s ok 3 /resource/data 3825s ok 4 /resource/data_unaligned 3825s ok 5 /resource/data-corrupt 3825s ok 6 /resource/data-empty 3825s ok 7 /resource/registered 3825s ok 8 /resource/manual 3825s ok 9 /resource/manual2 3825s ok 10 /resource/automatic 3825s ok 11 /resource/module 3825s ok 12 /resource/binary-linked 3825s ok 13 /resource/64k 3825s GLib-GIO-Message: 17:33:54.777: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 3825s ok 14 /resource/overlay 3825s ok 15 /resource/digits 3825s # Start of uri tests 3825s ok 16 /resource/uri/query-info 3825s ok 17 /resource/uri/file 3825s # End of uri tests 3825s # End of resource tests 3825s ok - glib/resources.test 3825s # Running test: glib/cxx-11.test 3825s TAP version 13 3825s # random seed: R02S446b00cb1380907186bda3c96b9f2359 3825s 1..2 3825s # Start of gtask tests 3825s # 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. 3825s ok 1 /gtask/name 3825s # Start of name tests 3825s # 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. 3825s ok 2 /gtask/name/macro-wrapper 3825s # End of name tests 3825s # End of gtask tests 3825s ok - glib/cxx-11.test 3825s # Running test: glib/properties-refcount2.test 3825s TAP version 13 3825s # random seed: R02S9c641f6f7949068142033565c32ebdcf 3825s 1..1 3825s # Start of gobject tests 3825s # Start of refcount tests 3825s # init 0xc92ebb169770 3825s # 3825s # . 3825s # . 3825s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3826s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # Executing: glib/properties-refcount2.test 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3827s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3828s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3829s # . 3830s # . 3830s # dispose 0xc92ebb169770! 3830s # 3830s ok 1 /gobject/refcount/properties-2 3830s # slow test /gobject/refcount/properties-2 executed in 4.18 secs 3830s # End of refcount tests 3830s # End of gobject tests 3830s ok - glib/properties-refcount2.test 3830s # Running test: glib/null-settings-backend.test 3830s TAP version 13 3830s # random seed: R02S3beb073cca3062558e6138a95910a964 3830s 1..1 3830s # Start of null-settings-backend tests 3830s ok 1 /null-settings-backend/extension-point-registered 3830s # End of null-settings-backend tests 3830s ok - glib/null-settings-backend.test 3830s # Running test: glib/gdbus-server-auth.test 3830s TAP version 13 3830s # random seed: R02S7943e5a04175fb0777c447bafec9b62b 3830s 1..9 3830s # Start of gdbus tests 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/.dirs/runtime 3830s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_N3OCK2/gdbus-server-auth-OT4BK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 3830s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_N3OCK2/gdbus-server-auth-OT4BK2/dbus-AkSMQLUa 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 1975 3830s ok 1 /gdbus/server-auth 3830s # Start of server-auth tests 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/abstract/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/abstract/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/abstract/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/abstract/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/abstract/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/abstract/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/abstract/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/abstract/.dirs/runtime 3830s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_N3OCK2/gdbus-server-auth-ECXAK2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 3830s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_N3OCK2/gdbus-server-auth-ECXAK2/dbus-JivULIE7 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 3830s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 3830s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 1975 3830s ok 2 /gdbus/server-auth/abstract 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/tcp/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/tcp/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/tcp/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/tcp/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/tcp/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/tcp/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/tcp/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/tcp/.dirs/runtime 3830s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 3830s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/.dirs/runtime 3830s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_N3OCK2/gdbus-server-auth-L9N7J2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 3830s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_N3OCK2/gdbus-server-auth-L9N7J2/dbus-CMF28nhm 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 1975 3830s ok 4 /gdbus/server-auth/anonymous 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/.dirs/runtime 3830s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_N3OCK2/gdbus-server-auth-UUBHK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 3830s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_N3OCK2/gdbus-server-auth-UUBHK2/dbus-L1NOLc0C 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 1975 3830s ok 5 /gdbus/server-auth/external 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/.dirs/runtime 3830s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_N3OCK2/gdbus-server-auth-ZKTGK2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 3830s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 3830s # Start of anonymous tests 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/tcp/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/tcp/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/tcp/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/tcp/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/tcp/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 3830s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 3830s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 3830s # End of anonymous tests 3830s # Start of external tests 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/require-same-user/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/require-same-user/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/require-same-user/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/require-same-user/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/require-same-user/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/external/require-same-user/.dirs/runtime 3830s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_N3OCK2/gdbus-server-auth-MFBGK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 3830s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_N3OCK2/gdbus-server-auth-MFBGK2/dbus-PsWsPjWw 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 1975 3830s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3830s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 3830s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 3830s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=1975,uid=1000,gid=1000 3830s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 1975 3830s ok 8 /gdbus/server-auth/external/require-same-user 3830s # End of external tests 3830s # Start of sha1 tests 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/tcp/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/tcp/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/tcp/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/tcp/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/tcp/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_N3OCK2/gdbus/server-auth/sha1/tcp/.dirs/runtime 3830s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 3830s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 3830s # End of sha1 tests 3830s # End of server-auth tests 3830s # End of gdbus tests 3830s ok - glib/gdbus-server-auth.test 3830s # Running test: glib/pathbuf.test 3830s TAP version 13 3830s # random seed: R02S0cbdce6b040df84d20aabe7ba13a96ff 3830s 1..3 3830s # Start of pathbuf tests 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_VW0CK2/pathbuf/init/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_VW0CK2/pathbuf/init/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_VW0CK2/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_VW0CK2/pathbuf/init/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_VW0CK2/pathbuf/init/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_VW0CK2/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_VW0CK2/pathbuf/init/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_VW0CK2/pathbuf/init/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_VW0CK2/pathbuf/init/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_VW0CK2/pathbuf/init/.dirs/runtime 3830s # Initializing empty path buf 3830s # Initializing with empty path 3830s # Initializing with full path 3830s # Initializing with no path 3830s # Allocating GPathBuf on the heap 3830s ok 1 /pathbuf/init 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_VW0CK2/pathbuf/push-pop/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_VW0CK2/pathbuf/push-pop/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_VW0CK2/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_VW0CK2/pathbuf/push-pop/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_VW0CK2/pathbuf/push-pop/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_VW0CK2/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_VW0CK2/pathbuf/push-pop/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_VW0CK2/pathbuf/push-pop/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_VW0CK2/pathbuf/push-pop/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_VW0CK2/pathbuf/push-pop/.dirs/runtime 3830s # Pushing relative path component 3830s # Pushing absolute path component 3830s # Popping a path component 3830s # Can't pop the last element of a path buffer 3830s ok 2 /pathbuf/push-pop 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_VW0CK2/pathbuf/filename-extension/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_VW0CK2/pathbuf/filename-extension/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_VW0CK2/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_VW0CK2/pathbuf/filename-extension/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_VW0CK2/pathbuf/filename-extension/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_VW0CK2/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_VW0CK2/pathbuf/filename-extension/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_VW0CK2/pathbuf/filename-extension/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_VW0CK2/pathbuf/filename-extension/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_VW0CK2/pathbuf/filename-extension/.dirs/runtime 3830s ok 3 /pathbuf/filename-extension 3830s # End of pathbuf tests 3830s ok - glib/pathbuf.test 3830s # Running test: glib/gdbus-connection-loss.test 3830s TAP version 13 3830s # random seed: R02S8732913bb95c10dc486afd3dfa476c8c 3830s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3830s 1..1 3830s # Start of gdbus tests 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_YRHDK2/gdbus/connection-loss/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_YRHDK2/gdbus/connection-loss/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_YRHDK2/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_YRHDK2/gdbus/connection-loss/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_YRHDK2/gdbus/connection-loss/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_YRHDK2/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_YRHDK2/gdbus/connection-loss/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_YRHDK2/gdbus/connection-loss/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_YRHDK2/gdbus/connection-loss/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_YRHDK2/gdbus/connection-loss/.dirs/runtime 3830s ok 1 /gdbus/connection-loss 3830s # End of gdbus tests 3830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3830s ok - glib/gdbus-connection-loss.test 3830s # Running test: glib/autoptr-gio.test 3830s TAP version 13 3830s # random seed: R02S8d5d0f514872bf4d6e784a04e3cb766d 3830s 1..1 3830s # Start of autoptr tests 3830s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 3830s ok 1 /autoptr/autoptr 3830s # End of autoptr tests 3830s ok - glib/autoptr-gio.test 3830s # Running test: glib/power-profile-monitor.test 3830s TAP version 13 3830s # random seed: R02S3f0278e0e9750df703a2dc4edde83909 3830s 1..1 3830s # Start of power-profile-monitor tests 3830s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 3830s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 3830s ok 1 /power-profile-monitor/default 3830s # End of power-profile-monitor tests 3830s ok - glib/power-profile-monitor.test 3830s # Running test: glib/gdbus-test-codegen.test 3830s TAP version 13 3830s # random seed: R02S5bfd3ca8f9b3ead8a922fcc153a8221f 3830s 1..8 3830s # Start of gdbus tests 3830s # Start of codegen tests 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/annotations/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/annotations/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/annotations/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/annotations/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/annotations/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/annotations/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/annotations/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/annotations/.dirs/runtime 3830s ok 1 /gdbus/codegen/annotations 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/interface_stability/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/interface_stability/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/interface_stability/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/interface_stability/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/interface_stability/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/interface_stability/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/interface_stability/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/interface_stability/.dirs/runtime 3830s ok 2 /gdbus/codegen/interface_stability 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/object-manager/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/object-manager/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/object-manager/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/object-manager/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/object-manager/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/object-manager/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/object-manager/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/object-manager/.dirs/runtime 3830s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3830s ok 3 /gdbus/codegen/object-manager 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/property-naming/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/property-naming/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/property-naming/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/property-naming/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/property-naming/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/property-naming/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/property-naming/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/property-naming/.dirs/runtime 3830s ok 4 /gdbus/codegen/property-naming 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/autocleanups/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/autocleanups/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/autocleanups/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/autocleanups/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/autocleanups/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/autocleanups/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/autocleanups/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/autocleanups/.dirs/runtime 3830s ok 5 /gdbus/codegen/autocleanups 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/deprecations/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/deprecations/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/deprecations/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/deprecations/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/deprecations/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/deprecations/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/deprecations/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/deprecations/.dirs/runtime 3830s ok 6 /gdbus/codegen/deprecations 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/standalone-interface-info/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/standalone-interface-info/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/standalone-interface-info/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/standalone-interface-info/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/standalone-interface-info/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/standalone-interface-info/.dirs/runtime 3830s ok 7 /gdbus/codegen/standalone-interface-info 3830s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/unix-fd-list/.dirs/home 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/unix-fd-list/.dirs/cache 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/unix-fd-list/.dirs/system-config2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/unix-fd-list/.dirs/config 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/unix-fd-list/.dirs/system-data2 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/unix-fd-list/.dirs/data 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/unix-fd-list/.dirs/state 3830s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_X2XVJ2/gdbus/codegen/unix-fd-list/.dirs/runtime 3830s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 3830s ok 8 /gdbus/codegen/unix-fd-list 3830s # End of codegen tests 3830s # End of gdbus tests 3830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3830s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3830s ok - glib/gdbus-test-codegen.test 3830s # Running test: glib/async-close-output-stream.test 3830s TAP version 13 3830s # random seed: R02Sf2921dc830b363f9a26a40583ec5a288 3830s 1..3 3830s # Start of close-async tests 3830s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 3830s ok 1 /close-async/without-flush 3830s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 3830s ok 2 /close-async/with-flush 3830s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 3830s ok 3 /close-async/with-async-flush 3830s # End of close-async tests 3830s ok - glib/async-close-output-stream.test 3830s # Running test: glib/refstring.test 3831s TAP version 13 3831s # random seed: R02Sc6fcc1de7c059b1018cd294e34b6a4b7 3831s 1..5 3831s # Start of refstring tests 3831s # s = 'hello, world' (0xb400317b4600) 3831s ok 1 /refstring/base 3831s ok 2 /refstring/length 3831s ok 3 /refstring/length-auto 3831s ok 4 /refstring/length-nuls 3831s # s = 'hello, world' (0xb400317b4600) 3831s # p = s = 'hello, world' (0xb400317b4600) 3831s # releasing p[0xb400317b4600] ('hello, world') 3831s # p = 'goodbye, world' (0xb400317bc660) 3831s # releasing p[0xb400317bc660] ('goodbye, world') 3831s # releasing s[0xb400317b4600] ('hello, world') 3831s ok 5 /refstring/intern 3831s # End of refstring tests 3831s ok - glib/refstring.test 3831s # Running test: glib/thread-pool-slow.test 3831s TAP version 13 3831s # random seed: R02S42d4aa3635ab374e8addecdf9d1f35dc 3831s 1..7 3831s # Start of threadpool tests 3831s ok 1 /threadpool/functions 3831s ok 2 /threadpool/stop-unused 3831s # slow test /threadpool/stop-unused executed in 0.55 secs 3831s ok 3 /threadpool/pools 3831s # [unsorted] ===> pushed new thread with id:48, number of threads:1, unprocessed:0 3831s # [unsorted] ===> pushed new thread with id:69, number of threads:2, unprocessed:1 3831s # [unsorted] ===> pushed new thread with id:13, number of threads:3, unprocessed:2 3831s # [unsorted] ===> pushed new thread with id:21, number of threads:4, unprocessed:3 3831s # [unsorted] ===> pushed new thread with id:39, number of threads:5, unprocessed:4 3831s # [unsorted] ===> pushed new thread with id:62, number of threads:6, unprocessed:5 3831s # [unsorted] ===> pushed new thread with id:95, number of threads:7, unprocessed:6 3831s # [unsorted] ===> pushed new thread with id:62, number of threads:8, unprocessed:7 3831s # [unsorted] ===> pushed new thread with id:91, number of threads:9, unprocessed:8 3831s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:6 3831s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:7 3831s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:8 3831s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:9 3831s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:10 3831s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:11 3831s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:12 3831s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:13 3831s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:14 3831s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:15 3831s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:16 3831s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:17 3831s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:18 3831s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:19 3831s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:20 3831s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:21 3831s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:22 3831s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:23 3831s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:24 3831s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:25 3831s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:26 3831s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:27 3831s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:28 3831s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:29 3831s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:30 3831s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:31 3831s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:32 3831s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:33 3831s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:34 3831s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:35 3831s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:36 3831s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:37 3831s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:38 3831s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:39 3831s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:40 3831s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:41 3831s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:42 3831s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:43 3831s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:44 3831s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:45 3831s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:46 3831s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:47 3831s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:48 3831s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:49 3831s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:50 3831s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:51 3831s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:52 3831s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:53 3831s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:54 3831s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:55 3831s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:56 3831s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:57 3831s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:58 3831s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:59 3831s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:60 3831s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:61 3831s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:62 3831s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:63 3831s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:64 3831s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:65 3831s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:66 3831s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:67 3831s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:68 3831s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:69 3831s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:70 3831s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:71 3831s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:72 3831s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:73 3831s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:74 3831s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:75 3831s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:76 3831s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:77 3831s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:78 3831s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:79 3831s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:80 3831s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:81 3831s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:82 3831s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:83 3831s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:84 3831s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:85 3831s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:86 3831s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:87 3831s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:88 3831s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:89 3831s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:90 3831s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:91 3831s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:92 3831s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:93 3831s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:94 3831s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:95 3831s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:96 3831s ok 4 /threadpool/no-sort 3831s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:1 3831s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:2 3831s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:3 3831s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:4 3831s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:5 3831s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:6 3831s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:7 3831s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:8 3831s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:9 3831s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:10 3831s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:11 3831s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:12 3831s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:13 3831s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:14 3831s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:15 3831s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:16 3831s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:17 3831s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:18 3831s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:19 3831s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:20 3831s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:21 3831s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:22 3831s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:23 3831s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:24 3831s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:25 3831s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:26 3831s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:27 3831s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:28 3831s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:29 3831s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:30 3831s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:31 3831s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:32 3831s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:33 3831s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:34 3831s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:35 3831s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:36 3831s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:37 3831s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:38 3831s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:39 3831s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:40 3831s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:41 3831s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:42 3831s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:43 3831s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:44 3831s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:45 3831s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:46 3831s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:47 3831s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:48 3831s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:49 3831s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:50 3831s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:51 3831s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:52 3831s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:53 3831s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:54 3831s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:55 3831s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:56 3831s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:57 3831s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:58 3831s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:59 3831s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:60 3831s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:61 3831s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:62 3831s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:63 3831s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:64 3831s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:65 3831s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:66 3831s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:67 3831s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:68 3831s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:69 3831s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:70 3831s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:71 3831s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:72 3831s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:73 3831s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:74 3831s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:75 3831s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:76 3831s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:77 3831s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:78 3831s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:79 3831s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:80 3831s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:81 3831s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:82 3831s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:83 3831s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:84 3831s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:85 3831s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:86 3831s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:87 3831s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:88 3831s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:89 3831s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:90 3831s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:91 3831s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:92 3831s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:93 3831s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:94 3831s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:95 3831s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:96 3831s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:97 3831s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:98 3831s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:99 3831s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:100 3831s # Starting thread pool processing 3831s ok 5 /threadpool/sort 3832s ok 6 /threadpool/stop-unused-multiple 3832s # slow test /threadpool/stop-unused-multiple executed in 0.54 secs 3832s # Pool idle thread count: 0, unprocessed jobs: 40 3832s # Executing: glib/thread-pool-slow.test 3832s # Pool idle thread count: 0, unprocessed jobs: 0 3832s # Pool idle thread count: 0, unprocessed jobs: 0 3833s # Pool idle thread count: 10, unprocessed jobs: 0 3833s # Pool idle thread count: 10, unprocessed jobs: 0 3833s # Pool idle thread count: 10, unprocessed jobs: 0 3833s # Pool idle thread count: 10, unprocessed jobs: 0 3834s # Pool idle thread count: 10, unprocessed jobs: 0 3834s # Pool idle thread count: 10, unprocessed jobs: 0 3834s # Pool idle thread count: 10, unprocessed jobs: 0 3834s # Pool idle thread count: 10, unprocessed jobs: 0 3835s # Pool idle thread count: 10, unprocessed jobs: 0 3835s # Pool idle thread count: 10, unprocessed jobs: 0 3835s # Pool idle thread count: 10, unprocessed jobs: 0 3835s # Pool idle thread count: 10, unprocessed jobs: 0 3836s # Pool idle thread count: 10, unprocessed jobs: 0 3836s # Pool idle thread count: 10, unprocessed jobs: 0 3836s # Pool idle thread count: 10, unprocessed jobs: 0 3836s # Pool idle thread count: 10, unprocessed jobs: 0 3837s # Pool idle thread count: 10, unprocessed jobs: 0 3837s # Pool idle thread count: 10, unprocessed jobs: 0 3837s # Executing: glib/thread-pool-slow.test 3837s # Pool idle thread count: 10, unprocessed jobs: 0 3837s # Pool idle thread count: 10, unprocessed jobs: 0 3838s # Pool idle thread count: 10, unprocessed jobs: 0 3838s # Pool idle thread count: 10, unprocessed jobs: 0 3838s # Pool idle thread count: 10, unprocessed jobs: 0 3838s # Pool idle thread count: 10, unprocessed jobs: 0 3839s # Pool idle thread count: 10, unprocessed jobs: 0 3839s # Pool idle thread count: 10, unprocessed jobs: 0 3839s # Pool idle thread count: 10, unprocessed jobs: 0 3839s # Pool idle thread count: 10, unprocessed jobs: 0 3840s # Pool idle thread count: 10, unprocessed jobs: 0 3840s # Pool idle thread count: 10, unprocessed jobs: 0 3840s # Pool idle thread count: 10, unprocessed jobs: 0 3840s # Pool idle thread count: 10, unprocessed jobs: 0 3841s # Pool idle thread count: 10, unprocessed jobs: 2 3841s # Pool idle thread count: 10, unprocessed jobs: 2 3841s # Pool idle thread count: 8, unprocessed jobs: 0 3841s # Pool idle thread count: 8, unprocessed jobs: 0 3841s # Pool idle thread count: 10, unprocessed jobs: 0 3841s # Pool idle thread count: 10, unprocessed jobs: 0 3842s # Pool idle thread count: 10, unprocessed jobs: 0 3842s # Pool idle thread count: 10, unprocessed jobs: 0 3842s # Executing: glib/thread-pool-slow.test 3842s # Pool idle thread count: 10, unprocessed jobs: 0 3842s # Pool idle thread count: 10, unprocessed jobs: 0 3843s # Pool idle thread count: 2, unprocessed jobs: 0 3843s # Pool idle thread count: 2, unprocessed jobs: 0 3843s # Pool idle thread count: 2, unprocessed jobs: 0 3843s # Pool idle thread count: 2, unprocessed jobs: 0 3844s # Pool idle thread count: 2, unprocessed jobs: 0 3844s # Pool idle thread count: 2, unprocessed jobs: 0 3844s # Pool idle thread count: 2, unprocessed jobs: 0 3844s # Pool idle thread count: 2, unprocessed jobs: 0 3845s # Pool idle thread count: 2, unprocessed jobs: 0 3845s # Pool idle thread count: 2, unprocessed jobs: 0 3845s # Pool idle thread count: 2, unprocessed jobs: 0 3845s # Pool idle thread count: 2, unprocessed jobs: 0 3846s # Pool idle thread count: 2, unprocessed jobs: 0 3846s # Pool idle thread count: 2, unprocessed jobs: 0 3846s # Pool idle thread count: 2, unprocessed jobs: 0 3846s # Pool idle thread count: 2, unprocessed jobs: 0 3847s # Pool idle thread count: 2, unprocessed jobs: 0 3847s # Pool idle thread count: 2, unprocessed jobs: 0 3847s # Executing: glib/thread-pool-slow.test 3847s # Pool idle thread count: 2, unprocessed jobs: 0 3847s # Pool idle thread count: 2, unprocessed jobs: 0 3848s # Pool idle thread count: 2, unprocessed jobs: 0 3848s # Pool idle thread count: 2, unprocessed jobs: 0 3848s # Pool idle thread count: 2, unprocessed jobs: 0 3848s # Pool idle thread count: 2, unprocessed jobs: 0 3849s # Pool idle thread count: 2, unprocessed jobs: 0 3849s # Pool idle thread count: 2, unprocessed jobs: 0 3849s # Pool idle thread count: 2, unprocessed jobs: 0 3849s # Pool idle thread count: 2, unprocessed jobs: 0 3850s # Pool idle thread count: 2, unprocessed jobs: 0 3850s # Pool idle thread count: 2, unprocessed jobs: 0 3850s # Pool idle thread count: 2, unprocessed jobs: 0 3850s # Pool idle thread count: 2, unprocessed jobs: 0 3851s # Pool idle thread count: 2, unprocessed jobs: 0 3851s # Pool idle thread count: 2, unprocessed jobs: 0 3851s ok 7 /threadpool/idle-time 3851s # slow test /threadpool/idle-time executed in 19.54 secs 3851s # End of threadpool tests 3851s ok - glib/thread-pool-slow.test 3851s # Running test: glib/gdbus-serialization.test 3851s TAP version 13 3851s # random seed: R02S4ad925df506965abdaade712a400c76d 3851s 1..18 3851s # Start of gdbus tests 3851s # Start of message-serialize tests 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/basic/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/basic/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/basic/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/basic/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/basic/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/basic/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/basic/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/basic/.dirs/runtime 3851s ok 1 /gdbus/message-serialize/basic 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/complex/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/complex/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/complex/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/complex/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/complex/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/complex/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/complex/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/complex/.dirs/runtime 3851s ok 2 /gdbus/message-serialize/complex 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/invalid/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/invalid/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/invalid/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/invalid/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/invalid/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/invalid/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/invalid/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/invalid/.dirs/runtime 3851s ok 3 /gdbus/message-serialize/invalid 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/.dirs/runtime 3851s ok 4 /gdbus/message-serialize/header-checks 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/double-array/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/double-array/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/double-array/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/double-array/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/double-array/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/double-array/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/double-array/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/double-array/.dirs/runtime 3851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 3851s ok 5 /gdbus/message-serialize/double-array 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/empty-structure/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/empty-structure/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/empty-structure/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/empty-structure/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/empty-structure/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/empty-structure/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/empty-structure/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/empty-structure/.dirs/runtime 3851s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 3851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 3851s ok 6 /gdbus/message-serialize/empty-structure 3851s # Start of header-checks tests 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/valid/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/valid/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/valid/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/valid/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/valid/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-serialize/header-checks/valid/.dirs/runtime 3851s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 3851s ok 7 /gdbus/message-serialize/header-checks/valid 3851s # End of header-checks tests 3851s # End of message-serialize tests 3851s # Start of message-parse tests 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 3851s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 3851s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/non-signature-header/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/non-signature-header/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/non-signature-header/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/non-signature-header/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/non-signature-header/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/non-signature-header/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/non-signature-header/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/non-signature-header/.dirs/runtime 3851s ok 9 /gdbus/message-parse/non-signature-header 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-signature-header/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-signature-header/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-signature-header/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-signature-header/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-signature-header/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-signature-header/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-signature-header/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-signature-header/.dirs/runtime 3851s ok 10 /gdbus/message-parse/empty-signature-header 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/multiple-signature-header/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/multiple-signature-header/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/multiple-signature-header/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/multiple-signature-header/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/multiple-signature-header/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/multiple-signature-header/.dirs/runtime 3851s ok 11 /gdbus/message-parse/multiple-signature-header 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/over-long-signature-header/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/over-long-signature-header/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/over-long-signature-header/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/over-long-signature-header/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/over-long-signature-header/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/over-long-signature-header/.dirs/runtime 3851s ok 12 /gdbus/message-parse/over-long-signature-header 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-header-nesting/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-header-nesting/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-header-nesting/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-header-nesting/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-header-nesting/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-header-nesting/.dirs/runtime 3851s ok 13 /gdbus/message-parse/deep-header-nesting 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-body-nesting/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-body-nesting/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-body-nesting/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-body-nesting/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-body-nesting/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/deep-body-nesting/.dirs/runtime 3851s ok 14 /gdbus/message-parse/deep-body-nesting 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/truncated/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/truncated/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/truncated/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/truncated/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/truncated/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/truncated/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/truncated/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/truncated/.dirs/runtime 3851s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 3851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 3851s ok 15 /gdbus/message-parse/truncated 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-structure/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-structure/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-structure/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-structure/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-structure/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-structure/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-structure/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/empty-structure/.dirs/runtime 3851s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 3851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 3851s ok 16 /gdbus/message-parse/empty-structure 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/missing-header/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/missing-header/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/missing-header/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/missing-header/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/missing-header/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/missing-header/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/missing-header/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/missing-header/.dirs/runtime 3851s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 3851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 3851s ok 17 /gdbus/message-parse/missing-header 3851s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/invalid-header-type/.dirs/home 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/invalid-header-type/.dirs/cache 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/invalid-header-type/.dirs/system-config2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/invalid-header-type/.dirs/config 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/invalid-header-type/.dirs/system-data2 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/invalid-header-type/.dirs/data 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/invalid-header-type/.dirs/state 3851s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_FGRWJ2/gdbus/message-parse/invalid-header-type/.dirs/runtime 3851s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 3851s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 3851s ok 18 /gdbus/message-parse/invalid-header-type 3851s # End of message-parse tests 3851s # End of gdbus tests 3851s ok - glib/gdbus-serialization.test 3851s # Running test: glib/g-icon.test 3851s TAP version 13 3851s # random seed: R02S22ad8ab30e905ba8f80c0a0b6f6d7da8 3851s 1..6 3851s # Start of icons tests 3851s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 3851s ok 1 /icons/to-string 3851s ok 2 /icons/serialize 3851s ok 3 /icons/themed 3851s ok 4 /icons/emblemed 3851s ok 5 /icons/file 3851s ok 6 /icons/bytes 3851s # End of icons tests 3851s ok - glib/g-icon.test 3851s # Running test: glib/signals-refcount1.test 3851s TAP version 13 3851s # random seed: R02Sbe561648f6d93fd91fa10e69e73b46fe 3851s 1..1 3851s # Start of gobject tests 3851s # Start of refcount tests 3851s # init 0xb5f5878f9420 3851s # 3851s # init 0xb5f5878f95c0 3851s # 3852s # Executing: glib/signals-refcount1.test 3856s # dispose 0xb5f5878f9420! 3856s # 3856s # dispose 0xb5f5878f95c0! 3856s # 3856s ok 1 /gobject/refcount/signals 3856s # slow test /gobject/refcount/signals executed in 5.01 secs 3856s # End of refcount tests 3856s # End of gobject tests 3856s ok - glib/signals-refcount1.test 3856s # Running test: glib/strvbuilder.test 3856s TAP version 13 3856s # random seed: R02S51c232c43ca9033c1c801622242067a2 3856s 1..6 3856s # Start of strvbuilder tests 3856s ok 1 /strvbuilder/empty 3856s ok 2 /strvbuilder/add 3856s ok 3 /strvbuilder/addv 3856s ok 4 /strvbuilder/add_many 3856s ok 5 /strvbuilder/take 3856s ok 6 /strvbuilder/ref 3856s # End of strvbuilder tests 3856s ok - glib/strvbuilder.test 3856s # Running test: glib/fileattributematcher.test 3856s TAP version 13 3856s # random seed: R02S446bad5af2a18adf6e427a9e33f73151 3856s 1..3 3856s # Start of fileattributematcher tests 3856s ok 1 /fileattributematcher/exact 3856s ok 2 /fileattributematcher/equality 3856s ok 3 /fileattributematcher/subtract 3856s # End of fileattributematcher tests 3856s ok - glib/fileattributematcher.test 3856s # Running test: glib/uri.test 3856s TAP version 13 3856s # random seed: R02S44ab8f0276904cf48fbf611b671849ad 3856s 1..24 3856s # Start of uri tests 3856s ok 1 /uri/file-to-uri 3856s ok 2 /uri/file-from-uri 3856s ok 3 /uri/file-roundtrip 3856s ok 4 /uri/list 3856s # Test 0: %2Babc %4F 3856s # Test 1: %2Babc %4F 3856s # Test 2: %00abc %4F 3856s # Test 3: /cursors/none.png 3856s # Test 4: /cursors%2fbad-subdir/none.png 3856s # Test 5: %0 3856s # Test 6: %ra 3856s # Test 7: %2r 3856s # Test 8: Timm B?der 3856s # Test 9: (null) 3856s ok 5 /uri/unescape-string 3856s ok 6 /uri/unescape-segment 3856s # Test 0: abcdefgABCDEFG._~ 3856s # Test 1: :+ \\?# 3856s # Test 2: a+b:c 3856s # Test 3: a+b:c\303\234 3856s # Test 4: \374;\322 3856s # Test 5: \303\261\303( 3856s ok 7 /uri/escape-string 3856s ok 8 /uri/escape-bytes 3856s ok 9 /uri/scheme 3856s ok 10 /uri/build 3856s ok 11 /uri/split 3856s ok 12 /uri/is_valid 3856s ok 13 /uri/to-string 3856s ok 14 /uri/join 3856s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 3856s # Combination 0 3856s # Combination 1 3856s # Combination 2 3856s # Combination 3 3856s # Combination 4 3856s # Combination 5 3856s # Combination 6 3856s # Combination 7 3856s # Combination 8 3856s # Combination 9 3856s # Combination 10 3856s # Combination 11 3856s # Combination 12 3856s # Combination 13 3856s # Combination 14 3856s # Combination 15 3856s # Combination 16 3856s # Combination 17 3856s # Combination 18 3856s # Combination 19 3856s # Combination 20 3856s # Combination 21 3856s # Combination 22 3856s # Combination 23 3856s # Combination 24 3856s # Combination 25 3856s # Combination 26 3856s # Combination 27 3856s # Combination 28 3856s # Combination 29 3856s # Combination 30 3856s # Combination 31 3856s # Combination 32 3856s # Combination 33 3856s # Combination 34 3856s # Combination 35 3856s # Combination 36 3856s # Combination 37 3856s # Combination 38 3856s # Combination 39 3856s # Combination 40 3856s # Combination 41 3856s # Combination 42 3856s # Combination 43 3856s # Combination 44 3856s # Combination 45 3856s # Combination 46 3856s # Combination 47 3856s # Combination 48 3856s # Combination 49 3856s # Combination 50 3856s # Combination 51 3856s # Combination 52 3856s # Combination 53 3856s # Combination 54 3856s # Combination 55 3856s # Combination 56 3856s # Combination 57 3856s # Combination 58 3856s # Combination 59 3856s # Combination 60 3856s # Combination 61 3856s # Combination 62 3856s # Combination 63 3856s # Combination 64 3856s # Combination 65 3856s # Combination 66 3856s # Combination 67 3856s # Combination 68 3856s # Combination 69 3856s # Combination 70 3856s # Combination 71 3856s # Combination 72 3856s # Combination 73 3856s # Combination 74 3856s # Combination 75 3856s # Combination 76 3856s # Combination 77 3856s # Combination 78 3856s # Combination 79 3856s # Combination 80 3856s # Combination 81 3856s # Combination 82 3856s # Combination 83 3856s # Combination 84 3856s # Combination 85 3856s # Combination 86 3856s # Combination 87 3856s # Combination 88 3856s # Combination 89 3856s # Combination 90 3856s # Combination 91 3856s # Combination 92 3856s # Combination 93 3856s # Combination 94 3856s # Combination 95 3856s # Combination 96 3856s # Combination 97 3856s # Combination 98 3856s # Combination 99 3856s # Combination 100 3856s # Combination 101 3856s # Combination 102 3856s # Combination 103 3856s # Combination 104 3856s # Combination 105 3856s # Combination 106 3856s # Combination 107 3856s # Combination 108 3856s # Combination 109 3856s # Combination 110 3856s # Combination 111 3856s # Combination 112 3856s # Combination 113 3856s # Combination 114 3856s # Combination 115 3856s # Combination 116 3856s # Combination 117 3856s # Combination 118 3856s # Combination 119 3856s # Combination 120 3856s # Combination 121 3856s # Combination 122 3856s # Combination 123 3856s # Combination 124 3856s # Combination 125 3856s # Combination 126 3856s # Combination 127 3856s # Combination 128 3856s # Combination 129 3856s # Combination 130 3856s # Combination 131 3856s # Combination 132 3856s # Combination 133 3856s # Combination 134 3856s # Combination 135 3856s # Combination 136 3856s # Combination 137 3856s # Combination 138 3856s # Combination 139 3856s # Combination 140 3856s # Combination 141 3856s # Combination 142 3856s # Combination 143 3856s # Combination 144 3856s # Combination 145 3856s # Combination 146 3856s # Combination 147 3856s # Combination 148 3856s # Combination 149 3856s # Combination 150 3856s # Combination 151 3856s # Combination 152 3856s # Combination 153 3856s # Combination 154 3856s # Combination 155 3856s # Combination 156 3856s # Combination 157 3856s # Combination 158 3856s # Combination 159 3856s # Combination 160 3856s # Combination 161 3856s # Combination 162 3856s # Combination 163 3856s # Combination 164 3856s # Combination 165 3856s # Combination 166 3856s # Combination 167 3856s # Combination 168 3856s # Combination 169 3856s # Combination 170 3856s # Combination 171 3856s # Combination 172 3856s # Combination 173 3856s # Combination 174 3856s # Combination 175 3856s # Combination 176 3856s # Combination 177 3856s # Combination 178 3856s # Combination 179 3856s # Combination 180 3856s # Combination 181 3856s # Combination 182 3856s # Combination 183 3856s # Combination 184 3856s # Combination 185 3856s # Combination 186 3856s # Combination 187 3856s # Combination 188 3856s # Combination 189 3856s # Combination 190 3856s # Combination 191 3856s # Combination 192 3856s # Combination 193 3856s # Combination 194 3856s # Combination 195 3856s # Combination 196 3856s # Combination 197 3856s # Combination 198 3856s # Combination 199 3856s # Combination 200 3856s # Combination 201 3856s # Combination 202 3856s # Combination 203 3856s # Combination 204 3856s # Combination 205 3856s # Combination 206 3856s # Combination 207 3856s # Combination 208 3856s # Combination 209 3856s # Combination 210 3856s # Combination 211 3856s # Combination 212 3856s # Combination 213 3856s # Combination 214 3856s # Combination 215 3856s # Combination 216 3856s # Combination 217 3856s # Combination 218 3856s # Combination 219 3856s # Combination 220 3856s # Combination 221 3856s # Combination 222 3856s # Combination 223 3856s # Combination 224 3856s # Combination 225 3856s # Combination 226 3856s # Combination 227 3856s # Combination 228 3856s # Combination 229 3856s # Combination 230 3856s # Combination 231 3856s # Combination 232 3856s # Combination 233 3856s # Combination 234 3856s # Combination 235 3856s # Combination 236 3856s # Combination 237 3856s # Combination 238 3856s # Combination 239 3856s # Combination 240 3856s # Combination 241 3856s # Combination 242 3856s # Combination 243 3856s # Combination 244 3856s # Combination 245 3856s # Combination 246 3856s # Combination 247 3856s # Combination 248 3856s # Combination 249 3856s # Combination 250 3856s # Combination 251 3856s # Combination 252 3856s # Combination 253 3856s # Combination 254 3856s # Combination 255 3856s ok 15 /uri/join-split-round-trip 3856s ok 16 /uri/normalize 3856s # Start of unescape-bytes tests 3856s # Test 0: %00%00 3856s # Test 1: /cursors/none.png 3856s # Test 2: /cursors%2fbad-subdir/none.png 3856s # Test 3: %% 3856s # Test 4: % 3856s ok 17 /uri/unescape-bytes/nul-terminated 3856s # Test 0: %00%00 3856s # Test 1: /cursors/none.png 3856s # Test 2: /cursors%2fbad-subdir/none.png 3856s # Test 3: %% 3856s # Test 4: % 3856s ok 18 /uri/unescape-bytes/length 3856s # End of unescape-bytes tests 3856s # Start of parsing tests 3856s # Test 0: foo: 3856s # Test 1: file:/dev/null 3856s # Test 2: file:///dev/null 3856s # Test 3: ftp://user@host/path 3856s # Test 4: ftp://user@host:9999/path 3856s # Test 5: ftp://user:password@host/path 3856s # Test 6: ftp://user:password@host:9999/path 3856s # Test 7: ftp://user:password@host 3856s # Test 8: http://us%65r@host 3856s # Test 9: http://us%40r@host 3856s # Test 10: http://us%3ar@host 3856s # Test 11: http://us%2fr@host 3856s # Test 12: http://us%3fr@host 3856s # Test 13: http://host?query 3856s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 3856s # 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 3856s # Test 16: http://space/%20 3856s # Test 17: http://delims/%3C%3E%23%25%22 3856s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 3856s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 3856s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 3856s # Test 21: http://[3ffe:2a00:100:7031::1] 3856s # Test 22: http://[1080::8:800:200C:417A]/foo 3856s # Test 23: http://[::192.9.5.5]/ipng 3856s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 3856s # Test 25: http://[2010:836B:4179::836B:4179] 3856s # Test 26: http://host/path with spaces 3856s # Test 27: http://host/path 3856s # Test 28: http://host/path 3856s # Test 29: http://host 3856s # Test 30: http://host:999 3856s # Test 31: http://host/pa 3856s # th 3856s # Test 32: http: 3856s # //host/path 3856s # Test 33: http:// host/path 3856s # Test 34: http://host/path? 3856s # Test 35: http://host/path# 3856s # Test 36: http://host/path% 3856s # Test 37: http://h%ost/path 3856s # Test 38: http://host/path%% 3856s # Test 39: http://host/path%%% 3856s # Test 40: http://host/path%/x/ 3856s # Test 41: http://host/path%0x/ 3856s # Test 42: http://host/path%ax 3856s # Test 43: http://host/p?th/ 3856s # Test 44: HTTP://////////////// 3856s # Test 45: http://@host 3856s # Test 46: http://:@host 3856s # Test 47: scheme://foo%3Abar._webdav._tcp.local 3856s # Test 48: http://example.com/.. 3856s # Test 49: foo0://host/path 3856s # Test 50: f0.o://host/path 3856s # Test 51: http++://host/path 3856s # Test 52: http-ish://host/path 3856s # Test 53: http://[fe80::dead:beef%]/ 3856s # Test 54: http://[fe80::dead:beef%em1]/ 3856s # Test 55: http://[fe80::dead:beef%em1]/ 3856s # Test 56: http://[fe80::dead:beef%25em1]/ 3856s # Test 57: http://[fe80::dead:beef%25em1%20]/ 3856s # Test 58: http://[fe80::dead:beef%25em%31]/ 3856s # Test 59: http://[fe80::dead:beef%10]/ 3856s # Test 60: http://[fe80::dead:beef%10]/ 3856s # Test 61: http://[fe80::dead:beef%25]/ 3856s # Test 62: http://[fe80::dead:beef%25]/ 3856s # Test 63: http://[192.168.0.1%25em1]/ 3856s # Test 64: http://[fe80::dead:beef%2em1]/ 3856s # Test 65: http://[fe80::dead:beef%2em1]/ 3856s # Test 66: http://[fe80::dead:beef%25em1%00]/ 3856s # Test 67: http://[fe80::dead:beef%25em1%00]/ 3856s # Test 68: http://xn--mixed-?p/ 3856s ok 19 /uri/parsing/absolute 3856s ok 20 /uri/parsing/relative 3856s # End of parsing tests 3856s # Start of iter-params tests 3856s # URI 0: p1=foo&p2=bar;p3=baz 3856s # URI 1: p1=foo&p2=bar 3856s # URI 2: p1=foo&&P1=bar 3856s # URI 3: %00=foo 3856s # URI 4: p1=%00 3856s # URI 5: p1=foo&p1=bar 3856s # URI 6: p1=foo&P1=bar 3856s # URI 7: =% 3856s # URI 8: = 3856s # URI 9: foo 3856s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 3856s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 3856s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 3856s ok 21 /uri/iter-params/nul-terminated 3856s # URI 0: p1=foo&p2=bar;p3=baz 3856s # URI 1: p1=foo&p2=bar 3856s # URI 2: p1=foo&&P1=bar 3856s # URI 3: %00=foo 3856s # URI 4: p1=%00 3856s # URI 5: p1=foo&p1=bar 3856s # URI 6: p1=foo&P1=bar 3856s # URI 7: =% 3856s # URI 8: = 3856s # URI 9: foo 3856s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 3856s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 3856s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 3856s ok 22 /uri/iter-params/length 3856s # End of iter-params tests 3856s # Start of parse-params tests 3856s # URI 0: p1=foo&p2=bar;p3=baz 3856s # URI 1: p1=foo&p2=bar 3856s # URI 2: p1=foo&&P1=bar 3856s # URI 3: %00=foo 3856s # URI 4: p1=%00 3856s # URI 5: p1=foo&p1=bar 3856s # URI 6: p1=foo&P1=bar 3856s # URI 7: =% 3856s # URI 8: = 3856s # URI 9: foo 3856s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 3856s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 3856s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 3856s ok 23 /uri/parse-params/nul-terminated 3856s # URI 0: p1=foo&p2=bar;p3=baz 3856s # URI 1: p1=foo&p2=bar 3856s # URI 2: p1=foo&&P1=bar 3856s # URI 3: %00=foo 3856s # URI 4: p1=%00 3856s # URI 5: p1=foo&p1=bar 3856s # URI 6: p1=foo&P1=bar 3856s # URI 7: =% 3856s # URI 8: = 3856s # URI 9: foo 3856s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 3856s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 3856s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 3856s ok 24 /uri/parse-params/length 3856s # End of parse-params tests 3856s # End of uri tests 3856s ok - glib/uri.test 3856s # Running test: glib/deprecated-properties.test 3856s TAP version 13 3856s # random seed: R02Sb828ab339e0c38866b8dab1fb5b4d07d 3856s 1..3 3856s # Start of deprecated-properties tests 3856s ok 1 /deprecated-properties/construct 3856s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 3856s ok 2 /deprecated-properties/default-construct 3856s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 3856s ok 3 /deprecated-properties/set 3857s # End of deprecated-properties tests 3857s ok - glib/deprecated-properties.test 3857s # Running test: glib/portal-support-flatpak-full.test 3857s TAP version 13 3857s # random seed: R02S9091320b12c5c992378c681296b99ecd 3857s 1..1 3857s # Start of portal-support tests 3857s # Start of flatpak tests 3857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_OS11J2/portal-support/flatpak/full/.dirs/home 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_OS11J2/portal-support/flatpak/full/.dirs/cache 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_OS11J2/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_OS11J2/portal-support/flatpak/full/.dirs/system-config2 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_OS11J2/portal-support/flatpak/full/.dirs/config 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_OS11J2/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_OS11J2/portal-support/flatpak/full/.dirs/system-data2 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_OS11J2/portal-support/flatpak/full/.dirs/data 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_OS11J2/portal-support/flatpak/full/.dirs/state 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_OS11J2/portal-support/flatpak/full/.dirs/runtime 3857s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_OS11J2/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 3857s ok 1 /portal-support/flatpak/full 3857s # End of flatpak tests 3857s # End of portal-support tests 3857s ok - glib/portal-support-flatpak-full.test 3857s # Running test: glib/cmph-bdz.test 3857s TAP version 13 3857s # random seed: R02S8f7135f6e58d6bc525f9851c030e4f22 3857s 1..2 3857s # Start of cmph-bdz tests 3857s ok 1 /cmph-bdz/search 3857s ok 2 /cmph-bdz/search-packed 3857s # End of cmph-bdz tests 3857s ok - glib/cmph-bdz.test 3857s # Running test: glib/gdbus-sasl.test 3857s TAP version 13 3857s # random seed: R02S21c329a39e88d5dfd226caf7360d0821 3857s 1..1 3857s # Start of gdbus tests 3857s # Start of sasl tests 3857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_GPKBK2/gdbus/sasl/server/.dirs/home 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_GPKBK2/gdbus/sasl/server/.dirs/cache 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_GPKBK2/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_GPKBK2/gdbus/sasl/server/.dirs/system-config2 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_GPKBK2/gdbus/sasl/server/.dirs/config 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_GPKBK2/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_GPKBK2/gdbus/sasl/server/.dirs/system-data2 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_GPKBK2/gdbus/sasl/server/.dirs/data 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_GPKBK2/gdbus/sasl/server/.dirs/state 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_GPKBK2/gdbus/sasl/server/.dirs/runtime 3857s # New handshake: EXTERNAL with incorrect initial response 3857s # C:“AUTH EXTERNAL 30” 3857s # Expect: /^REJECTED.*$/ 3857s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 3857s # New handshake: EXTERNAL without initial response, failing to authenticate 3857s # C:“AUTH EXTERNAL” 3857s # Expect: /^DATA$/ 3857s # S:“DATA” 3857s # C:“DATA 30” 3857s # Expect: /^REJECTED.*$/ 3857s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 3857s # New handshake: EXTERNAL with initial response 3857s # C:“AUTH EXTERNAL 31303030” 3857s # Expect: /^OK [0-9a-f]+$/ 3857s # S:“OK 1fb8547bf9fde73209c2ef0865eb4c22” 3857s # New handshake: EXTERNAL without initial response 3857s # C:“AUTH EXTERNAL” 3857s # Expect: /^DATA$/ 3857s # S:“DATA” 3857s # C:“DATA 31303030” 3857s # Expect: /^OK [0-9a-f]+$/ 3857s # S:“OK 1fb8547bf9fde73209c2ef0865eb4c22” 3857s # New handshake: EXTERNAL with empty authorization identity 3857s # C:“AUTH EXTERNAL” 3857s # Expect: /^DATA$/ 3857s # S:“DATA” 3857s # C:“DATA” 3857s # Expect: /^OK [0-9a-f]+$/ 3857s # S:“OK 1fb8547bf9fde73209c2ef0865eb4c22” 3857s # New handshake: EXTERNAL with empty authorization identity and whitespace 3857s # C:“AUTH EXTERNAL” 3857s # Expect: /^DATA$/ 3857s # S:“DATA” 3857s # C:“DATA ” 3857s # Expect: /^OK [0-9a-f]+$/ 3857s # S:“OK 1fb8547bf9fde73209c2ef0865eb4c22” 3857s ok 1 /gdbus/sasl/server 3857s # End of sasl tests 3857s # End of gdbus tests 3857s ok - glib/gdbus-sasl.test 3857s # Running test: glib/gdbus-proxy-unique-name.test 3857s TAP version 13 3857s # random seed: R02S6602627af53726f7ef241763e62cef15 3857s 1..1 3857s # Start of gdbus tests 3857s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_LPDCK2/gdbus/proxy-unique-name/.dirs/home 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_LPDCK2/gdbus/proxy-unique-name/.dirs/cache 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_LPDCK2/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_LPDCK2/gdbus/proxy-unique-name/.dirs/system-config2 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_LPDCK2/gdbus/proxy-unique-name/.dirs/config 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_LPDCK2/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_LPDCK2/gdbus/proxy-unique-name/.dirs/system-data2 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_LPDCK2/gdbus/proxy-unique-name/.dirs/data 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_LPDCK2/gdbus/proxy-unique-name/.dirs/state 3857s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_LPDCK2/gdbus/proxy-unique-name/.dirs/runtime 3857s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3857s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3857s ok 1 /gdbus/proxy-unique-name 3857s # End of gdbus tests 3857s ok - glib/gdbus-proxy-unique-name.test 3857s # Running test: glib/socket-address.test 3857s TAP version 13 3857s # random seed: R02S264e61f6a4c0e1599e75a7645aa886ce 3857s 1..2 3857s # Start of socket tests 3857s # Start of address tests 3857s # Start of unix tests 3857s ok 1 /socket/address/unix/construct 3857s ok 2 /socket/address/unix/to-string 3857s # End of unix tests 3857s # End of address tests 3857s # End of socket tests 3857s ok - glib/socket-address.test 3857s # Running test: glib/bindinggroup.test 3857s TAP version 13 3857s # random seed: R02Sfb3fd534f0ea970f5a64184d9b655f60 3857s 1..11 3857s # Start of GObject tests 3857s # Start of BindingGroup tests 3857s ok 1 /GObject/BindingGroup/invalid 3857s ok 2 /GObject/BindingGroup/default 3857s ok 3 /GObject/BindingGroup/bidirectional 3857s ok 4 /GObject/BindingGroup/transform 3857s ok 5 /GObject/BindingGroup/transform-closures 3857s ok 6 /GObject/BindingGroup/same-object 3857s ok 7 /GObject/BindingGroup/weak-ref-source 3857s ok 8 /GObject/BindingGroup/weak-ref-target 3857s ok 9 /GObject/BindingGroup/properties 3857s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 3857s ok 11 /GObject/BindingGroup/empty-closures 3857s # End of BindingGroup tests 3857s # End of GObject tests 3857s ok - glib/bindinggroup.test 3857s # Running test: glib/binding.test 3857s TAP version 13 3857s # random seed: R02S56bc3223a6bb45ffaa572142a6f1eefd 3857s 1..19 3857s # Start of binding tests 3857s ok 1 /binding/default 3857s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 3857s ok 2 /binding/canonicalisation 3857s ok 3 /binding/bidirectional 3857s ok 4 /binding/transform 3857s ok 5 /binding/transform-default 3857s ok 6 /binding/transform-closure 3857s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 3857s ok 7 /binding/chain 3857s ok 8 /binding/sync-create 3857s ok 9 /binding/invert-boolean 3857s ok 10 /binding/same-object 3857s ok 11 /binding/unbind 3857s ok 12 /binding/unbind-weak 3857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 3857s ok 13 /binding/unbind-multiple 3857s ok 14 /binding/fail 3857s ok 15 /binding/interface 3857s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 3857s ok 16 /binding/concurrent-unbind 3857s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 3857s ok 17 /binding/concurrent-finalizing 3857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 3857s ok 18 /binding/dispose-source 3857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 3857s ok 19 /binding/dispose-target 3857s # End of binding tests 3857s ok - glib/binding.test 3857s # Running test: glib/macros-c-17.test 3857s TAP version 13 3857s # random seed: R02Sa54e6adead669fefaf00cfd05bd7d810 3857s 1..4 3857s # Start of C tests 3857s ok 1 /C/standard-17 3857s # End of C tests 3857s # Start of alignof tests 3857s ok 2 /alignof/fallback 3857s # End of alignof tests 3857s # Start of assert tests 3857s ok 3 /assert/static 3857s # End of assert tests 3857s # Start of struct tests 3857s ok 4 /struct/sizeof_member 3857s # End of struct tests 3857s ok - glib/macros-c-17.test 3857s # Running test: glib/converter-stream.test 3857s # Executing: glib/converter-stream.test 3857s TAP version 13 3857s # random seed: R02S2217c99129e7be30c9f0871b96e6aa85 3857s 1..17 3857s # Start of converter tests 3857s ok 1 /converter/basics 3857s # End of converter tests 3857s # Start of converter-input-stream tests 3857s ok 2 /converter-input-stream/expander 3857s ok 3 /converter-input-stream/compressor 3857s # Start of truncation tests 3857s ok 4 /converter-input-stream/truncation/zlib 3858s ok 5 /converter-input-stream/truncation/gzip 3858s ok 6 /converter-input-stream/truncation/raw 3858s # End of truncation tests 3858s # Start of charset tests 3858s ok 7 /converter-input-stream/charset/utf8->latin1 3858s ok 8 /converter-input-stream/charset/latin1->utf8 3858s ok 9 /converter-input-stream/charset/fallbacks 3858s # End of charset tests 3858s # End of converter-input-stream tests 3858s # Start of converter-output-stream tests 3858s # Start of roundtrip tests 3858s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 3858s ok 10 /converter-output-stream/roundtrip/zlib-0 3858s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 3859s ok 11 /converter-output-stream/roundtrip/zlib-9 3859s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 3859s ok 12 /converter-output-stream/roundtrip/gzip-0 3859s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 3859s ok 13 /converter-output-stream/roundtrip/gzip-9 3859s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 3859s ok 14 /converter-output-stream/roundtrip/raw-0 3859s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 3860s ok 15 /converter-output-stream/roundtrip/raw-9 3860s # End of roundtrip tests 3860s # End of converter-output-stream tests 3860s # Start of converter-stream tests 3860s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 3860s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xad730c570dc0 and GSocketClientAsyncConnectData 0xad730c966320 3860s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 3860s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 3860s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xad730c581540 for GSocketClientAsyncConnectData 0xad730c966320 3860s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 3860s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 3860s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 3860s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 3860s ok 16 /converter-stream/pollable 3860s ok 17 /converter-stream/leftover 3860s # End of converter-stream tests 3860s ok - glib/converter-stream.test 3860s # Running test: glib/unix-streams.test 3860s TAP version 13 3860s # random seed: R02Sa35a52955da9052ea36ebfae2d4d5c24 3860s 1..9 3860s # Start of unix-streams tests 3860s ok 1 /unix-streams/basic 3860s ok 2 /unix-streams/pipe-io-test 3860s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 3861s ok 3 /unix-streams/nonblocking-io-test 3861s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 3861s ok 4 /unix-streams/read_write 3861s ok 5 /unix-streams/read_writev 3861s ok 6 /unix-streams/write-wouldblock 3861s ok 7 /unix-streams/writev-wouldblock 3861s ok 8 /unix-streams/write-async-wouldblock 3861s ok 9 /unix-streams/writev-async-wouldblock 3861s # End of unix-streams tests 3861s ok - glib/unix-streams.test 3861s # Running test: glib/mount-operation.test 3861s TAP version 13 3861s # random seed: R02S85c427f167f0465e39399df097114207 3861s 1..2 3861s # Start of mount-operation tests 3861s ok 1 /mount-operation/construction 3861s ok 2 /mount-operation/properties 3861s # End of mount-operation tests 3861s ok - glib/mount-operation.test 3861s # Running test: glib/slice.test 3861s TAP version 13 3861s # random seed: R02S67acb9ac872f4db8e50b849ccf973248 3861s 1..3 3861s # Start of slice tests 3861s ok 1 /slice/copy 3861s ok 2 /slice/chain 3862s ok 3 /slice/allocate 3862s # slow test /slice/allocate executed in 1.09 secs 3862s # End of slice tests 3862s ok - glib/slice.test 3862s # Running test: glib/function-info.test 3862s TAP version 13 3862s # random seed: R02S0d124140efb5f1302e68cbe374598a76 3862s 1..1 3862s # Start of function-info tests 3862s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_OW7GK2/function-info/invoker/.dirs/home 3862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_OW7GK2/function-info/invoker/.dirs/cache 3862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_OW7GK2/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_OW7GK2/function-info/invoker/.dirs/system-config2 3862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_OW7GK2/function-info/invoker/.dirs/config 3862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_OW7GK2/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_OW7GK2/function-info/invoker/.dirs/system-data2 3862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_OW7GK2/function-info/invoker/.dirs/data 3862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_OW7GK2/function-info/invoker/.dirs/state 3862s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_OW7GK2/function-info/invoker/.dirs/runtime 3862s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 3862s # /function-info/invoker summary: Test preparing a function invoker 3862s ok 1 /function-info/invoker 3862s # End of function-info tests 3862s ok - glib/function-info.test 3862s # Running test: glib/cache.test 3862s TAP version 13 3862s # random seed: R02S9b7f6ff253449bb9ff36753c29fbec27 3862s 1..1 3862s # Start of cache tests 3862s ok 1 /cache/basic 3862s # End of cache tests 3862s ok - glib/cache.test 3862s # Running test: glib/credentials.test 3862s TAP version 13 3862s # random seed: R02S851d4fd8c9aeb07d688b26ea62d4f6bd 3862s 1..1 3862s # Start of credentials tests 3862s # GCredentials:linux-ucred:pid=2926,uid=1000,gid=1000 3862s # GCredentials:linux-ucred:pid=2926,uid=0,gid=1000 3862s ok 1 /credentials/basic 3862s # End of credentials tests 3862s ok - glib/credentials.test 3862s # Running test: glib/mkenums.py.test 3862s # Executing: glib/mkenums.py.test 3862s TAP version 13 3862s ok 1 __main__.TestMkenums.test_available_in 3862s # tmpdir: /tmp/tmpb5r3r78i 3862s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3862s # /tmp/tmpb5r3r78i/tmpuejshfwz.h: 3862s # typedef enum { 3862s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 3862s # } GDBusServerFlags; 3862s # 3862s # /tmp/tmpb5r3r78i/tmpvba_93v9.template: 3862s # /*** BEGIN file-header ***/ 3862s # file-header 3862s # /*** END file-header ***/ 3862s # 3862s # /*** BEGIN file-production ***/ 3862s # file-production 3862s # filename: @filename@ 3862s # basename: @basename@ 3862s # /*** END file-production ***/ 3862s # 3862s # /*** BEGIN enumeration-production ***/ 3862s # enumeration-production 3862s # EnumName: @EnumName@ 3862s # enum_name: @enum_name@ 3862s # ENUMNAME: @ENUMNAME@ 3862s # ENUMSHORT: @ENUMSHORT@ 3862s # ENUMPREFIX: @ENUMPREFIX@ 3862s # enumsince: @enumsince@ 3862s # type: @type@ 3862s # Type: @Type@ 3862s # TYPE: @TYPE@ 3862s # /*** END enumeration-production ***/ 3862s # 3862s # /*** BEGIN value-header ***/ 3862s # value-header 3862s # EnumName: @EnumName@ 3862s # enum_name: @enum_name@ 3862s # ENUMNAME: @ENUMNAME@ 3862s # ENUMSHORT: @ENUMSHORT@ 3862s # ENUMPREFIX: @ENUMPREFIX@ 3862s # enumsince: @enumsince@ 3862s # type: @type@ 3862s # Type: @Type@ 3862s # TYPE: @TYPE@ 3862s # /*** END value-header ***/ 3862s # 3862s # /*** BEGIN value-production ***/ 3862s # value-production 3862s # VALUENAME: @VALUENAME@ 3862s # valuenick: @valuenick@ 3862s # valuenum: @valuenum@ 3862s # type: @type@ 3862s # Type: @Type@ 3862s # TYPE: @TYPE@ 3862s # /*** END value-production ***/ 3862s # 3862s # /*** BEGIN value-tail ***/ 3862s # value-tail 3862s # EnumName: @EnumName@ 3862s # enum_name: @enum_name@ 3862s # ENUMNAME: @ENUMNAME@ 3862s # ENUMSHORT: @ENUMSHORT@ 3862s # ENUMPREFIX: @ENUMPREFIX@ 3862s # enumsince: @enumsince@ 3862s # type: @type@ 3862s # Type: @Type@ 3862s # TYPE: @TYPE@ 3862s # /*** END value-tail ***/ 3862s # 3862s # /*** BEGIN comment ***/ 3862s # comment 3862s # comment: @comment@ 3862s # /*** END comment ***/ 3862s # 3862s # /*** BEGIN file-tail ***/ 3862s # file-tail 3862s # /*** END file-tail ***/ 3862s # 3862s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpb5r3r78i/tmpvba_93v9.template', '/tmp/tmpb5r3r78i/tmpuejshfwz.h'] 3862s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3862s # Output: comment 3862s # 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. 3862s # 3862s # 3862s # file-header 3862s # file-production 3862s # filename: /tmp/tmpb5r3r78i/tmpuejshfwz.h 3862s # basename: tmpuejshfwz.h 3862s # enumeration-production 3862s # EnumName: GDBusServerFlags 3862s # enum_name: g_dbus_server_flags 3862s # ENUMNAME: G_DBUS_SERVER_FLAGS 3862s # ENUMSHORT: DBUS_SERVER_FLAGS 3862s # ENUMPREFIX: G 3862s # enumsince: 3862s # type: flags 3862s # Type: Flags 3862s # TYPE: FLAGS 3862s # value-header 3862s # EnumName: GDBusServerFlags 3862s # enum_name: g_dbus_server_flags 3862s # ENUMNAME: G_DBUS_SERVER_FLAGS 3862s # ENUMSHORT: DBUS_SERVER_FLAGS 3862s # ENUMPREFIX: G 3862s # enumsince: 3862s # type: flags 3862s # Type: Flags 3862s # TYPE: FLAGS 3862s # value-production 3862s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 3862s # valuenick: user 3862s # valuenum: 4 3862s # type: flags 3862s # Type: Flags 3862s # TYPE: FLAGS 3862s # value-tail 3862s # EnumName: GDBusServerFlags 3862s # enum_name: g_dbus_server_flags 3862s # ENUMNAME: G_DBUS_SERVER_FLAGS 3862s # ENUMSHORT: DBUS_SERVER_FLAGS 3862s # ENUMPREFIX: G 3862s # enumsince: 3862s # type: flags 3862s # Type: Flags 3862s # TYPE: FLAGS 3862s # file-tail 3862s # 3862s # comment 3862s # comment: Generated data ends here 3862s ok 2 __main__.TestMkenums.test_comma_in_enum_value 3862s # tmpdir: /tmp/tmpr6vdtfuu 3862s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3862s # /tmp/tmpr6vdtfuu/tmpf3468kti.h: 3862s # typedef enum { 3862s # ENUM_VALUE_WITH_COMMA = ',', 3862s # } TestCommaEnum; 3862s # 3862s # /tmp/tmpr6vdtfuu/tmpln46v1m0.template: 3862s # /*** BEGIN file-header ***/ 3862s # file-header 3862s # /*** END file-header ***/ 3862s # 3862s # /*** BEGIN file-production ***/ 3862s # file-production 3862s # filename: @filename@ 3862s # basename: @basename@ 3862s # /*** END file-production ***/ 3862s # 3862s # /*** BEGIN enumeration-production ***/ 3862s # enumeration-production 3862s # EnumName: @EnumName@ 3862s # enum_name: @enum_name@ 3862s # ENUMNAME: @ENUMNAME@ 3862s # ENUMSHORT: @ENUMSHORT@ 3862s # ENUMPREFIX: @ENUMPREFIX@ 3862s # enumsince: @enumsince@ 3862s # type: @type@ 3862s # Type: @Type@ 3862s # TYPE: @TYPE@ 3862s # /*** END enumeration-production ***/ 3862s # 3862s # /*** BEGIN value-header ***/ 3862s # value-header 3862s # EnumName: @EnumName@ 3862s # enum_name: @enum_name@ 3862s # ENUMNAME: @ENUMNAME@ 3862s # ENUMSHORT: @ENUMSHORT@ 3862s # ENUMPREFIX: @ENUMPREFIX@ 3862s # enumsince: @enumsince@ 3862s # type: @type@ 3862s # Type: @Type@ 3862s # TYPE: @TYPE@ 3862s # /*** END value-header ***/ 3862s # 3862s # /*** BEGIN value-production ***/ 3862s # value-production 3862s # VALUENAME: @VALUENAME@ 3862s # valuenick: @valuenick@ 3862s # valuenum: @valuenum@ 3862s # type: @type@ 3862s # Type: @Type@ 3862s # TYPE: @TYPE@ 3862s # /*** END value-production ***/ 3862s # 3862s # /*** BEGIN value-tail ***/ 3862s # value-tail 3862s # EnumName: @EnumName@ 3862s # enum_name: @enum_name@ 3862s # ENUMNAME: @ENUMNAME@ 3862s # ENUMSHORT: @ENUMSHORT@ 3862s # ENUMPREFIX: @ENUMPREFIX@ 3862s # enumsince: @enumsince@ 3862s # type: @type@ 3862s # Type: @Type@ 3862s # TYPE: @TYPE@ 3862s # /*** END value-tail ***/ 3862s # 3862s # /*** BEGIN comment ***/ 3862s # comment 3862s # comment: @comment@ 3862s # /*** END comment ***/ 3862s # 3862s # /*** BEGIN file-tail ***/ 3862s # file-tail 3862s # /*** END file-tail ***/ 3862s # 3862s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpr6vdtfuu/tmpln46v1m0.template', '/tmp/tmpr6vdtfuu/tmpf3468kti.h'] 3862s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3862s # Output: comment 3862s # 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. 3862s # 3862s # 3862s # file-header 3862s # file-production 3862s # filename: /tmp/tmpr6vdtfuu/tmpf3468kti.h 3862s # basename: tmpf3468kti.h 3862s # enumeration-production 3862s # EnumName: TestCommaEnum 3862s # enum_name: test_comma_enum 3862s # ENUMNAME: TEST_COMMA_ENUM 3862s # ENUMSHORT: COMMA_ENUM 3862s # ENUMPREFIX: TEST 3862s # enumsince: 3862s # type: enum 3862s # Type: Enum 3862s # TYPE: ENUM 3862s # value-header 3862s # EnumName: TestCommaEnum 3862s # enum_name: test_comma_enum 3862s # ENUMNAME: TEST_COMMA_ENUM 3862s # ENUMSHORT: COMMA_ENUM 3862s # ENUMPREFIX: TEST 3862s # enumsince: 3862s # type: enum 3862s # Type: Enum 3862s # TYPE: ENUM 3862s # value-production 3862s # VALUENAME: ENUM_VALUE_WITH_COMMA 3862s # valuenick: comma 3862s # valuenum: 44 3862s # type: enum 3862s # Type: Enum 3862s # TYPE: ENUM 3862s # value-tail 3862s # EnumName: TestCommaEnum 3862s # enum_name: test_comma_enum 3862s # ENUMNAME: TEST_COMMA_ENUM 3862s # ENUMSHORT: COMMA_ENUM 3862s # ENUMPREFIX: TEST 3862s # enumsince: 3862s # type: enum 3862s # Type: Enum 3862s # TYPE: ENUM 3862s # file-tail 3862s # 3862s # comment 3862s # comment: Generated data ends here 3863s ok 3 __main__.TestMkenums.test_deprecated_in 3863s # tmpdir: /tmp/tmp1bykzofx 3863s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3863s # /tmp/tmp1bykzofx/tmpwaonze_2.h: 3863s # typedef enum { 3863s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 3863s # } GDBusServerFlags; 3863s # 3863s # /tmp/tmp1bykzofx/tmp08w4rmwh.template: 3863s # /*** BEGIN file-header ***/ 3863s # file-header 3863s # /*** END file-header ***/ 3863s # 3863s # /*** BEGIN file-production ***/ 3863s # file-production 3863s # filename: @filename@ 3863s # basename: @basename@ 3863s # /*** END file-production ***/ 3863s # 3863s # /*** BEGIN enumeration-production ***/ 3863s # enumeration-production 3863s # EnumName: @EnumName@ 3863s # enum_name: @enum_name@ 3863s # ENUMNAME: @ENUMNAME@ 3863s # ENUMSHORT: @ENUMSHORT@ 3863s # ENUMPREFIX: @ENUMPREFIX@ 3863s # enumsince: @enumsince@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END enumeration-production ***/ 3863s # 3863s # /*** BEGIN value-header ***/ 3863s # value-header 3863s # EnumName: @EnumName@ 3863s # enum_name: @enum_name@ 3863s # ENUMNAME: @ENUMNAME@ 3863s # ENUMSHORT: @ENUMSHORT@ 3863s # ENUMPREFIX: @ENUMPREFIX@ 3863s # enumsince: @enumsince@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END value-header ***/ 3863s # 3863s # /*** BEGIN value-production ***/ 3863s # value-production 3863s # VALUENAME: @VALUENAME@ 3863s # valuenick: @valuenick@ 3863s # valuenum: @valuenum@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END value-production ***/ 3863s # 3863s # /*** BEGIN value-tail ***/ 3863s # value-tail 3863s # EnumName: @EnumName@ 3863s # enum_name: @enum_name@ 3863s # ENUMNAME: @ENUMNAME@ 3863s # ENUMSHORT: @ENUMSHORT@ 3863s # ENUMPREFIX: @ENUMPREFIX@ 3863s # enumsince: @enumsince@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END value-tail ***/ 3863s # 3863s # /*** BEGIN comment ***/ 3863s # comment 3863s # comment: @comment@ 3863s # /*** END comment ***/ 3863s # 3863s # /*** BEGIN file-tail ***/ 3863s # file-tail 3863s # /*** END file-tail ***/ 3863s # 3863s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1bykzofx/tmp08w4rmwh.template', '/tmp/tmp1bykzofx/tmpwaonze_2.h'] 3863s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3863s # Output: comment 3863s # 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. 3863s # 3863s # 3863s # file-header 3863s # file-production 3863s # filename: /tmp/tmp1bykzofx/tmpwaonze_2.h 3863s # basename: tmpwaonze_2.h 3863s # enumeration-production 3863s # EnumName: GDBusServerFlags 3863s # enum_name: g_dbus_server_flags 3863s # ENUMNAME: G_DBUS_SERVER_FLAGS 3863s # ENUMSHORT: DBUS_SERVER_FLAGS 3863s # ENUMPREFIX: G 3863s # enumsince: 3863s # type: flags 3863s # Type: Flags 3863s # TYPE: FLAGS 3863s # value-header 3863s # EnumName: GDBusServerFlags 3863s # enum_name: g_dbus_server_flags 3863s # ENUMNAME: G_DBUS_SERVER_FLAGS 3863s # ENUMSHORT: DBUS_SERVER_FLAGS 3863s # ENUMPREFIX: G 3863s # enumsince: 3863s # type: flags 3863s # Type: Flags 3863s # TYPE: FLAGS 3863s # value-production 3863s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 3863s # valuenick: user 3863s # valuenum: 4 3863s # type: flags 3863s # Type: Flags 3863s # TYPE: FLAGS 3863s # value-tail 3863s # EnumName: GDBusServerFlags 3863s # enum_name: g_dbus_server_flags 3863s # ENUMNAME: G_DBUS_SERVER_FLAGS 3863s # ENUMSHORT: DBUS_SERVER_FLAGS 3863s # ENUMPREFIX: G 3863s # enumsince: 3863s # type: flags 3863s # Type: Flags 3863s # TYPE: FLAGS 3863s # file-tail 3863s # 3863s # comment 3863s # comment: Generated data ends here 3863s ok 4 __main__.TestMkenums.test_deprecated_in_for 3863s # tmpdir: /tmp/tmpfeysckah 3863s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3863s # /tmp/tmpfeysckah/tmp7pi0_u44.h: 3863s # typedef enum { 3863s # 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) 3863s # } GDBusServerFlags; 3863s # 3863s # /tmp/tmpfeysckah/tmp8rir4dgc.template: 3863s # /*** BEGIN file-header ***/ 3863s # file-header 3863s # /*** END file-header ***/ 3863s # 3863s # /*** BEGIN file-production ***/ 3863s # file-production 3863s # filename: @filename@ 3863s # basename: @basename@ 3863s # /*** END file-production ***/ 3863s # 3863s # /*** BEGIN enumeration-production ***/ 3863s # enumeration-production 3863s # EnumName: @EnumName@ 3863s # enum_name: @enum_name@ 3863s # ENUMNAME: @ENUMNAME@ 3863s # ENUMSHORT: @ENUMSHORT@ 3863s # ENUMPREFIX: @ENUMPREFIX@ 3863s # enumsince: @enumsince@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END enumeration-production ***/ 3863s # 3863s # /*** BEGIN value-header ***/ 3863s # value-header 3863s # EnumName: @EnumName@ 3863s # enum_name: @enum_name@ 3863s # ENUMNAME: @ENUMNAME@ 3863s # ENUMSHORT: @ENUMSHORT@ 3863s # ENUMPREFIX: @ENUMPREFIX@ 3863s # enumsince: @enumsince@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END value-header ***/ 3863s # 3863s # /*** BEGIN value-production ***/ 3863s # value-production 3863s # VALUENAME: @VALUENAME@ 3863s # valuenick: @valuenick@ 3863s # valuenum: @valuenum@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END value-production ***/ 3863s # 3863s # /*** BEGIN value-tail ***/ 3863s # value-tail 3863s # EnumName: @EnumName@ 3863s # enum_name: @enum_name@ 3863s # ENUMNAME: @ENUMNAME@ 3863s # ENUMSHORT: @ENUMSHORT@ 3863s # ENUMPREFIX: @ENUMPREFIX@ 3863s # enumsince: @enumsince@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END value-tail ***/ 3863s # 3863s # /*** BEGIN comment ***/ 3863s # comment 3863s # comment: @comment@ 3863s # /*** END comment ***/ 3863s # 3863s # /*** BEGIN file-tail ***/ 3863s # file-tail 3863s # /*** END file-tail ***/ 3863s # 3863s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfeysckah/tmp8rir4dgc.template', '/tmp/tmpfeysckah/tmp7pi0_u44.h'] 3863s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3863s # Output: comment 3863s # 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. 3863s # 3863s # 3863s # file-header 3863s # file-production 3863s # filename: /tmp/tmpfeysckah/tmp7pi0_u44.h 3863s # basename: tmp7pi0_u44.h 3863s # enumeration-production 3863s # EnumName: GDBusServerFlags 3863s # enum_name: g_dbus_server_flags 3863s # ENUMNAME: G_DBUS_SERVER_FLAGS 3863s # ENUMSHORT: DBUS_SERVER_FLAGS 3863s # ENUMPREFIX: G 3863s # enumsince: 3863s # type: flags 3863s # Type: Flags 3863s # TYPE: FLAGS 3863s # value-header 3863s # EnumName: GDBusServerFlags 3863s # enum_name: g_dbus_server_flags 3863s # ENUMNAME: G_DBUS_SERVER_FLAGS 3863s # ENUMSHORT: DBUS_SERVER_FLAGS 3863s # ENUMPREFIX: G 3863s # enumsince: 3863s # type: flags 3863s # Type: Flags 3863s # TYPE: FLAGS 3863s # value-production 3863s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 3863s # valuenick: user 3863s # valuenum: 4 3863s # type: flags 3863s # Type: Flags 3863s # TYPE: FLAGS 3863s # value-tail 3863s # EnumName: GDBusServerFlags 3863s # enum_name: g_dbus_server_flags 3863s # ENUMNAME: G_DBUS_SERVER_FLAGS 3863s # ENUMSHORT: DBUS_SERVER_FLAGS 3863s # ENUMPREFIX: G 3863s # enumsince: 3863s # type: flags 3863s # Type: Flags 3863s # TYPE: FLAGS 3863s # file-tail 3863s # 3863s # comment 3863s # comment: Generated data ends here 3863s ok 5 __main__.TestMkenums.test_empty_header 3863s # tmpdir: /tmp/tmp5tjv0t68 3863s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3863s # /tmp/tmp5tjv0t68/tmp2l_imekh.h: 3863s # /tmp/tmp5tjv0t68/tmp9gw2dgc0.template: 3863s # /*** BEGIN file-header ***/ 3863s # file-header 3863s # /*** END file-header ***/ 3863s # 3863s # /*** BEGIN file-production ***/ 3863s # file-production 3863s # filename: @filename@ 3863s # basename: @basename@ 3863s # /*** END file-production ***/ 3863s # 3863s # /*** BEGIN enumeration-production ***/ 3863s # enumeration-production 3863s # EnumName: @EnumName@ 3863s # enum_name: @enum_name@ 3863s # ENUMNAME: @ENUMNAME@ 3863s # ENUMSHORT: @ENUMSHORT@ 3863s # ENUMPREFIX: @ENUMPREFIX@ 3863s # enumsince: @enumsince@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END enumeration-production ***/ 3863s # 3863s # /*** BEGIN value-header ***/ 3863s # value-header 3863s # EnumName: @EnumName@ 3863s # enum_name: @enum_name@ 3863s # ENUMNAME: @ENUMNAME@ 3863s # ENUMSHORT: @ENUMSHORT@ 3863s # ENUMPREFIX: @ENUMPREFIX@ 3863s # enumsince: @enumsince@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END value-header ***/ 3863s # 3863s # /*** BEGIN value-production ***/ 3863s # value-production 3863s # VALUENAME: @VALUENAME@ 3863s # valuenick: @valuenick@ 3863s # valuenum: @valuenum@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END value-production ***/ 3863s # 3863s # /*** BEGIN value-tail ***/ 3863s # value-tail 3863s # EnumName: @EnumName@ 3863s # enum_name: @enum_name@ 3863s # ENUMNAME: @ENUMNAME@ 3863s # ENUMSHORT: @ENUMSHORT@ 3863s # ENUMPREFIX: @ENUMPREFIX@ 3863s # enumsince: @enumsince@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END value-tail ***/ 3863s # 3863s # /*** BEGIN comment ***/ 3863s # comment 3863s # comment: @comment@ 3863s # /*** END comment ***/ 3863s # 3863s # /*** BEGIN file-tail ***/ 3863s # file-tail 3863s # /*** END file-tail ***/ 3863s # 3863s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5tjv0t68/tmp9gw2dgc0.template', '/tmp/tmp5tjv0t68/tmp2l_imekh.h'] 3863s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3863s # Output: comment 3863s # 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. 3863s # 3863s # 3863s # file-header 3863s # file-tail 3863s # 3863s # comment 3863s # comment: Generated data ends here 3863s ok 6 __main__.TestMkenums.test_empty_template 3863s # tmpdir: /tmp/tmp8e9mk_y7 3863s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3863s # /tmp/tmp8e9mk_y7/tmpypxrtpr6.template: 3863s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8e9mk_y7/tmpypxrtpr6.template'] 3863s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3863s # 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. */ 3863s # 3863s # 3863s # /* Generated data ends here */ 3863s ok 7 __main__.TestMkenums.test_enum_name 3863s # tmpdir: /tmp/tmp9_w1r9qf 3863s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3863s # /tmp/tmp9_w1r9qf/tmpp_sm2le5.h: 3863s # typedef enum _SomeEnumIdentifier { 3863s # ENUM_VALUE 3863s # } SomeEnumIdentifier; 3863s # 3863s # /tmp/tmp9_w1r9qf/tmpzdvbhc7l.template: 3863s # /*** BEGIN file-header ***/ 3863s # file-header 3863s # /*** END file-header ***/ 3863s # 3863s # /*** BEGIN file-production ***/ 3863s # file-production 3863s # filename: @filename@ 3863s # basename: @basename@ 3863s # /*** END file-production ***/ 3863s # 3863s # /*** BEGIN enumeration-production ***/ 3863s # enumeration-production 3863s # EnumName: @EnumName@ 3863s # enum_name: @enum_name@ 3863s # ENUMNAME: @ENUMNAME@ 3863s # ENUMSHORT: @ENUMSHORT@ 3863s # ENUMPREFIX: @ENUMPREFIX@ 3863s # enumsince: @enumsince@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END enumeration-production ***/ 3863s # 3863s # /*** BEGIN value-header ***/ 3863s # value-header 3863s # EnumName: @EnumName@ 3863s # enum_name: @enum_name@ 3863s # ENUMNAME: @ENUMNAME@ 3863s # ENUMSHORT: @ENUMSHORT@ 3863s # ENUMPREFIX: @ENUMPREFIX@ 3863s # enumsince: @enumsince@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END value-header ***/ 3863s # 3863s # /*** BEGIN value-production ***/ 3863s # value-production 3863s # VALUENAME: @VALUENAME@ 3863s # valuenick: @valuenick@ 3863s # valuenum: @valuenum@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END value-production ***/ 3863s # 3863s # /*** BEGIN value-tail ***/ 3863s # value-tail 3863s # EnumName: @EnumName@ 3863s # enum_name: @enum_name@ 3863s # ENUMNAME: @ENUMNAME@ 3863s # ENUMSHORT: @ENUMSHORT@ 3863s # ENUMPREFIX: @ENUMPREFIX@ 3863s # enumsince: @enumsince@ 3863s # type: @type@ 3863s # Type: @Type@ 3863s # TYPE: @TYPE@ 3863s # /*** END value-tail ***/ 3863s # 3863s # /*** BEGIN comment ***/ 3863s # comment 3863s # comment: @comment@ 3863s # /*** END comment ***/ 3863s # 3863s # /*** BEGIN file-tail ***/ 3863s # file-tail 3863s # /*** END file-tail ***/ 3863s # 3863s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9_w1r9qf/tmpzdvbhc7l.template', '/tmp/tmp9_w1r9qf/tmpp_sm2le5.h'] 3863s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3863s # Output: comment 3863s # 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. 3863s # 3863s # 3863s # file-header 3863s # file-production 3863s # filename: /tmp/tmp9_w1r9qf/tmpp_sm2le5.h 3863s # basename: tmpp_sm2le5.h 3863s # enumeration-production 3863s # EnumName: SomeEnumIdentifier 3863s # enum_name: some_enum_identifier 3863s # ENUMNAME: SOME_ENUM_IDENTIFIER 3863s # ENUMSHORT: ENUM_IDENTIFIER 3863s # ENUMPREFIX: SOME 3863s # enumsince: 3863s # type: enum 3863s # Type: Enum 3863s # TYPE: ENUM 3863s # value-header 3863s # EnumName: SomeEnumIdentifier 3863s # enum_name: some_enum_identifier 3863s # ENUMNAME: SOME_ENUM_IDENTIFIER 3863s # ENUMSHORT: ENUM_IDENTIFIER 3863s # ENUMPREFIX: SOME 3863s # enumsince: 3863s # type: enum 3863s # Type: Enum 3863s # TYPE: ENUM 3863s # value-production 3863s # VALUENAME: ENUM_VALUE 3863s # valuenick: value 3863s # valuenum: 0 3863s # type: enum 3863s # Type: Enum 3863s # TYPE: ENUM 3863s # value-tail 3863s # EnumName: SomeEnumIdentifier 3863s # enum_name: some_enum_identifier 3863s # ENUMNAME: SOME_ENUM_IDENTIFIER 3863s # ENUMSHORT: ENUM_IDENTIFIER 3863s # ENUMPREFIX: SOME 3863s # enumsince: 3863s # type: enum 3863s # Type: Enum 3863s # TYPE: ENUM 3863s # file-tail 3863s # 3863s # comment 3863s # comment: Generated data ends here 3864s ok 8 __main__.TestMkenums.test_enum_private_public 3864s # tmpdir: /tmp/tmphof81gcr 3864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3864s # /tmp/tmphof81gcr/tmp5thf1asy.h: 3864s # typedef enum { 3864s # ENUM_VALUE_PUBLIC1, 3864s # /*< private >*/ 3864s # ENUM_VALUE_PRIVATE, 3864s # } SomeEnumA 3864s # 3864s # /tmp/tmphof81gcr/tmpd2_egui9.template: 3864s # /*** BEGIN file-header ***/ 3864s # file-header 3864s # /*** END file-header ***/ 3864s # 3864s # /*** BEGIN file-production ***/ 3864s # file-production 3864s # filename: @filename@ 3864s # basename: @basename@ 3864s # /*** END file-production ***/ 3864s # 3864s # /*** BEGIN enumeration-production ***/ 3864s # enumeration-production 3864s # EnumName: @EnumName@ 3864s # enum_name: @enum_name@ 3864s # ENUMNAME: @ENUMNAME@ 3864s # ENUMSHORT: @ENUMSHORT@ 3864s # ENUMPREFIX: @ENUMPREFIX@ 3864s # enumsince: @enumsince@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END enumeration-production ***/ 3864s # 3864s # /*** BEGIN value-header ***/ 3864s # value-header 3864s # EnumName: @EnumName@ 3864s # enum_name: @enum_name@ 3864s # ENUMNAME: @ENUMNAME@ 3864s # ENUMSHORT: @ENUMSHORT@ 3864s # ENUMPREFIX: @ENUMPREFIX@ 3864s # enumsince: @enumsince@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END value-header ***/ 3864s # 3864s # /*** BEGIN value-production ***/ 3864s # value-production 3864s # VALUENAME: @VALUENAME@ 3864s # valuenick: @valuenick@ 3864s # valuenum: @valuenum@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END value-production ***/ 3864s # 3864s # /*** BEGIN value-tail ***/ 3864s # value-tail 3864s # EnumName: @EnumName@ 3864s # enum_name: @enum_name@ 3864s # ENUMNAME: @ENUMNAME@ 3864s # ENUMSHORT: @ENUMSHORT@ 3864s # ENUMPREFIX: @ENUMPREFIX@ 3864s # enumsince: @enumsince@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END value-tail ***/ 3864s # 3864s # /*** BEGIN comment ***/ 3864s # comment 3864s # comment: @comment@ 3864s # /*** END comment ***/ 3864s # 3864s # /*** BEGIN file-tail ***/ 3864s # file-tail 3864s # /*** END file-tail ***/ 3864s # 3864s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphof81gcr/tmpd2_egui9.template', '/tmp/tmphof81gcr/tmp5thf1asy.h'] 3864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3864s # Output: comment 3864s # 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. 3864s # 3864s # 3864s # file-header 3864s # file-production 3864s # filename: /tmp/tmphof81gcr/tmp5thf1asy.h 3864s # basename: tmp5thf1asy.h 3864s # enumeration-production 3864s # EnumName: SomeEnumA 3864s # enum_name: some_enum_a 3864s # ENUMNAME: SOME_ENUM_A 3864s # ENUMSHORT: ENUM_A 3864s # ENUMPREFIX: SOME 3864s # enumsince: 3864s # type: enum 3864s # Type: Enum 3864s # TYPE: ENUM 3864s # value-header 3864s # EnumName: SomeEnumA 3864s # enum_name: some_enum_a 3864s # ENUMNAME: SOME_ENUM_A 3864s # ENUMSHORT: ENUM_A 3864s # ENUMPREFIX: SOME 3864s # enumsince: 3864s # type: enum 3864s # Type: Enum 3864s # TYPE: ENUM 3864s # value-production 3864s # VALUENAME: ENUM_VALUE_PUBLIC1 3864s # valuenick: public1 3864s # valuenum: 0 3864s # type: enum 3864s # Type: Enum 3864s # TYPE: ENUM 3864s # value-tail 3864s # EnumName: SomeEnumA 3864s # enum_name: some_enum_a 3864s # ENUMNAME: SOME_ENUM_A 3864s # ENUMSHORT: ENUM_A 3864s # ENUMPREFIX: SOME 3864s # enumsince: 3864s # type: enum 3864s # Type: Enum 3864s # TYPE: ENUM 3864s # file-tail 3864s # 3864s # comment 3864s # comment: Generated data ends here 3864s # /tmp/tmphof81gcr/tmp1hvra8n2.h: 3864s # typedef enum { 3864s # /*< private >*/ 3864s # ENUM_VALUE_PRIVATE, 3864s # /*< public >*/ 3864s # ENUM_VALUE_PUBLIC2, 3864s # } SomeEnumB; 3864s # 3864s # /tmp/tmphof81gcr/tmpv40ljivq.template: 3864s # /*** BEGIN file-header ***/ 3864s # file-header 3864s # /*** END file-header ***/ 3864s # 3864s # /*** BEGIN file-production ***/ 3864s # file-production 3864s # filename: @filename@ 3864s # basename: @basename@ 3864s # /*** END file-production ***/ 3864s # 3864s # /*** BEGIN enumeration-production ***/ 3864s # enumeration-production 3864s # EnumName: @EnumName@ 3864s # enum_name: @enum_name@ 3864s # ENUMNAME: @ENUMNAME@ 3864s # ENUMSHORT: @ENUMSHORT@ 3864s # ENUMPREFIX: @ENUMPREFIX@ 3864s # enumsince: @enumsince@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END enumeration-production ***/ 3864s # 3864s # /*** BEGIN value-header ***/ 3864s # value-header 3864s # EnumName: @EnumName@ 3864s # enum_name: @enum_name@ 3864s # ENUMNAME: @ENUMNAME@ 3864s # ENUMSHORT: @ENUMSHORT@ 3864s # ENUMPREFIX: @ENUMPREFIX@ 3864s # enumsince: @enumsince@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END value-header ***/ 3864s # 3864s # /*** BEGIN value-production ***/ 3864s # value-production 3864s # VALUENAME: @VALUENAME@ 3864s # valuenick: @valuenick@ 3864s # valuenum: @valuenum@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END value-production ***/ 3864s # 3864s # /*** BEGIN value-tail ***/ 3864s # value-tail 3864s # EnumName: @EnumName@ 3864s # enum_name: @enum_name@ 3864s # ENUMNAME: @ENUMNAME@ 3864s # ENUMSHORT: @ENUMSHORT@ 3864s # ENUMPREFIX: @ENUMPREFIX@ 3864s # enumsince: @enumsince@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END value-tail ***/ 3864s # 3864s # /*** BEGIN comment ***/ 3864s # comment 3864s # comment: @comment@ 3864s # /*** END comment ***/ 3864s # 3864s # /*** BEGIN file-tail ***/ 3864s # file-tail 3864s # /*** END file-tail ***/ 3864s # 3864s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphof81gcr/tmpv40ljivq.template', '/tmp/tmphof81gcr/tmp1hvra8n2.h'] 3864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3864s # Output: comment 3864s # 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. 3864s # 3864s # 3864s # file-header 3864s # file-production 3864s # filename: /tmp/tmphof81gcr/tmp1hvra8n2.h 3864s # basename: tmp1hvra8n2.h 3864s # enumeration-production 3864s # EnumName: SomeEnumB 3864s # enum_name: some_enum_b 3864s # ENUMNAME: SOME_ENUM_B 3864s # ENUMSHORT: ENUM_B 3864s # ENUMPREFIX: SOME 3864s # enumsince: 3864s # type: enum 3864s # Type: Enum 3864s # TYPE: ENUM 3864s # value-header 3864s # EnumName: SomeEnumB 3864s # enum_name: some_enum_b 3864s # ENUMNAME: SOME_ENUM_B 3864s # ENUMSHORT: ENUM_B 3864s # ENUMPREFIX: SOME 3864s # enumsince: 3864s # type: enum 3864s # Type: Enum 3864s # TYPE: ENUM 3864s # value-production 3864s # VALUENAME: ENUM_VALUE_PUBLIC2 3864s # valuenick: public2 3864s # valuenum: 1 3864s # type: enum 3864s # Type: Enum 3864s # TYPE: ENUM 3864s # value-tail 3864s # EnumName: SomeEnumB 3864s # enum_name: some_enum_b 3864s # ENUMNAME: SOME_ENUM_B 3864s # ENUMSHORT: ENUM_B 3864s # ENUMPREFIX: SOME 3864s # enumsince: 3864s # type: enum 3864s # Type: Enum 3864s # TYPE: ENUM 3864s # file-tail 3864s # 3864s # comment 3864s # comment: Generated data ends here 3864s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 3864s # tmpdir: /tmp/tmp4p9hedy1 3864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3864s # /tmp/tmp4p9hedy1/tmpyvq9t8zy.h: 3864s # typedef enum { 3864s # /*< private >*/ 3864s # ENUM_VALUE_PRIVATE = 5, 3864s # /*< public >*/ 3864s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 3864s # } TestSymbolicEnum; 3864s # 3864s # /tmp/tmp4p9hedy1/tmpd7xdariu.template: 3864s # /*** BEGIN file-header ***/ 3864s # file-header 3864s # /*** END file-header ***/ 3864s # 3864s # /*** BEGIN file-production ***/ 3864s # file-production 3864s # filename: @filename@ 3864s # basename: @basename@ 3864s # /*** END file-production ***/ 3864s # 3864s # /*** BEGIN enumeration-production ***/ 3864s # enumeration-production 3864s # EnumName: @EnumName@ 3864s # enum_name: @enum_name@ 3864s # ENUMNAME: @ENUMNAME@ 3864s # ENUMSHORT: @ENUMSHORT@ 3864s # ENUMPREFIX: @ENUMPREFIX@ 3864s # enumsince: @enumsince@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END enumeration-production ***/ 3864s # 3864s # /*** BEGIN value-header ***/ 3864s # value-header 3864s # EnumName: @EnumName@ 3864s # enum_name: @enum_name@ 3864s # ENUMNAME: @ENUMNAME@ 3864s # ENUMSHORT: @ENUMSHORT@ 3864s # ENUMPREFIX: @ENUMPREFIX@ 3864s # enumsince: @enumsince@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END value-header ***/ 3864s # 3864s # /*** BEGIN value-production ***/ 3864s # value-production 3864s # VALUENAME: @VALUENAME@ 3864s # valuenick: @valuenick@ 3864s # valuenum: @valuenum@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END value-production ***/ 3864s # 3864s # /*** BEGIN value-tail ***/ 3864s # value-tail 3864s # EnumName: @EnumName@ 3864s # enum_name: @enum_name@ 3864s # ENUMNAME: @ENUMNAME@ 3864s # ENUMSHORT: @ENUMSHORT@ 3864s # ENUMPREFIX: @ENUMPREFIX@ 3864s # enumsince: @enumsince@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END value-tail ***/ 3864s # 3864s # /*** BEGIN comment ***/ 3864s # comment 3864s # comment: @comment@ 3864s # /*** END comment ***/ 3864s # 3864s # /*** BEGIN file-tail ***/ 3864s # file-tail 3864s # /*** END file-tail ***/ 3864s # 3864s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp4p9hedy1/tmpd7xdariu.template', '/tmp/tmp4p9hedy1/tmpyvq9t8zy.h'] 3864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3864s # Output: comment 3864s # 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. 3864s # 3864s # 3864s # file-header 3864s # file-production 3864s # filename: /tmp/tmp4p9hedy1/tmpyvq9t8zy.h 3864s # basename: tmpyvq9t8zy.h 3864s # enumeration-production 3864s # EnumName: TestSymbolicEnum 3864s # enum_name: test_symbolic_enum 3864s # ENUMNAME: TEST_SYMBOLIC_ENUM 3864s # ENUMSHORT: SYMBOLIC_ENUM 3864s # ENUMPREFIX: TEST 3864s # enumsince: 3864s # type: enum 3864s # Type: Enum 3864s # TYPE: ENUM 3864s # value-header 3864s # EnumName: TestSymbolicEnum 3864s # enum_name: test_symbolic_enum 3864s # ENUMNAME: TEST_SYMBOLIC_ENUM 3864s # ENUMSHORT: SYMBOLIC_ENUM 3864s # ENUMPREFIX: TEST 3864s # enumsince: 3864s # type: enum 3864s # Type: Enum 3864s # TYPE: ENUM 3864s # value-production 3864s # VALUENAME: ENUM_VALUE_PUBLIC 3864s # valuenick: public 3864s # valuenum: 7 3864s # type: enum 3864s # Type: Enum 3864s # TYPE: ENUM 3864s # value-tail 3864s # EnumName: TestSymbolicEnum 3864s # enum_name: test_symbolic_enum 3864s # ENUMNAME: TEST_SYMBOLIC_ENUM 3864s # ENUMSHORT: SYMBOLIC_ENUM 3864s # ENUMPREFIX: TEST 3864s # enumsince: 3864s # type: enum 3864s # Type: Enum 3864s # TYPE: ENUM 3864s # file-tail 3864s # 3864s # comment 3864s # comment: Generated data ends here 3864s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 3864s # tmpdir: /tmp/tmpyg6smk15 3864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3864s # /tmp/tmpyg6smk15/tmpy3ghnp3u.template: 3864s # /*** BEGIN file-header ***/ 3864s # file-header 3864s # filename: @filename@ 3864s # basename: @basename@ 3864s # /*** END file-header ***/ 3864s # 3864s # /*** BEGIN comment ***/ 3864s # comment 3864s # comment: @comment@ 3864s # /*** END comment ***/ 3864s # 3864s # /*** BEGIN file-tail ***/ 3864s # file-tail 3864s # filename: @filename@ 3864s # basename: @basename@ 3864s # /*** END file-tail ***/ 3864s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyg6smk15/tmpy3ghnp3u.template'] 3864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3864s # Output: comment 3864s # 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. 3864s # 3864s # 3864s # file-header 3864s # filename: @filename@ 3864s # basename: @basename@ 3864s # file-tail 3864s # filename: @filename@ 3864s # basename: @basename@ 3864s # 3864s # comment 3864s # comment: Generated data ends here 3864s ok 11 __main__.TestMkenums.test_help 3864s # tmpdir: /tmp/tmpqu0gm6u9 3864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3864s # Running: ['/usr/bin/glib-mkenums', '--help'] 3864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3864s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 3864s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 3864s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 3864s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 3864s # [--comments COMMENT_TMPL] [--template TEMPLATE] 3864s # [--output OUTPUT] [--version] 3864s # [args ...] 3864s # 3864s # positional arguments: 3864s # args One or more input files, or a single argument 3864s # @rspfile_path pointing to a file that contains the 3864s # actual arguments 3864s # 3864s # options: 3864s # -h, --help show this help message and exit 3864s # --identifier-prefix IDPREFIX 3864s # Identifier prefix 3864s # --symbol-prefix SYMPREFIX 3864s # Symbol prefix 3864s # --fhead FHEAD Output file header 3864s # --ftail FTAIL Output file footer 3864s # --fprod FPROD Put out TEXT every time a new input file is being 3864s # processed. 3864s # --eprod EPROD Per enum text, produced prior to value iterations 3864s # --vhead VHEAD Value header, produced before iterating over enum 3864s # values 3864s # --vprod VPROD Value text, produced for each enum value. 3864s # --vtail VTAIL Value tail, produced after iterating over enum values 3864s # --comments COMMENT_TMPL 3864s # Comment structure 3864s # --template TEMPLATE Template file 3864s # --output OUTPUT 3864s # --version, -v Print version information 3864s # 3864s # Production text substitutions: 3864s # @EnumName@ PrefixTheXEnum 3864s # @enum_name@ prefix_the_xenum 3864s # @ENUMNAME@ PREFIX_THE_XENUM 3864s # @ENUMSHORT@ THE_XENUM 3864s # @ENUMPREFIX@ PREFIX 3864s # @enumsince@ the user-provided since value given 3864s # @VALUENAME@ PREFIX_THE_XVALUE 3864s # @valuenick@ the-xvalue 3864s # @valuenum@ the integer value (limited support, Since: 2.26) 3864s # @type@ either enum or flags 3864s # @Type@ either Enum or Flags 3864s # @TYPE@ either ENUM or FLAGS 3864s # @filename@ name of current input file 3864s # @basename@ base name of the current input file (Since: 2.22) 3864s ok 12 __main__.TestMkenums.test_no_args 3864s # tmpdir: /tmp/tmplv2wpgrl 3864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3864s # Running: ['/usr/bin/glib-mkenums'] 3864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3864s # 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. */ 3864s # 3864s # 3864s # /* Generated data ends here */ 3864s ok 13 __main__.TestMkenums.test_no_headers 3864s # tmpdir: /tmp/tmptrtowj3h 3864s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3864s # /tmp/tmptrtowj3h/tmp560szym9.template: 3864s # /*** BEGIN file-header ***/ 3864s # file-header 3864s # /*** END file-header ***/ 3864s # 3864s # /*** BEGIN file-production ***/ 3864s # file-production 3864s # filename: @filename@ 3864s # basename: @basename@ 3864s # /*** END file-production ***/ 3864s # 3864s # /*** BEGIN enumeration-production ***/ 3864s # enumeration-production 3864s # EnumName: @EnumName@ 3864s # enum_name: @enum_name@ 3864s # ENUMNAME: @ENUMNAME@ 3864s # ENUMSHORT: @ENUMSHORT@ 3864s # ENUMPREFIX: @ENUMPREFIX@ 3864s # enumsince: @enumsince@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END enumeration-production ***/ 3864s # 3864s # /*** BEGIN value-header ***/ 3864s # value-header 3864s # EnumName: @EnumName@ 3864s # enum_name: @enum_name@ 3864s # ENUMNAME: @ENUMNAME@ 3864s # ENUMSHORT: @ENUMSHORT@ 3864s # ENUMPREFIX: @ENUMPREFIX@ 3864s # enumsince: @enumsince@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END value-header ***/ 3864s # 3864s # /*** BEGIN value-production ***/ 3864s # value-production 3864s # VALUENAME: @VALUENAME@ 3864s # valuenick: @valuenick@ 3864s # valuenum: @valuenum@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END value-production ***/ 3864s # 3864s # /*** BEGIN value-tail ***/ 3864s # value-tail 3864s # EnumName: @EnumName@ 3864s # enum_name: @enum_name@ 3864s # ENUMNAME: @ENUMNAME@ 3864s # ENUMSHORT: @ENUMSHORT@ 3864s # ENUMPREFIX: @ENUMPREFIX@ 3864s # enumsince: @enumsince@ 3864s # type: @type@ 3864s # Type: @Type@ 3864s # TYPE: @TYPE@ 3864s # /*** END value-tail ***/ 3864s # 3864s # /*** BEGIN comment ***/ 3864s # comment 3864s # comment: @comment@ 3864s # /*** END comment ***/ 3864s # 3864s # /*** BEGIN file-tail ***/ 3864s # file-tail 3864s # /*** END file-tail ***/ 3864s # 3864s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmptrtowj3h/tmp560szym9.template'] 3864s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3864s # Output: comment 3864s # 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. 3864s # 3864s # 3864s # file-header 3864s # file-tail 3864s # 3864s # comment 3864s # comment: Generated data ends here 3865s ok 14 __main__.TestMkenums.test_no_nick 3865s # tmpdir: /tmp/tmp7ghw0hz3 3865s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3865s # /tmp/tmp7ghw0hz3/tmpq6aclt3k.h: 3865s # typedef enum { 3865s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 3865s # } GeglSamplerType; 3865s # 3865s # /tmp/tmp7ghw0hz3/tmpopx4o5dn.template: 3865s # /*** BEGIN file-header ***/ 3865s # file-header 3865s # /*** END file-header ***/ 3865s # 3865s # /*** BEGIN file-production ***/ 3865s # file-production 3865s # filename: @filename@ 3865s # basename: @basename@ 3865s # /*** END file-production ***/ 3865s # 3865s # /*** BEGIN enumeration-production ***/ 3865s # enumeration-production 3865s # EnumName: @EnumName@ 3865s # enum_name: @enum_name@ 3865s # ENUMNAME: @ENUMNAME@ 3865s # ENUMSHORT: @ENUMSHORT@ 3865s # ENUMPREFIX: @ENUMPREFIX@ 3865s # enumsince: @enumsince@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END enumeration-production ***/ 3865s # 3865s # /*** BEGIN value-header ***/ 3865s # value-header 3865s # EnumName: @EnumName@ 3865s # enum_name: @enum_name@ 3865s # ENUMNAME: @ENUMNAME@ 3865s # ENUMSHORT: @ENUMSHORT@ 3865s # ENUMPREFIX: @ENUMPREFIX@ 3865s # enumsince: @enumsince@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END value-header ***/ 3865s # 3865s # /*** BEGIN value-production ***/ 3865s # value-production 3865s # VALUENAME: @VALUENAME@ 3865s # valuenick: @valuenick@ 3865s # valuenum: @valuenum@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END value-production ***/ 3865s # 3865s # /*** BEGIN value-tail ***/ 3865s # value-tail 3865s # EnumName: @EnumName@ 3865s # enum_name: @enum_name@ 3865s # ENUMNAME: @ENUMNAME@ 3865s # ENUMSHORT: @ENUMSHORT@ 3865s # ENUMPREFIX: @ENUMPREFIX@ 3865s # enumsince: @enumsince@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END value-tail ***/ 3865s # 3865s # /*** BEGIN comment ***/ 3865s # comment 3865s # comment: @comment@ 3865s # /*** END comment ***/ 3865s # 3865s # /*** BEGIN file-tail ***/ 3865s # file-tail 3865s # /*** END file-tail ***/ 3865s # 3865s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7ghw0hz3/tmpopx4o5dn.template', '/tmp/tmp7ghw0hz3/tmpq6aclt3k.h'] 3865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3865s # Output: comment 3865s # 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. 3865s # 3865s # 3865s # file-header 3865s # file-production 3865s # filename: /tmp/tmp7ghw0hz3/tmpq6aclt3k.h 3865s # basename: tmpq6aclt3k.h 3865s # enumeration-production 3865s # EnumName: GeglSamplerType 3865s # enum_name: gegl_sampler_type 3865s # ENUMNAME: GEGL_SAMPLER_TYPE 3865s # ENUMSHORT: SAMPLER_TYPE 3865s # ENUMPREFIX: GEGL 3865s # enumsince: 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # value-header 3865s # EnumName: GeglSamplerType 3865s # enum_name: gegl_sampler_type 3865s # ENUMNAME: GEGL_SAMPLER_TYPE 3865s # ENUMSHORT: SAMPLER_TYPE 3865s # ENUMPREFIX: GEGL 3865s # enumsince: 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # value-production 3865s # VALUENAME: GEGL_SAMPLER_NEAREST 3865s # valuenick: nearest 3865s # valuenum: 0 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # value-tail 3865s # EnumName: GeglSamplerType 3865s # enum_name: gegl_sampler_type 3865s # ENUMNAME: GEGL_SAMPLER_TYPE 3865s # ENUMSHORT: SAMPLER_TYPE 3865s # ENUMPREFIX: GEGL 3865s # enumsince: 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # file-tail 3865s # 3865s # comment 3865s # comment: Generated data ends here 3865s ok 15 __main__.TestMkenums.test_non_utf8_encoding 3865s # tmpdir: /tmp/tmpbkd6n0aw 3865s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3865s # /tmp/tmpbkd6n0aw/tmppzw4pe0y.h: 3865s # /* Copyright © La Peña */ 3865s # typedef enum { 3865s # ENUM_VALUE 3865s # } SomeEnumIdentifier; 3865s # 3865s # /tmp/tmpbkd6n0aw/tmp15z5n6g4.template: 3865s # /*** BEGIN file-header ***/ 3865s # file-header 3865s # /*** END file-header ***/ 3865s # 3865s # /*** BEGIN file-production ***/ 3865s # file-production 3865s # filename: @filename@ 3865s # basename: @basename@ 3865s # /*** END file-production ***/ 3865s # 3865s # /*** BEGIN enumeration-production ***/ 3865s # enumeration-production 3865s # EnumName: @EnumName@ 3865s # enum_name: @enum_name@ 3865s # ENUMNAME: @ENUMNAME@ 3865s # ENUMSHORT: @ENUMSHORT@ 3865s # ENUMPREFIX: @ENUMPREFIX@ 3865s # enumsince: @enumsince@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END enumeration-production ***/ 3865s # 3865s # /*** BEGIN value-header ***/ 3865s # value-header 3865s # EnumName: @EnumName@ 3865s # enum_name: @enum_name@ 3865s # ENUMNAME: @ENUMNAME@ 3865s # ENUMSHORT: @ENUMSHORT@ 3865s # ENUMPREFIX: @ENUMPREFIX@ 3865s # enumsince: @enumsince@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END value-header ***/ 3865s # 3865s # /*** BEGIN value-production ***/ 3865s # value-production 3865s # VALUENAME: @VALUENAME@ 3865s # valuenick: @valuenick@ 3865s # valuenum: @valuenum@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END value-production ***/ 3865s # 3865s # /*** BEGIN value-tail ***/ 3865s # value-tail 3865s # EnumName: @EnumName@ 3865s # enum_name: @enum_name@ 3865s # ENUMNAME: @ENUMNAME@ 3865s # ENUMSHORT: @ENUMSHORT@ 3865s # ENUMPREFIX: @ENUMPREFIX@ 3865s # enumsince: @enumsince@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END value-tail ***/ 3865s # 3865s # /*** BEGIN comment ***/ 3865s # comment 3865s # comment: @comment@ 3865s # /*** END comment ***/ 3865s # 3865s # /*** BEGIN file-tail ***/ 3865s # file-tail 3865s # /*** END file-tail ***/ 3865s # 3865s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbkd6n0aw/tmp15z5n6g4.template', '/tmp/tmpbkd6n0aw/tmppzw4pe0y.h'] 3865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3865s # Output: comment 3865s # 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. 3865s # 3865s # 3865s # file-header 3865s # file-production 3865s # filename: /tmp/tmpbkd6n0aw/tmppzw4pe0y.h 3865s # basename: tmppzw4pe0y.h 3865s # enumeration-production 3865s # EnumName: SomeEnumIdentifier 3865s # enum_name: some_enum_identifier 3865s # ENUMNAME: SOME_ENUM_IDENTIFIER 3865s # ENUMSHORT: ENUM_IDENTIFIER 3865s # ENUMPREFIX: SOME 3865s # enumsince: 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # value-header 3865s # EnumName: SomeEnumIdentifier 3865s # enum_name: some_enum_identifier 3865s # ENUMNAME: SOME_ENUM_IDENTIFIER 3865s # ENUMSHORT: ENUM_IDENTIFIER 3865s # ENUMPREFIX: SOME 3865s # enumsince: 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # value-production 3865s # VALUENAME: ENUM_VALUE 3865s # valuenick: value 3865s # valuenum: 0 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # value-tail 3865s # EnumName: SomeEnumIdentifier 3865s # enum_name: some_enum_identifier 3865s # ENUMNAME: SOME_ENUM_IDENTIFIER 3865s # ENUMSHORT: ENUM_IDENTIFIER 3865s # ENUMPREFIX: SOME 3865s # enumsince: 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # file-tail 3865s # 3865s # comment 3865s # comment: Generated data ends here 3865s ok 16 __main__.TestMkenums.test_reproducible 3865s # tmpdir: /tmp/tmpvhm3o1qe 3865s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3865s # /tmp/tmpvhm3o1qe/tmp_kkr5ifp.template: template 3865s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvhm3o1qe/tmp_kkr5ifp.template', '/tmp/tmpvhm3o1qe/tmpjqkxr3kp1.h', '/tmp/tmpvhm3o1qe/tmp0yn_i0kd2.h'] 3865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3865s # 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. */ 3865s # 3865s # 3865s # /* Generated data ends here */ 3865s # /tmp/tmpvhm3o1qe/tmp3iczufj0.template: template 3865s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpvhm3o1qe/tmp3iczufj0.template', '/tmp/tmpvhm3o1qe/tmp0yn_i0kd2.h', '/tmp/tmpvhm3o1qe/tmpjqkxr3kp1.h'] 3865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3865s # 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. */ 3865s # 3865s # 3865s # /* Generated data ends here */ 3865s ok 17 __main__.TestMkenums.test_since 3865s # tmpdir: /tmp/tmp9kc2vtiv 3865s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3865s # /tmp/tmp9kc2vtiv/tmp1v6dmx3v.h: 3865s # typedef enum { /*< since=1.0 >*/ 3865s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 3865s # } QmiWmsMessageProtocol; 3865s # 3865s # /tmp/tmp9kc2vtiv/tmpvog8zdt2.template: 3865s # /*** BEGIN file-header ***/ 3865s # file-header 3865s # /*** END file-header ***/ 3865s # 3865s # /*** BEGIN file-production ***/ 3865s # file-production 3865s # filename: @filename@ 3865s # basename: @basename@ 3865s # /*** END file-production ***/ 3865s # 3865s # /*** BEGIN enumeration-production ***/ 3865s # enumeration-production 3865s # EnumName: @EnumName@ 3865s # enum_name: @enum_name@ 3865s # ENUMNAME: @ENUMNAME@ 3865s # ENUMSHORT: @ENUMSHORT@ 3865s # ENUMPREFIX: @ENUMPREFIX@ 3865s # enumsince: @enumsince@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END enumeration-production ***/ 3865s # 3865s # /*** BEGIN value-header ***/ 3865s # value-header 3865s # EnumName: @EnumName@ 3865s # enum_name: @enum_name@ 3865s # ENUMNAME: @ENUMNAME@ 3865s # ENUMSHORT: @ENUMSHORT@ 3865s # ENUMPREFIX: @ENUMPREFIX@ 3865s # enumsince: @enumsince@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END value-header ***/ 3865s # 3865s # /*** BEGIN value-production ***/ 3865s # value-production 3865s # VALUENAME: @VALUENAME@ 3865s # valuenick: @valuenick@ 3865s # valuenum: @valuenum@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END value-production ***/ 3865s # 3865s # /*** BEGIN value-tail ***/ 3865s # value-tail 3865s # EnumName: @EnumName@ 3865s # enum_name: @enum_name@ 3865s # ENUMNAME: @ENUMNAME@ 3865s # ENUMSHORT: @ENUMSHORT@ 3865s # ENUMPREFIX: @ENUMPREFIX@ 3865s # enumsince: @enumsince@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END value-tail ***/ 3865s # 3865s # /*** BEGIN comment ***/ 3865s # comment 3865s # comment: @comment@ 3865s # /*** END comment ***/ 3865s # 3865s # /*** BEGIN file-tail ***/ 3865s # file-tail 3865s # /*** END file-tail ***/ 3865s # 3865s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp9kc2vtiv/tmpvog8zdt2.template', '/tmp/tmp9kc2vtiv/tmp1v6dmx3v.h'] 3865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3865s # Output: comment 3865s # 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. 3865s # 3865s # 3865s # file-header 3865s # file-production 3865s # filename: /tmp/tmp9kc2vtiv/tmp1v6dmx3v.h 3865s # basename: tmp1v6dmx3v.h 3865s # enumeration-production 3865s # EnumName: QmiWmsMessageProtocol 3865s # enum_name: qmi_wms_message_protocol 3865s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 3865s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 3865s # ENUMPREFIX: QMI 3865s # enumsince: 1.0 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # value-header 3865s # EnumName: QmiWmsMessageProtocol 3865s # enum_name: qmi_wms_message_protocol 3865s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 3865s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 3865s # ENUMPREFIX: QMI 3865s # enumsince: 1.0 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # value-production 3865s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 3865s # valuenick: cdma 3865s # valuenum: 0 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # value-tail 3865s # EnumName: QmiWmsMessageProtocol 3865s # enum_name: qmi_wms_message_protocol 3865s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 3865s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 3865s # ENUMPREFIX: QMI 3865s # enumsince: 1.0 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # file-tail 3865s # 3865s # comment 3865s # comment: Generated data ends here 3865s ok 18 __main__.TestMkenums.test_with_double_quotes 3865s # tmpdir: /tmp/tmpwi1se1hy 3865s # rspfile: False, mkenums: /usr/bin/glib-mkenums 3865s # /tmp/tmpwi1se1hy/tmpjzgflyt_.h: 3865s # typedef enum { 3865s # FOO_VALUE /*< nick="eek, a comma" >*/ 3865s # } Foo; 3865s # 3865s # /tmp/tmpwi1se1hy/tmpjwcy5zef.template: 3865s # /*** BEGIN file-header ***/ 3865s # file-header 3865s # /*** END file-header ***/ 3865s # 3865s # /*** BEGIN file-production ***/ 3865s # file-production 3865s # filename: @filename@ 3865s # basename: @basename@ 3865s # /*** END file-production ***/ 3865s # 3865s # /*** BEGIN enumeration-production ***/ 3865s # enumeration-production 3865s # EnumName: @EnumName@ 3865s # enum_name: @enum_name@ 3865s # ENUMNAME: @ENUMNAME@ 3865s # ENUMSHORT: @ENUMSHORT@ 3865s # ENUMPREFIX: @ENUMPREFIX@ 3865s # enumsince: @enumsince@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END enumeration-production ***/ 3865s # 3865s # /*** BEGIN value-header ***/ 3865s # value-header 3865s # EnumName: @EnumName@ 3865s # enum_name: @enum_name@ 3865s # ENUMNAME: @ENUMNAME@ 3865s # ENUMSHORT: @ENUMSHORT@ 3865s # ENUMPREFIX: @ENUMPREFIX@ 3865s # enumsince: @enumsince@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END value-header ***/ 3865s # 3865s # /*** BEGIN value-production ***/ 3865s # value-production 3865s # VALUENAME: @VALUENAME@ 3865s # valuenick: @valuenick@ 3865s # valuenum: @valuenum@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END value-production ***/ 3865s # 3865s # /*** BEGIN value-tail ***/ 3865s # value-tail 3865s # EnumName: @EnumName@ 3865s # enum_name: @enum_name@ 3865s # ENUMNAME: @ENUMNAME@ 3865s # ENUMSHORT: @ENUMSHORT@ 3865s # ENUMPREFIX: @ENUMPREFIX@ 3865s # enumsince: @enumsince@ 3865s # type: @type@ 3865s # Type: @Type@ 3865s # TYPE: @TYPE@ 3865s # /*** END value-tail ***/ 3865s # 3865s # /*** BEGIN comment ***/ 3865s # comment 3865s # comment: @comment@ 3865s # /*** END comment ***/ 3865s # 3865s # /*** BEGIN file-tail ***/ 3865s # file-tail 3865s # /*** END file-tail ***/ 3865s # 3865s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpwi1se1hy/tmpjwcy5zef.template', '/tmp/tmpwi1se1hy/tmpjzgflyt_.h'] 3865s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3865s # Output: comment 3865s # 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. 3865s # 3865s # 3865s # file-header 3865s # file-production 3865s # filename: /tmp/tmpwi1se1hy/tmpjzgflyt_.h 3865s # basename: tmpjzgflyt_.h 3865s # enumeration-production 3865s # EnumName: Foo 3865s # enum_name: foo_ 3865s # ENUMNAME: FOO_ 3865s # ENUMSHORT: 3865s # ENUMPREFIX: FOO 3865s # enumsince: 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # value-header 3865s # EnumName: Foo 3865s # enum_name: foo_ 3865s # ENUMNAME: FOO_ 3865s # ENUMSHORT: 3865s # ENUMPREFIX: FOO 3865s # enumsince: 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # value-production 3865s # VALUENAME: FOO_VALUE 3865s # valuenick: eek, a comma 3865s # valuenum: 0 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # value-tail 3865s # EnumName: Foo 3865s # enum_name: foo_ 3865s # ENUMNAME: FOO_ 3865s # ENUMSHORT: 3865s # ENUMPREFIX: FOO 3865s # enumsince: 3865s # type: enum 3865s # Type: Enum 3865s # TYPE: ENUM 3865s # file-tail 3865s # 3865s # comment 3865s # comment: Generated data ends here 3866s ok 19 __main__.TestRspMkenums.test_available_in 3866s # tmpdir: /tmp/tmp2jxnovzs 3866s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3866s # /tmp/tmp2jxnovzs/tmp1a_ek4tt.h: 3866s # typedef enum { 3866s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 3866s # } GDBusServerFlags; 3866s # 3866s # /tmp/tmp2jxnovzs/tmpdudwt3ma.template: 3866s # /*** BEGIN file-header ***/ 3866s # file-header 3866s # /*** END file-header ***/ 3866s # 3866s # /*** BEGIN file-production ***/ 3866s # file-production 3866s # filename: @filename@ 3866s # basename: @basename@ 3866s # /*** END file-production ***/ 3866s # 3866s # /*** BEGIN enumeration-production ***/ 3866s # enumeration-production 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END enumeration-production ***/ 3866s # 3866s # /*** BEGIN value-header ***/ 3866s # value-header 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-header ***/ 3866s # 3866s # /*** BEGIN value-production ***/ 3866s # value-production 3866s # VALUENAME: @VALUENAME@ 3866s # valuenick: @valuenick@ 3866s # valuenum: @valuenum@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-production ***/ 3866s # 3866s # /*** BEGIN value-tail ***/ 3866s # value-tail 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-tail ***/ 3866s # 3866s # /*** BEGIN comment ***/ 3866s # comment 3866s # comment: @comment@ 3866s # /*** END comment ***/ 3866s # 3866s # /*** BEGIN file-tail ***/ 3866s # file-tail 3866s # /*** END file-tail ***/ 3866s # 3866s # Response file contains: --template /tmp/tmp2jxnovzs/tmpdudwt3ma.template /tmp/tmp2jxnovzs/tmp1a_ek4tt.h 3866s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2jxnovzs/tmphchborim'] 3866s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3866s # Output: comment 3866s # 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. 3866s # 3866s # 3866s # file-header 3866s # file-production 3866s # filename: /tmp/tmp2jxnovzs/tmp1a_ek4tt.h 3866s # basename: tmp1a_ek4tt.h 3866s # enumeration-production 3866s # EnumName: GDBusServerFlags 3866s # enum_name: g_dbus_server_flags 3866s # ENUMNAME: G_DBUS_SERVER_FLAGS 3866s # ENUMSHORT: DBUS_SERVER_FLAGS 3866s # ENUMPREFIX: G 3866s # enumsince: 3866s # type: flags 3866s # Type: Flags 3866s # TYPE: FLAGS 3866s # value-header 3866s # EnumName: GDBusServerFlags 3866s # enum_name: g_dbus_server_flags 3866s # ENUMNAME: G_DBUS_SERVER_FLAGS 3866s # ENUMSHORT: DBUS_SERVER_FLAGS 3866s # ENUMPREFIX: G 3866s # enumsince: 3866s # type: flags 3866s # Type: Flags 3866s # TYPE: FLAGS 3866s # value-production 3866s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 3866s # valuenick: user 3866s # valuenum: 4 3866s # type: flags 3866s # Type: Flags 3866s # TYPE: FLAGS 3866s # value-tail 3866s # EnumName: GDBusServerFlags 3866s # enum_name: g_dbus_server_flags 3866s # ENUMNAME: G_DBUS_SERVER_FLAGS 3866s # ENUMSHORT: DBUS_SERVER_FLAGS 3866s # ENUMPREFIX: G 3866s # enumsince: 3866s # type: flags 3866s # Type: Flags 3866s # TYPE: FLAGS 3866s # file-tail 3866s # 3866s # comment 3866s # comment: Generated data ends here 3866s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 3866s # tmpdir: /tmp/tmpcfnfoqns 3866s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3866s # /tmp/tmpcfnfoqns/tmp4304bo43.h: 3866s # typedef enum { 3866s # ENUM_VALUE_WITH_COMMA = ',', 3866s # } TestCommaEnum; 3866s # 3866s # /tmp/tmpcfnfoqns/tmpcn8v4q6l.template: 3866s # /*** BEGIN file-header ***/ 3866s # file-header 3866s # /*** END file-header ***/ 3866s # 3866s # /*** BEGIN file-production ***/ 3866s # file-production 3866s # filename: @filename@ 3866s # basename: @basename@ 3866s # /*** END file-production ***/ 3866s # 3866s # /*** BEGIN enumeration-production ***/ 3866s # enumeration-production 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END enumeration-production ***/ 3866s # 3866s # /*** BEGIN value-header ***/ 3866s # value-header 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-header ***/ 3866s # 3866s # /*** BEGIN value-production ***/ 3866s # value-production 3866s # VALUENAME: @VALUENAME@ 3866s # valuenick: @valuenick@ 3866s # valuenum: @valuenum@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-production ***/ 3866s # 3866s # /*** BEGIN value-tail ***/ 3866s # value-tail 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-tail ***/ 3866s # 3866s # /*** BEGIN comment ***/ 3866s # comment 3866s # comment: @comment@ 3866s # /*** END comment ***/ 3866s # 3866s # /*** BEGIN file-tail ***/ 3866s # file-tail 3866s # /*** END file-tail ***/ 3866s # 3866s # Response file contains: --template /tmp/tmpcfnfoqns/tmpcn8v4q6l.template /tmp/tmpcfnfoqns/tmp4304bo43.h 3866s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpcfnfoqns/tmpkc1w3c2o'] 3866s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3866s # Output: comment 3866s # 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. 3866s # 3866s # 3866s # file-header 3866s # file-production 3866s # filename: /tmp/tmpcfnfoqns/tmp4304bo43.h 3866s # basename: tmp4304bo43.h 3866s # enumeration-production 3866s # EnumName: TestCommaEnum 3866s # enum_name: test_comma_enum 3866s # ENUMNAME: TEST_COMMA_ENUM 3866s # ENUMSHORT: COMMA_ENUM 3866s # ENUMPREFIX: TEST 3866s # enumsince: 3866s # type: enum 3866s # Type: Enum 3866s # TYPE: ENUM 3866s # value-header 3866s # EnumName: TestCommaEnum 3866s # enum_name: test_comma_enum 3866s # ENUMNAME: TEST_COMMA_ENUM 3866s # ENUMSHORT: COMMA_ENUM 3866s # ENUMPREFIX: TEST 3866s # enumsince: 3866s # type: enum 3866s # Type: Enum 3866s # TYPE: ENUM 3866s # value-production 3866s # VALUENAME: ENUM_VALUE_WITH_COMMA 3866s # valuenick: comma 3866s # valuenum: 44 3866s # type: enum 3866s # Type: Enum 3866s # TYPE: ENUM 3866s # value-tail 3866s # EnumName: TestCommaEnum 3866s # enum_name: test_comma_enum 3866s # ENUMNAME: TEST_COMMA_ENUM 3866s # ENUMSHORT: COMMA_ENUM 3866s # ENUMPREFIX: TEST 3866s # enumsince: 3866s # type: enum 3866s # Type: Enum 3866s # TYPE: ENUM 3866s # file-tail 3866s # 3866s # comment 3866s # comment: Generated data ends here 3866s ok 21 __main__.TestRspMkenums.test_deprecated_in 3866s # tmpdir: /tmp/tmptthspnm9 3866s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3866s # /tmp/tmptthspnm9/tmpp3sarug1.h: 3866s # typedef enum { 3866s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 3866s # } GDBusServerFlags; 3866s # 3866s # /tmp/tmptthspnm9/tmp5nb_ddhh.template: 3866s # /*** BEGIN file-header ***/ 3866s # file-header 3866s # /*** END file-header ***/ 3866s # 3866s # /*** BEGIN file-production ***/ 3866s # file-production 3866s # filename: @filename@ 3866s # basename: @basename@ 3866s # /*** END file-production ***/ 3866s # 3866s # /*** BEGIN enumeration-production ***/ 3866s # enumeration-production 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END enumeration-production ***/ 3866s # 3866s # /*** BEGIN value-header ***/ 3866s # value-header 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-header ***/ 3866s # 3866s # /*** BEGIN value-production ***/ 3866s # value-production 3866s # VALUENAME: @VALUENAME@ 3866s # valuenick: @valuenick@ 3866s # valuenum: @valuenum@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-production ***/ 3866s # 3866s # /*** BEGIN value-tail ***/ 3866s # value-tail 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-tail ***/ 3866s # 3866s # /*** BEGIN comment ***/ 3866s # comment 3866s # comment: @comment@ 3866s # /*** END comment ***/ 3866s # 3866s # /*** BEGIN file-tail ***/ 3866s # file-tail 3866s # /*** END file-tail ***/ 3866s # 3866s # Response file contains: --template /tmp/tmptthspnm9/tmp5nb_ddhh.template /tmp/tmptthspnm9/tmpp3sarug1.h 3866s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmptthspnm9/tmpa2n319fd'] 3866s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3866s # Output: comment 3866s # 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. 3866s # 3866s # 3866s # file-header 3866s # file-production 3866s # filename: /tmp/tmptthspnm9/tmpp3sarug1.h 3866s # basename: tmpp3sarug1.h 3866s # enumeration-production 3866s # EnumName: GDBusServerFlags 3866s # enum_name: g_dbus_server_flags 3866s # ENUMNAME: G_DBUS_SERVER_FLAGS 3866s # ENUMSHORT: DBUS_SERVER_FLAGS 3866s # ENUMPREFIX: G 3866s # enumsince: 3866s # type: flags 3866s # Type: Flags 3866s # TYPE: FLAGS 3866s # value-header 3866s # EnumName: GDBusServerFlags 3866s # enum_name: g_dbus_server_flags 3866s # ENUMNAME: G_DBUS_SERVER_FLAGS 3866s # ENUMSHORT: DBUS_SERVER_FLAGS 3866s # ENUMPREFIX: G 3866s # enumsince: 3866s # type: flags 3866s # Type: Flags 3866s # TYPE: FLAGS 3866s # value-production 3866s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 3866s # valuenick: user 3866s # valuenum: 4 3866s # type: flags 3866s # Type: Flags 3866s # TYPE: FLAGS 3866s # value-tail 3866s # EnumName: GDBusServerFlags 3866s # enum_name: g_dbus_server_flags 3866s # ENUMNAME: G_DBUS_SERVER_FLAGS 3866s # ENUMSHORT: DBUS_SERVER_FLAGS 3866s # ENUMPREFIX: G 3866s # enumsince: 3866s # type: flags 3866s # Type: Flags 3866s # TYPE: FLAGS 3866s # file-tail 3866s # 3866s # comment 3866s # comment: Generated data ends here 3866s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 3866s # tmpdir: /tmp/tmphollsejm 3866s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3866s # /tmp/tmphollsejm/tmp4spj3btg.h: 3866s # typedef enum { 3866s # 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) 3866s # } GDBusServerFlags; 3866s # 3866s # /tmp/tmphollsejm/tmp7pvoer7b.template: 3866s # /*** BEGIN file-header ***/ 3866s # file-header 3866s # /*** END file-header ***/ 3866s # 3866s # /*** BEGIN file-production ***/ 3866s # file-production 3866s # filename: @filename@ 3866s # basename: @basename@ 3866s # /*** END file-production ***/ 3866s # 3866s # /*** BEGIN enumeration-production ***/ 3866s # enumeration-production 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END enumeration-production ***/ 3866s # 3866s # /*** BEGIN value-header ***/ 3866s # value-header 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-header ***/ 3866s # 3866s # /*** BEGIN value-production ***/ 3866s # value-production 3866s # VALUENAME: @VALUENAME@ 3866s # valuenick: @valuenick@ 3866s # valuenum: @valuenum@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-production ***/ 3866s # 3866s # /*** BEGIN value-tail ***/ 3866s # value-tail 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-tail ***/ 3866s # 3866s # /*** BEGIN comment ***/ 3866s # comment 3866s # comment: @comment@ 3866s # /*** END comment ***/ 3866s # 3866s # /*** BEGIN file-tail ***/ 3866s # file-tail 3866s # /*** END file-tail ***/ 3866s # 3866s # Response file contains: --template /tmp/tmphollsejm/tmp7pvoer7b.template /tmp/tmphollsejm/tmp4spj3btg.h 3866s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphollsejm/tmpeo39rmxl'] 3866s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3866s # Output: comment 3866s # 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. 3866s # 3866s # 3866s # file-header 3866s # file-production 3866s # filename: /tmp/tmphollsejm/tmp4spj3btg.h 3866s # basename: tmp4spj3btg.h 3866s # enumeration-production 3866s # EnumName: GDBusServerFlags 3866s # enum_name: g_dbus_server_flags 3866s # ENUMNAME: G_DBUS_SERVER_FLAGS 3866s # ENUMSHORT: DBUS_SERVER_FLAGS 3866s # ENUMPREFIX: G 3866s # enumsince: 3866s # type: flags 3866s # Type: Flags 3866s # TYPE: FLAGS 3866s # value-header 3866s # EnumName: GDBusServerFlags 3866s # enum_name: g_dbus_server_flags 3866s # ENUMNAME: G_DBUS_SERVER_FLAGS 3866s # ENUMSHORT: DBUS_SERVER_FLAGS 3866s # ENUMPREFIX: G 3866s # enumsince: 3866s # type: flags 3866s # Type: Flags 3866s # TYPE: FLAGS 3866s # value-production 3866s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 3866s # valuenick: user 3866s # valuenum: 4 3866s # type: flags 3866s # Type: Flags 3866s # TYPE: FLAGS 3866s # value-tail 3866s # EnumName: GDBusServerFlags 3866s # enum_name: g_dbus_server_flags 3866s # ENUMNAME: G_DBUS_SERVER_FLAGS 3866s # ENUMSHORT: DBUS_SERVER_FLAGS 3866s # ENUMPREFIX: G 3866s # enumsince: 3866s # type: flags 3866s # Type: Flags 3866s # TYPE: FLAGS 3866s # file-tail 3866s # 3866s # comment 3866s # comment: Generated data ends here 3866s ok 23 __main__.TestRspMkenums.test_empty_header 3866s # tmpdir: /tmp/tmpvqaefq9n 3866s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3866s # /tmp/tmpvqaefq9n/tmpqx7sctk3.h: 3866s # /tmp/tmpvqaefq9n/tmp3yyzgb32.template: 3866s # /*** BEGIN file-header ***/ 3866s # file-header 3866s # /*** END file-header ***/ 3866s # 3866s # /*** BEGIN file-production ***/ 3866s # file-production 3866s # filename: @filename@ 3866s # basename: @basename@ 3866s # /*** END file-production ***/ 3866s # 3866s # /*** BEGIN enumeration-production ***/ 3866s # enumeration-production 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END enumeration-production ***/ 3866s # 3866s # /*** BEGIN value-header ***/ 3866s # value-header 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-header ***/ 3866s # 3866s # /*** BEGIN value-production ***/ 3866s # value-production 3866s # VALUENAME: @VALUENAME@ 3866s # valuenick: @valuenick@ 3866s # valuenum: @valuenum@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-production ***/ 3866s # 3866s # /*** BEGIN value-tail ***/ 3866s # value-tail 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-tail ***/ 3866s # 3866s # /*** BEGIN comment ***/ 3866s # comment 3866s # comment: @comment@ 3866s # /*** END comment ***/ 3866s # 3866s # /*** BEGIN file-tail ***/ 3866s # file-tail 3866s # /*** END file-tail ***/ 3866s # 3866s # Response file contains: --template /tmp/tmpvqaefq9n/tmp3yyzgb32.template /tmp/tmpvqaefq9n/tmpqx7sctk3.h 3866s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpvqaefq9n/tmpyc4u2efy'] 3866s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3866s # Output: comment 3866s # 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. 3866s # 3866s # 3866s # file-header 3866s # file-tail 3866s # 3866s # comment 3866s # comment: Generated data ends here 3866s ok 24 __main__.TestRspMkenums.test_empty_template 3866s # tmpdir: /tmp/tmpovl_y054 3866s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3866s # /tmp/tmpovl_y054/tmp89w4xw1v.template: 3866s # Response file contains: --template /tmp/tmpovl_y054/tmp89w4xw1v.template 3866s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpovl_y054/tmpe8xf537k'] 3866s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3866s # 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. */ 3866s # 3866s # 3866s # /* Generated data ends here */ 3866s ok 25 __main__.TestRspMkenums.test_enum_name 3866s # tmpdir: /tmp/tmp8tpq3j0y 3866s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3866s # /tmp/tmp8tpq3j0y/tmp36y6wb7p.h: 3866s # typedef enum _SomeEnumIdentifier { 3866s # ENUM_VALUE 3866s # } SomeEnumIdentifier; 3866s # 3866s # /tmp/tmp8tpq3j0y/tmpotuszjog.template: 3866s # /*** BEGIN file-header ***/ 3866s # file-header 3866s # /*** END file-header ***/ 3866s # 3866s # /*** BEGIN file-production ***/ 3866s # file-production 3866s # filename: @filename@ 3866s # basename: @basename@ 3866s # /*** END file-production ***/ 3866s # 3866s # /*** BEGIN enumeration-production ***/ 3866s # enumeration-production 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END enumeration-production ***/ 3866s # 3866s # /*** BEGIN value-header ***/ 3866s # value-header 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-header ***/ 3866s # 3866s # /*** BEGIN value-production ***/ 3866s # value-production 3866s # VALUENAME: @VALUENAME@ 3866s # valuenick: @valuenick@ 3866s # valuenum: @valuenum@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-production ***/ 3866s # 3866s # /*** BEGIN value-tail ***/ 3866s # value-tail 3866s # EnumName: @EnumName@ 3866s # enum_name: @enum_name@ 3866s # ENUMNAME: @ENUMNAME@ 3866s # ENUMSHORT: @ENUMSHORT@ 3866s # ENUMPREFIX: @ENUMPREFIX@ 3866s # enumsince: @enumsince@ 3866s # type: @type@ 3866s # Type: @Type@ 3866s # TYPE: @TYPE@ 3866s # /*** END value-tail ***/ 3866s # 3866s # /*** BEGIN comment ***/ 3866s # comment 3866s # comment: @comment@ 3866s # /*** END comment ***/ 3866s # 3866s # /*** BEGIN file-tail ***/ 3866s # file-tail 3866s # /*** END file-tail ***/ 3866s # 3866s # Response file contains: --template /tmp/tmp8tpq3j0y/tmpotuszjog.template /tmp/tmp8tpq3j0y/tmp36y6wb7p.h 3866s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp8tpq3j0y/tmpf4blmz_p'] 3866s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3866s # Output: comment 3866s # 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. 3866s # 3866s # 3866s # file-header 3866s # file-production 3866s # filename: /tmp/tmp8tpq3j0y/tmp36y6wb7p.h 3866s # basename: tmp36y6wb7p.h 3866s # enumeration-production 3866s # EnumName: SomeEnumIdentifier 3866s # enum_name: some_enum_identifier 3866s # ENUMNAME: SOME_ENUM_IDENTIFIER 3866s # ENUMSHORT: ENUM_IDENTIFIER 3866s # ENUMPREFIX: SOME 3866s # enumsince: 3866s # type: enum 3866s # Type: Enum 3866s # TYPE: ENUM 3866s # value-header 3866s # EnumName: SomeEnumIdentifier 3866s # enum_name: some_enum_identifier 3866s # ENUMNAME: SOME_ENUM_IDENTIFIER 3866s # ENUMSHORT: ENUM_IDENTIFIER 3866s # ENUMPREFIX: SOME 3866s # enumsince: 3866s # type: enum 3866s # Type: Enum 3866s # TYPE: ENUM 3866s # value-production 3866s # VALUENAME: ENUM_VALUE 3866s # valuenick: value 3866s # valuenum: 0 3866s # type: enum 3866s # Type: Enum 3866s # TYPE: ENUM 3866s # value-tail 3866s # EnumName: SomeEnumIdentifier 3866s # enum_name: some_enum_identifier 3866s # ENUMNAME: SOME_ENUM_IDENTIFIER 3866s # ENUMSHORT: ENUM_IDENTIFIER 3866s # ENUMPREFIX: SOME 3866s # enumsince: 3866s # type: enum 3866s # Type: Enum 3866s # TYPE: ENUM 3866s # file-tail 3866s # 3866s # comment 3866s # comment: Generated data ends here 3867s ok 26 __main__.TestRspMkenums.test_enum_private_public 3867s # tmpdir: /tmp/tmp_3guug3r 3867s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3867s # /tmp/tmp_3guug3r/tmpe9b0choe.h: 3867s # typedef enum { 3867s # ENUM_VALUE_PUBLIC1, 3867s # /*< private >*/ 3867s # ENUM_VALUE_PRIVATE, 3867s # } SomeEnumA 3867s # 3867s # /tmp/tmp_3guug3r/tmpjyk7j_rz.template: 3867s # /*** BEGIN file-header ***/ 3867s # file-header 3867s # /*** END file-header ***/ 3867s # 3867s # /*** BEGIN file-production ***/ 3867s # file-production 3867s # filename: @filename@ 3867s # basename: @basename@ 3867s # /*** END file-production ***/ 3867s # 3867s # /*** BEGIN enumeration-production ***/ 3867s # enumeration-production 3867s # EnumName: @EnumName@ 3867s # enum_name: @enum_name@ 3867s # ENUMNAME: @ENUMNAME@ 3867s # ENUMSHORT: @ENUMSHORT@ 3867s # ENUMPREFIX: @ENUMPREFIX@ 3867s # enumsince: @enumsince@ 3867s # type: @type@ 3867s # Type: @Type@ 3867s # TYPE: @TYPE@ 3867s # /*** END enumeration-production ***/ 3867s # 3867s # /*** BEGIN value-header ***/ 3867s # value-header 3867s # EnumName: @EnumName@ 3867s # enum_name: @enum_name@ 3867s # ENUMNAME: @ENUMNAME@ 3867s # ENUMSHORT: @ENUMSHORT@ 3867s # ENUMPREFIX: @ENUMPREFIX@ 3867s # enumsince: @enumsince@ 3867s # type: @type@ 3867s # Type: @Type@ 3867s # TYPE: @TYPE@ 3867s # /*** END value-header ***/ 3867s # 3867s # /*** BEGIN value-production ***/ 3867s # value-production 3867s # VALUENAME: @VALUENAME@ 3867s # valuenick: @valuenick@ 3867s # valuenum: @valuenum@ 3867s # type: @type@ 3867s # Type: @Type@ 3867s # TYPE: @TYPE@ 3867s # /*** END value-production ***/ 3867s # 3867s # /*** BEGIN value-tail ***/ 3867s # value-tail 3867s # EnumName: @EnumName@ 3867s # enum_name: @enum_name@ 3867s # ENUMNAME: @ENUMNAME@ 3867s # ENUMSHORT: @ENUMSHORT@ 3867s # ENUMPREFIX: @ENUMPREFIX@ 3867s # enumsince: @enumsince@ 3867s # type: @type@ 3867s # Type: @Type@ 3867s # TYPE: @TYPE@ 3867s # /*** END value-tail ***/ 3867s # 3867s # /*** BEGIN comment ***/ 3867s # comment 3867s # comment: @comment@ 3867s # /*** END comment ***/ 3867s # 3867s # /*** BEGIN file-tail ***/ 3867s # file-tail 3867s # /*** END file-tail ***/ 3867s # 3867s # Response file contains: --template /tmp/tmp_3guug3r/tmpjyk7j_rz.template /tmp/tmp_3guug3r/tmpe9b0choe.h 3867s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_3guug3r/tmpq760oe3u'] 3867s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3867s # Output: comment 3867s # 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. 3867s # 3867s # 3867s # file-header 3867s # file-production 3867s # filename: /tmp/tmp_3guug3r/tmpe9b0choe.h 3867s # basename: tmpe9b0choe.h 3867s # enumeration-production 3867s # EnumName: SomeEnumA 3867s # enum_name: some_enum_a 3867s # ENUMNAME: SOME_ENUM_A 3867s # ENUMSHORT: ENUM_A 3867s # ENUMPREFIX: SOME 3867s # enumsince: 3867s # type: enum 3867s # Type: Enum 3867s # TYPE: ENUM 3867s # value-header 3867s # EnumName: SomeEnumA 3867s # enum_name: some_enum_a 3867s # ENUMNAME: SOME_ENUM_A 3867s # ENUMSHORT: ENUM_A 3867s # ENUMPREFIX: SOME 3867s # enumsince: 3867s # type: enum 3867s # Type: Enum 3867s # TYPE: ENUM 3867s # value-production 3867s # VALUENAME: ENUM_VALUE_PUBLIC1 3867s # valuenick: public1 3867s # valuenum: 0 3867s # type: enum 3867s # Type: Enum 3867s # TYPE: ENUM 3867s # value-tail 3867s # EnumName: SomeEnumA 3867s # enum_name: some_enum_a 3867s # ENUMNAME: SOME_ENUM_A 3867s # ENUMSHORT: ENUM_A 3867s # ENUMPREFIX: SOME 3867s # enumsince: 3867s # type: enum 3867s # Type: Enum 3867s # TYPE: ENUM 3867s # file-tail 3867s # 3867s # comment 3867s # comment: Generated data ends here 3867s # /tmp/tmp_3guug3r/tmpx_39959j.h: 3867s # typedef enum { 3867s # /*< private >*/ 3867s # ENUM_VALUE_PRIVATE, 3867s # /*< public >*/ 3867s # ENUM_VALUE_PUBLIC2, 3867s # } SomeEnumB; 3867s # 3867s # /tmp/tmp_3guug3r/tmp3hgpjs_q.template: 3867s # /*** BEGIN file-header ***/ 3867s # file-header 3867s # /*** END file-header ***/ 3867s # 3867s # /*** BEGIN file-production ***/ 3867s # file-production 3867s # filename: @filename@ 3867s # basename: @basename@ 3867s # /*** END file-production ***/ 3867s # 3867s # /*** BEGIN enumeration-production ***/ 3867s # enumeration-production 3867s # EnumName: @EnumName@ 3867s # enum_name: @enum_name@ 3867s # ENUMNAME: @ENUMNAME@ 3867s # ENUMSHORT: @ENUMSHORT@ 3867s # ENUMPREFIX: @ENUMPREFIX@ 3867s # enumsince: @enumsince@ 3867s # type: @type@ 3867s # Type: @Type@ 3867s # TYPE: @TYPE@ 3867s # /*** END enumeration-production ***/ 3867s # 3867s # /*** BEGIN value-header ***/ 3867s # value-header 3867s # EnumName: @EnumName@ 3867s # enum_name: @enum_name@ 3867s # ENUMNAME: @ENUMNAME@ 3867s # ENUMSHORT: @ENUMSHORT@ 3867s # ENUMPREFIX: @ENUMPREFIX@ 3867s # enumsince: @enumsince@ 3867s # type: @type@ 3867s # Type: @Type@ 3867s # TYPE: @TYPE@ 3867s # /*** END value-header ***/ 3867s # 3867s # /*** BEGIN value-production ***/ 3867s # value-production 3867s # VALUENAME: @VALUENAME@ 3867s # valuenick: @valuenick@ 3867s # valuenum: @valuenum@ 3867s # type: @type@ 3867s # Type: @Type@ 3867s # TYPE: @TYPE@ 3867s # /*** END value-production ***/ 3867s # 3867s # /*** BEGIN value-tail ***/ 3867s # value-tail 3867s # EnumName: @EnumName@ 3867s # enum_name: @enum_name@ 3867s # ENUMNAME: @ENUMNAME@ 3867s # ENUMSHORT: @ENUMSHORT@ 3867s # ENUMPREFIX: @ENUMPREFIX@ 3867s # enumsince: @enumsince@ 3867s # type: @type@ 3867s # Type: @Type@ 3867s # TYPE: @TYPE@ 3867s # /*** END value-tail ***/ 3867s # 3867s # /*** BEGIN comment ***/ 3867s # comment 3867s # comment: @comment@ 3867s # /*** END comment ***/ 3867s # 3867s # /*** BEGIN file-tail ***/ 3867s # file-tail 3867s # /*** END file-tail ***/ 3867s # 3867s # Response file contains: --template /tmp/tmp_3guug3r/tmp3hgpjs_q.template /tmp/tmp_3guug3r/tmpx_39959j.h 3867s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_3guug3r/tmpod_8trlk'] 3867s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3867s # Output: comment 3867s # 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. 3867s # 3867s # 3867s # file-header 3867s # file-production 3867s # filename: /tmp/tmp_3guug3r/tmpx_39959j.h 3867s # basename: tmpx_39959j.h 3867s # enumeration-production 3867s # EnumName: SomeEnumB 3867s # enum_name: some_enum_b 3867s # ENUMNAME: SOME_ENUM_B 3867s # ENUMSHORT: ENUM_B 3867s # ENUMPREFIX: SOME 3867s # enumsince: 3867s # type: enum 3867s # Type: Enum 3867s # TYPE: ENUM 3867s # value-header 3867s # EnumName: SomeEnumB 3867s # enum_name: some_enum_b 3867s # ENUMNAME: SOME_ENUM_B 3867s # ENUMSHORT: ENUM_B 3867s # ENUMPREFIX: SOME 3867s # enumsince: 3867s # type: enum 3867s # Type: Enum 3867s # TYPE: ENUM 3867s # value-production 3867s # VALUENAME: ENUM_VALUE_PUBLIC2 3867s # valuenick: public2 3867s # valuenum: 1 3867s # type: enum 3867s # Type: Enum 3867s # TYPE: ENUM 3867s # value-tail 3867s # EnumName: SomeEnumB 3867s # enum_name: some_enum_b 3867s # ENUMNAME: SOME_ENUM_B 3867s # ENUMSHORT: ENUM_B 3867s # ENUMPREFIX: SOME 3867s # enumsince: 3867s # type: enum 3867s # Type: Enum 3867s # TYPE: ENUM 3867s # file-tail 3867s # 3867s # comment 3867s # comment: Generated data ends here 3867s # Executing: glib/mkenums.py.test 3867s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 3867s # tmpdir: /tmp/tmpwfdac4la 3867s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3867s # /tmp/tmpwfdac4la/tmpl7el66la.h: 3867s # typedef enum { 3867s # /*< private >*/ 3867s # ENUM_VALUE_PRIVATE = 5, 3867s # /*< public >*/ 3867s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 3867s # } TestSymbolicEnum; 3867s # 3867s # /tmp/tmpwfdac4la/tmp7ngc777_.template: 3867s # /*** BEGIN file-header ***/ 3867s # file-header 3867s # /*** END file-header ***/ 3867s # 3867s # /*** BEGIN file-production ***/ 3867s # file-production 3867s # filename: @filename@ 3867s # basename: @basename@ 3867s # /*** END file-production ***/ 3867s # 3867s # /*** BEGIN enumeration-production ***/ 3867s # enumeration-production 3867s # EnumName: @EnumName@ 3867s # enum_name: @enum_name@ 3867s # ENUMNAME: @ENUMNAME@ 3867s # ENUMSHORT: @ENUMSHORT@ 3867s # ENUMPREFIX: @ENUMPREFIX@ 3867s # enumsince: @enumsince@ 3867s # type: @type@ 3867s # Type: @Type@ 3867s # TYPE: @TYPE@ 3867s # /*** END enumeration-production ***/ 3867s # 3867s # /*** BEGIN value-header ***/ 3867s # value-header 3867s # EnumName: @EnumName@ 3867s # enum_name: @enum_name@ 3867s # ENUMNAME: @ENUMNAME@ 3867s # ENUMSHORT: @ENUMSHORT@ 3867s # ENUMPREFIX: @ENUMPREFIX@ 3867s # enumsince: @enumsince@ 3867s # type: @type@ 3867s # Type: @Type@ 3867s # TYPE: @TYPE@ 3867s # /*** END value-header ***/ 3867s # 3867s # /*** BEGIN value-production ***/ 3867s # value-production 3867s # VALUENAME: @VALUENAME@ 3867s # valuenick: @valuenick@ 3867s # valuenum: @valuenum@ 3867s # type: @type@ 3867s # Type: @Type@ 3867s # TYPE: @TYPE@ 3867s # /*** END value-production ***/ 3867s # 3867s # /*** BEGIN value-tail ***/ 3867s # value-tail 3867s # EnumName: @EnumName@ 3867s # enum_name: @enum_name@ 3867s # ENUMNAME: @ENUMNAME@ 3867s # ENUMSHORT: @ENUMSHORT@ 3867s # ENUMPREFIX: @ENUMPREFIX@ 3867s # enumsince: @enumsince@ 3867s # type: @type@ 3867s # Type: @Type@ 3867s # TYPE: @TYPE@ 3867s # /*** END value-tail ***/ 3867s # 3867s # /*** BEGIN comment ***/ 3867s # comment 3867s # comment: @comment@ 3867s # /*** END comment ***/ 3867s # 3867s # /*** BEGIN file-tail ***/ 3867s # file-tail 3867s # /*** END file-tail ***/ 3867s # 3867s # Response file contains: --template /tmp/tmpwfdac4la/tmp7ngc777_.template /tmp/tmpwfdac4la/tmpl7el66la.h 3867s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwfdac4la/tmp5menipfy'] 3867s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3867s # Output: comment 3867s # 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. 3867s # 3867s # 3867s # file-header 3867s # file-production 3867s # filename: /tmp/tmpwfdac4la/tmpl7el66la.h 3867s # basename: tmpl7el66la.h 3867s # enumeration-production 3867s # EnumName: TestSymbolicEnum 3867s # enum_name: test_symbolic_enum 3867s # ENUMNAME: TEST_SYMBOLIC_ENUM 3867s # ENUMSHORT: SYMBOLIC_ENUM 3867s # ENUMPREFIX: TEST 3867s # enumsince: 3867s # type: enum 3867s # Type: Enum 3867s # TYPE: ENUM 3867s # value-header 3867s # EnumName: TestSymbolicEnum 3867s # enum_name: test_symbolic_enum 3867s # ENUMNAME: TEST_SYMBOLIC_ENUM 3867s # ENUMSHORT: SYMBOLIC_ENUM 3867s # ENUMPREFIX: TEST 3867s # enumsince: 3867s # type: enum 3867s # Type: Enum 3867s # TYPE: ENUM 3867s # value-production 3867s # VALUENAME: ENUM_VALUE_PUBLIC 3867s # valuenick: public 3867s # valuenum: 7 3867s # type: enum 3867s # Type: Enum 3867s # TYPE: ENUM 3867s # value-tail 3867s # EnumName: TestSymbolicEnum 3867s # enum_name: test_symbolic_enum 3867s # ENUMNAME: TEST_SYMBOLIC_ENUM 3867s # ENUMSHORT: SYMBOLIC_ENUM 3867s # ENUMPREFIX: TEST 3867s # enumsince: 3867s # type: enum 3867s # Type: Enum 3867s # TYPE: ENUM 3867s # file-tail 3867s # 3867s # comment 3867s # comment: Generated data ends here 3867s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 3867s # tmpdir: /tmp/tmpchrums1n 3867s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3867s # /tmp/tmpchrums1n/tmpq_mevo92.template: 3867s # /*** BEGIN file-header ***/ 3867s # file-header 3867s # filename: @filename@ 3867s # basename: @basename@ 3867s # /*** END file-header ***/ 3867s # 3867s # /*** BEGIN comment ***/ 3867s # comment 3867s # comment: @comment@ 3867s # /*** END comment ***/ 3867s # 3867s # /*** BEGIN file-tail ***/ 3867s # file-tail 3867s # filename: @filename@ 3867s # basename: @basename@ 3867s # /*** END file-tail ***/ 3867s # Response file contains: --template /tmp/tmpchrums1n/tmpq_mevo92.template 3867s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpchrums1n/tmpnwatw39e'] 3867s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3867s # Output: comment 3867s # 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. 3867s # 3867s # 3867s # file-header 3867s # filename: @filename@ 3867s # basename: @basename@ 3867s # file-tail 3867s # filename: @filename@ 3867s # basename: @basename@ 3867s # 3867s # comment 3867s # comment: Generated data ends here 3867s ok 29 __main__.TestRspMkenums.test_help 3867s # tmpdir: /tmp/tmp39ov1w_0 3867s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3867s # Response file contains: --help 3867s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp39ov1w_0/tmppbge5x7e'] 3867s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3867s # Output: usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 3867s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 3867s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 3867s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 3867s # [--comments COMMENT_TMPL] [--template TEMPLATE] 3867s # [--output OUTPUT] [--version] 3867s # [args ...] 3867s # 3867s # positional arguments: 3867s # args One or more input files, or a single argument 3867s # @rspfile_path pointing to a file that contains the 3867s # actual arguments 3867s # 3867s # options: 3867s # -h, --help show this help message and exit 3867s # --identifier-prefix IDPREFIX 3867s # Identifier prefix 3867s # --symbol-prefix SYMPREFIX 3867s # Symbol prefix 3867s # --fhead FHEAD Output file header 3867s # --ftail FTAIL Output file footer 3867s # --fprod FPROD Put out TEXT every time a new input file is being 3867s # processed. 3867s # --eprod EPROD Per enum text, produced prior to value iterations 3867s # --vhead VHEAD Value header, produced before iterating over enum 3867s # values 3867s # --vprod VPROD Value text, produced for each enum value. 3867s # --vtail VTAIL Value tail, produced after iterating over enum values 3867s # --comments COMMENT_TMPL 3867s # Comment structure 3867s # --template TEMPLATE Template file 3867s # --output OUTPUT 3867s # --version, -v Print version information 3867s # 3867s # Production text substitutions: 3867s # @EnumName@ PrefixTheXEnum 3867s # @enum_name@ prefix_the_xenum 3867s # @ENUMNAME@ PREFIX_THE_XENUM 3867s # @ENUMSHORT@ THE_XENUM 3867s # @ENUMPREFIX@ PREFIX 3867s # @enumsince@ the user-provided since value given 3867s # @VALUENAME@ PREFIX_THE_XVALUE 3867s # @valuenick@ the-xvalue 3867s # @valuenum@ the integer value (limited support, Since: 2.26) 3867s # @type@ either enum or flags 3867s # @Type@ either Enum or Flags 3867s # @TYPE@ either ENUM or FLAGS 3867s # @filename@ name of current input file 3867s # @basename@ base name of the current input file (Since: 2.22) 3867s ok 30 __main__.TestRspMkenums.test_no_args 3867s # tmpdir: /tmp/tmpw6b3e6bn 3867s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3867s # Response file contains: 3867s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpw6b3e6bn/tmpp3u74qlh'] 3867s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3867s # 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. */ 3867s # 3867s # 3867s # /* Generated data ends here */ 3868s ok 31 __main__.TestRspMkenums.test_no_headers 3868s # tmpdir: /tmp/tmp2hgjevne 3868s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3868s # /tmp/tmp2hgjevne/tmpu6mg3cgg.template: 3868s # /*** BEGIN file-header ***/ 3868s # file-header 3868s # /*** END file-header ***/ 3868s # 3868s # /*** BEGIN file-production ***/ 3868s # file-production 3868s # filename: @filename@ 3868s # basename: @basename@ 3868s # /*** END file-production ***/ 3868s # 3868s # /*** BEGIN enumeration-production ***/ 3868s # enumeration-production 3868s # EnumName: @EnumName@ 3868s # enum_name: @enum_name@ 3868s # ENUMNAME: @ENUMNAME@ 3868s # ENUMSHORT: @ENUMSHORT@ 3868s # ENUMPREFIX: @ENUMPREFIX@ 3868s # enumsince: @enumsince@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END enumeration-production ***/ 3868s # 3868s # /*** BEGIN value-header ***/ 3868s # value-header 3868s # EnumName: @EnumName@ 3868s # enum_name: @enum_name@ 3868s # ENUMNAME: @ENUMNAME@ 3868s # ENUMSHORT: @ENUMSHORT@ 3868s # ENUMPREFIX: @ENUMPREFIX@ 3868s # enumsince: @enumsince@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END value-header ***/ 3868s # 3868s # /*** BEGIN value-production ***/ 3868s # value-production 3868s # VALUENAME: @VALUENAME@ 3868s # valuenick: @valuenick@ 3868s # valuenum: @valuenum@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END value-production ***/ 3868s # 3868s # /*** BEGIN value-tail ***/ 3868s # value-tail 3868s # EnumName: @EnumName@ 3868s # enum_name: @enum_name@ 3868s # ENUMNAME: @ENUMNAME@ 3868s # ENUMSHORT: @ENUMSHORT@ 3868s # ENUMPREFIX: @ENUMPREFIX@ 3868s # enumsince: @enumsince@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END value-tail ***/ 3868s # 3868s # /*** BEGIN comment ***/ 3868s # comment 3868s # comment: @comment@ 3868s # /*** END comment ***/ 3868s # 3868s # /*** BEGIN file-tail ***/ 3868s # file-tail 3868s # /*** END file-tail ***/ 3868s # 3868s # Response file contains: --template /tmp/tmp2hgjevne/tmpu6mg3cgg.template 3868s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2hgjevne/tmpishk7ldh'] 3868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3868s # Output: comment 3868s # 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. 3868s # 3868s # 3868s # file-header 3868s # file-tail 3868s # 3868s # comment 3868s # comment: Generated data ends here 3868s ok 32 __main__.TestRspMkenums.test_no_nick 3868s # tmpdir: /tmp/tmpgnvztmfm 3868s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3868s # /tmp/tmpgnvztmfm/tmpckzs8cft.h: 3868s # typedef enum { 3868s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 3868s # } GeglSamplerType; 3868s # 3868s # /tmp/tmpgnvztmfm/tmpu_dkyc6v.template: 3868s # /*** BEGIN file-header ***/ 3868s # file-header 3868s # /*** END file-header ***/ 3868s # 3868s # /*** BEGIN file-production ***/ 3868s # file-production 3868s # filename: @filename@ 3868s # basename: @basename@ 3868s # /*** END file-production ***/ 3868s # 3868s # /*** BEGIN enumeration-production ***/ 3868s # enumeration-production 3868s # EnumName: @EnumName@ 3868s # enum_name: @enum_name@ 3868s # ENUMNAME: @ENUMNAME@ 3868s # ENUMSHORT: @ENUMSHORT@ 3868s # ENUMPREFIX: @ENUMPREFIX@ 3868s # enumsince: @enumsince@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END enumeration-production ***/ 3868s # 3868s # /*** BEGIN value-header ***/ 3868s # value-header 3868s # EnumName: @EnumName@ 3868s # enum_name: @enum_name@ 3868s # ENUMNAME: @ENUMNAME@ 3868s # ENUMSHORT: @ENUMSHORT@ 3868s # ENUMPREFIX: @ENUMPREFIX@ 3868s # enumsince: @enumsince@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END value-header ***/ 3868s # 3868s # /*** BEGIN value-production ***/ 3868s # value-production 3868s # VALUENAME: @VALUENAME@ 3868s # valuenick: @valuenick@ 3868s # valuenum: @valuenum@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END value-production ***/ 3868s # 3868s # /*** BEGIN value-tail ***/ 3868s # value-tail 3868s # EnumName: @EnumName@ 3868s # enum_name: @enum_name@ 3868s # ENUMNAME: @ENUMNAME@ 3868s # ENUMSHORT: @ENUMSHORT@ 3868s # ENUMPREFIX: @ENUMPREFIX@ 3868s # enumsince: @enumsince@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END value-tail ***/ 3868s # 3868s # /*** BEGIN comment ***/ 3868s # comment 3868s # comment: @comment@ 3868s # /*** END comment ***/ 3868s # 3868s # /*** BEGIN file-tail ***/ 3868s # file-tail 3868s # /*** END file-tail ***/ 3868s # 3868s # Response file contains: --template /tmp/tmpgnvztmfm/tmpu_dkyc6v.template /tmp/tmpgnvztmfm/tmpckzs8cft.h 3868s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgnvztmfm/tmp_dktaizr'] 3868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3868s # Output: comment 3868s # 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. 3868s # 3868s # 3868s # file-header 3868s # file-production 3868s # filename: /tmp/tmpgnvztmfm/tmpckzs8cft.h 3868s # basename: tmpckzs8cft.h 3868s # enumeration-production 3868s # EnumName: GeglSamplerType 3868s # enum_name: gegl_sampler_type 3868s # ENUMNAME: GEGL_SAMPLER_TYPE 3868s # ENUMSHORT: SAMPLER_TYPE 3868s # ENUMPREFIX: GEGL 3868s # enumsince: 3868s # type: enum 3868s # Type: Enum 3868s # TYPE: ENUM 3868s # value-header 3868s # EnumName: GeglSamplerType 3868s # enum_name: gegl_sampler_type 3868s # ENUMNAME: GEGL_SAMPLER_TYPE 3868s # ENUMSHORT: SAMPLER_TYPE 3868s # ENUMPREFIX: GEGL 3868s # enumsince: 3868s # type: enum 3868s # Type: Enum 3868s # TYPE: ENUM 3868s # value-production 3868s # VALUENAME: GEGL_SAMPLER_NEAREST 3868s # valuenick: nearest 3868s # valuenum: 0 3868s # type: enum 3868s # Type: Enum 3868s # TYPE: ENUM 3868s # value-tail 3868s # EnumName: GeglSamplerType 3868s # enum_name: gegl_sampler_type 3868s # ENUMNAME: GEGL_SAMPLER_TYPE 3868s # ENUMSHORT: SAMPLER_TYPE 3868s # ENUMPREFIX: GEGL 3868s # enumsince: 3868s # type: enum 3868s # Type: Enum 3868s # TYPE: ENUM 3868s # file-tail 3868s # 3868s # comment 3868s # comment: Generated data ends here 3868s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 3868s # tmpdir: /tmp/tmpobkf3l1p 3868s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3868s # /tmp/tmpobkf3l1p/tmpvzj5n_q9.h: 3868s # /* Copyright © La Peña */ 3868s # typedef enum { 3868s # ENUM_VALUE 3868s # } SomeEnumIdentifier; 3868s # 3868s # /tmp/tmpobkf3l1p/tmprmonj82x.template: 3868s # /*** BEGIN file-header ***/ 3868s # file-header 3868s # /*** END file-header ***/ 3868s # 3868s # /*** BEGIN file-production ***/ 3868s # file-production 3868s # filename: @filename@ 3868s # basename: @basename@ 3868s # /*** END file-production ***/ 3868s # 3868s # /*** BEGIN enumeration-production ***/ 3868s # enumeration-production 3868s # EnumName: @EnumName@ 3868s # enum_name: @enum_name@ 3868s # ENUMNAME: @ENUMNAME@ 3868s # ENUMSHORT: @ENUMSHORT@ 3868s # ENUMPREFIX: @ENUMPREFIX@ 3868s # enumsince: @enumsince@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END enumeration-production ***/ 3868s # 3868s # /*** BEGIN value-header ***/ 3868s # value-header 3868s # EnumName: @EnumName@ 3868s # enum_name: @enum_name@ 3868s # ENUMNAME: @ENUMNAME@ 3868s # ENUMSHORT: @ENUMSHORT@ 3868s # ENUMPREFIX: @ENUMPREFIX@ 3868s # enumsince: @enumsince@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END value-header ***/ 3868s # 3868s # /*** BEGIN value-production ***/ 3868s # value-production 3868s # VALUENAME: @VALUENAME@ 3868s # valuenick: @valuenick@ 3868s # valuenum: @valuenum@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END value-production ***/ 3868s # 3868s # /*** BEGIN value-tail ***/ 3868s # value-tail 3868s # EnumName: @EnumName@ 3868s # enum_name: @enum_name@ 3868s # ENUMNAME: @ENUMNAME@ 3868s # ENUMSHORT: @ENUMSHORT@ 3868s # ENUMPREFIX: @ENUMPREFIX@ 3868s # enumsince: @enumsince@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END value-tail ***/ 3868s # 3868s # /*** BEGIN comment ***/ 3868s # comment 3868s # comment: @comment@ 3868s # /*** END comment ***/ 3868s # 3868s # /*** BEGIN file-tail ***/ 3868s # file-tail 3868s # /*** END file-tail ***/ 3868s # 3868s # Response file contains: --template /tmp/tmpobkf3l1p/tmprmonj82x.template /tmp/tmpobkf3l1p/tmpvzj5n_q9.h 3868s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpobkf3l1p/tmp1vnj97wq'] 3868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3868s # Output: comment 3868s # 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. 3868s # 3868s # 3868s # file-header 3868s # file-production 3868s # filename: /tmp/tmpobkf3l1p/tmpvzj5n_q9.h 3868s # basename: tmpvzj5n_q9.h 3868s # enumeration-production 3868s # EnumName: SomeEnumIdentifier 3868s # enum_name: some_enum_identifier 3868s # ENUMNAME: SOME_ENUM_IDENTIFIER 3868s # ENUMSHORT: ENUM_IDENTIFIER 3868s # ENUMPREFIX: SOME 3868s # enumsince: 3868s # type: enum 3868s # Type: Enum 3868s # TYPE: ENUM 3868s # value-header 3868s # EnumName: SomeEnumIdentifier 3868s # enum_name: some_enum_identifier 3868s # ENUMNAME: SOME_ENUM_IDENTIFIER 3868s # ENUMSHORT: ENUM_IDENTIFIER 3868s # ENUMPREFIX: SOME 3868s # enumsince: 3868s # type: enum 3868s # Type: Enum 3868s # TYPE: ENUM 3868s # value-production 3868s # VALUENAME: ENUM_VALUE 3868s # valuenick: value 3868s # valuenum: 0 3868s # type: enum 3868s # Type: Enum 3868s # TYPE: ENUM 3868s # value-tail 3868s # EnumName: SomeEnumIdentifier 3868s # enum_name: some_enum_identifier 3868s # ENUMNAME: SOME_ENUM_IDENTIFIER 3868s # ENUMSHORT: ENUM_IDENTIFIER 3868s # ENUMPREFIX: SOME 3868s # enumsince: 3868s # type: enum 3868s # Type: Enum 3868s # TYPE: ENUM 3868s # file-tail 3868s # 3868s # comment 3868s # comment: Generated data ends here 3868s ok 34 __main__.TestRspMkenums.test_reproducible 3868s # tmpdir: /tmp/tmp23mk6pp5 3868s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3868s # /tmp/tmp23mk6pp5/tmpaq1pro55.template: template 3868s # Response file contains: --template /tmp/tmp23mk6pp5/tmpaq1pro55.template /tmp/tmp23mk6pp5/tmpx_l79i_a1.h /tmp/tmp23mk6pp5/tmp_6q6udyv2.h 3868s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp23mk6pp5/tmpaa5a8l35'] 3868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3868s # 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. */ 3868s # 3868s # 3868s # /* Generated data ends here */ 3868s # /tmp/tmp23mk6pp5/tmp726yrrja.template: template 3868s # Response file contains: --template /tmp/tmp23mk6pp5/tmp726yrrja.template /tmp/tmp23mk6pp5/tmp_6q6udyv2.h /tmp/tmp23mk6pp5/tmpx_l79i_a1.h 3868s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp23mk6pp5/tmp48fwm4h5'] 3868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3868s # 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. */ 3868s # 3868s # 3868s # /* Generated data ends here */ 3868s ok 35 __main__.TestRspMkenums.test_since 3868s # tmpdir: /tmp/tmpim28dzs9 3868s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3868s # /tmp/tmpim28dzs9/tmp62in8xil.h: 3868s # typedef enum { /*< since=1.0 >*/ 3868s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 3868s # } QmiWmsMessageProtocol; 3868s # 3868s # /tmp/tmpim28dzs9/tmp274ezc7x.template: 3868s # /*** BEGIN file-header ***/ 3868s # file-header 3868s # /*** END file-header ***/ 3868s # 3868s # /*** BEGIN file-production ***/ 3868s # file-production 3868s # filename: @filename@ 3868s # basename: @basename@ 3868s # /*** END file-production ***/ 3868s # 3868s # /*** BEGIN enumeration-production ***/ 3868s # enumeration-production 3868s # EnumName: @EnumName@ 3868s # enum_name: @enum_name@ 3868s # ENUMNAME: @ENUMNAME@ 3868s # ENUMSHORT: @ENUMSHORT@ 3868s # ENUMPREFIX: @ENUMPREFIX@ 3868s # enumsince: @enumsince@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END enumeration-production ***/ 3868s # 3868s # /*** BEGIN value-header ***/ 3868s # value-header 3868s # EnumName: @EnumName@ 3868s # enum_name: @enum_name@ 3868s # ENUMNAME: @ENUMNAME@ 3868s # ENUMSHORT: @ENUMSHORT@ 3868s # ENUMPREFIX: @ENUMPREFIX@ 3868s # enumsince: @enumsince@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END value-header ***/ 3868s # 3868s # /*** BEGIN value-production ***/ 3868s # value-production 3868s # VALUENAME: @VALUENAME@ 3868s # valuenick: @valuenick@ 3868s # valuenum: @valuenum@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END value-production ***/ 3868s # 3868s # /*** BEGIN value-tail ***/ 3868s # value-tail 3868s # EnumName: @EnumName@ 3868s # enum_name: @enum_name@ 3868s # ENUMNAME: @ENUMNAME@ 3868s # ENUMSHORT: @ENUMSHORT@ 3868s # ENUMPREFIX: @ENUMPREFIX@ 3868s # enumsince: @enumsince@ 3868s # type: @type@ 3868s # Type: @Type@ 3868s # TYPE: @TYPE@ 3868s # /*** END value-tail ***/ 3868s # 3868s # /*** BEGIN comment ***/ 3868s # comment 3868s # comment: @comment@ 3868s # /*** END comment ***/ 3868s # 3868s # /*** BEGIN file-tail ***/ 3868s # file-tail 3868s # /*** END file-tail ***/ 3868s # 3868s # Response file contains: --template /tmp/tmpim28dzs9/tmp274ezc7x.template /tmp/tmpim28dzs9/tmp62in8xil.h 3868s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpim28dzs9/tmpim0a4dms'] 3868s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3868s # Output: comment 3868s # 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. 3868s # 3868s # 3868s # file-header 3868s # file-production 3868s # filename: /tmp/tmpim28dzs9/tmp62in8xil.h 3868s # basename: tmp62in8xil.h 3868s # enumeration-production 3868s # EnumName: QmiWmsMessageProtocol 3868s # enum_name: qmi_wms_message_protocol 3868s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 3868s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 3868s # ENUMPREFIX: QMI 3868s # enumsince: 1.0 3868s # type: enum 3868s # Type: Enum 3868s # TYPE: ENUM 3868s # value-header 3868s # EnumName: QmiWmsMessageProtocol 3868s # enum_name: qmi_wms_message_protocol 3868s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 3868s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 3868s # ENUMPREFIX: QMI 3868s # enumsince: 1.0 3868s # type: enum 3868s # Type: Enum 3868s # TYPE: ENUM 3868s # value-production 3868s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 3868s # valuenick: cdma 3868s # valuenum: 0 3868s # type: enum 3868s # Type: Enum 3868s # TYPE: ENUM 3868s # value-tail 3868s # EnumName: QmiWmsMessageProtocol 3868s # enum_name: qmi_wms_message_protocol 3868s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 3868s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 3868s # ENUMPREFIX: QMI 3868s # enumsince: 1.0 3868s # type: enum 3868s # Type: Enum 3868s # TYPE: ENUM 3868s # file-tail 3868s # 3868s # comment 3868s # comment: Generated data ends here 3869s ok 36 __main__.TestRspMkenums.test_with_double_quotes 3869s # tmpdir: /tmp/tmpycv71vjx 3869s # rspfile: True, mkenums: /usr/bin/glib-mkenums 3869s # /tmp/tmpycv71vjx/tmpyyytrbne.h: 3869s # typedef enum { 3869s # FOO_VALUE /*< nick="eek, a comma" >*/ 3869s # } Foo; 3869s # 3869s # /tmp/tmpycv71vjx/tmpeiea51x6.template: 3869s # /*** BEGIN file-header ***/ 3869s # file-header 3869s # /*** END file-header ***/ 3869s # 3869s # /*** BEGIN file-production ***/ 3869s # file-production 3869s # filename: @filename@ 3869s # basename: @basename@ 3869s # /*** END file-production ***/ 3869s # 3869s # /*** BEGIN enumeration-production ***/ 3869s # enumeration-production 3869s # EnumName: @EnumName@ 3869s # enum_name: @enum_name@ 3869s # ENUMNAME: @ENUMNAME@ 3869s # ENUMSHORT: @ENUMSHORT@ 3869s # ENUMPREFIX: @ENUMPREFIX@ 3869s # enumsince: @enumsince@ 3869s # type: @type@ 3869s # Type: @Type@ 3869s # TYPE: @TYPE@ 3869s # /*** END enumeration-production ***/ 3869s # 3869s # /*** BEGIN value-header ***/ 3869s # value-header 3869s # EnumName: @EnumName@ 3869s # enum_name: @enum_name@ 3869s # ENUMNAME: @ENUMNAME@ 3869s # ENUMSHORT: @ENUMSHORT@ 3869s # ENUMPREFIX: @ENUMPREFIX@ 3869s # enumsince: @enumsince@ 3869s # type: @type@ 3869s # Type: @Type@ 3869s # TYPE: @TYPE@ 3869s # /*** END value-header ***/ 3869s # 3869s # /*** BEGIN value-production ***/ 3869s # value-production 3869s # VALUENAME: @VALUENAME@ 3869s # valuenick: @valuenick@ 3869s # valuenum: @valuenum@ 3869s # type: @type@ 3869s # Type: @Type@ 3869s # TYPE: @TYPE@ 3869s # /*** END value-production ***/ 3869s # 3869s # /*** BEGIN value-tail ***/ 3869s # value-tail 3869s # EnumName: @EnumName@ 3869s # enum_name: @enum_name@ 3869s # ENUMNAME: @ENUMNAME@ 3869s # ENUMSHORT: @ENUMSHORT@ 3869s # ENUMPREFIX: @ENUMPREFIX@ 3869s # enumsince: @enumsince@ 3869s # type: @type@ 3869s # Type: @Type@ 3869s # TYPE: @TYPE@ 3869s # /*** END value-tail ***/ 3869s # 3869s # /*** BEGIN comment ***/ 3869s # comment 3869s # comment: @comment@ 3869s # /*** END comment ***/ 3869s # 3869s # /*** BEGIN file-tail ***/ 3869s # file-tail 3869s # /*** END file-tail ***/ 3869s # 3869s # Response file contains: --template /tmp/tmpycv71vjx/tmpeiea51x6.template /tmp/tmpycv71vjx/tmpyyytrbne.h 3869s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpycv71vjx/tmp_r6jeuzd'] 3869s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3869s # Output: comment 3869s # 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. 3869s # 3869s # 3869s # file-header 3869s # file-production 3869s # filename: /tmp/tmpycv71vjx/tmpyyytrbne.h 3869s # basename: tmpyyytrbne.h 3869s # enumeration-production 3869s # EnumName: Foo 3869s # enum_name: foo_ 3869s # ENUMNAME: FOO_ 3869s # ENUMSHORT: 3869s # ENUMPREFIX: FOO 3869s # enumsince: 3869s # type: enum 3869s # Type: Enum 3869s # TYPE: ENUM 3869s # value-header 3869s # EnumName: Foo 3869s # enum_name: foo_ 3869s # ENUMNAME: FOO_ 3869s # ENUMSHORT: 3869s # ENUMPREFIX: FOO 3869s # enumsince: 3869s # type: enum 3869s # Type: Enum 3869s # TYPE: ENUM 3869s # value-production 3869s # VALUENAME: FOO_VALUE 3869s # valuenick: eek, a comma 3869s # valuenum: 0 3869s # type: enum 3869s # Type: Enum 3869s # TYPE: ENUM 3869s # value-tail 3869s # EnumName: Foo 3869s # enum_name: foo_ 3869s # ENUMNAME: FOO_ 3869s # ENUMSHORT: 3869s # ENUMPREFIX: FOO 3869s # enumsince: 3869s # type: enum 3869s # Type: Enum 3869s # TYPE: ENUM 3869s # file-tail 3869s # 3869s # comment 3869s # comment: Generated data ends here 3869s 1..36 3869s ok - glib/mkenums.py.test 3869s # Running test: glib/gsubprocess.test 3869s TAP version 13 3869s # random seed: R02S108e88f7c96b0ffec03468ebd9226684 3869s 1..83 3869s # Start of gsubprocess tests 3869s ok 1 /gsubprocess/noop 3869s ok 2 /gsubprocess/noop-all-to-null 3869s ok 3 /gsubprocess/noop-no-wait 3869s ok 4 /gsubprocess/noop-stdin-inherit 3869s ok 5 /gsubprocess/search-path 3869s ok 6 /gsubprocess/search-path-from-envp 3872s # Executing: glib/gsubprocess.test 3872s ok 7 /gsubprocess/signal 3872s # slow test /gsubprocess/signal executed in 3.21 secs 3872s ok 8 /gsubprocess/exit1 3872s ok 9 /gsubprocess/echo1 3872s ok 10 /gsubprocess/echo-merged 3872s ok 11 /gsubprocess/cat-utf8 3873s ok 12 /gsubprocess/cat-eof 3873s # slow test /gsubprocess/cat-eof executed in 1.01 secs 3876s ok 13 /gsubprocess/multi1 3876s # slow test /gsubprocess/multi1 executed in 3.03 secs 3876s ok 14 /gsubprocess/communicate 3877s # Executing: glib/gsubprocess.test 3879s ok 15 /gsubprocess/terminate 3879s # slow test /gsubprocess/terminate executed in 2.91 secs 3879s ok 16 /gsubprocess/env 3879s ok 17 /gsubprocess/cwd 3879s ok 18 /gsubprocess/launcher-close 3879s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 3879s ok 19 /gsubprocess/stdout-file 3879s ok 20 /gsubprocess/stdout-fd 3879s ok 21 /gsubprocess/child-setup 3879s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3879s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3879s ok 22 /gsubprocess/launcher-environment 3879s # Start of exit1 tests 3879s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 3879s ok 23 /gsubprocess/exit1/cancel 3879s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 3879s ok 24 /gsubprocess/exit1/cancel_in_cb 3879s # End of exit1 tests 3879s # Start of communicate tests 3879s ok 25 /gsubprocess/communicate/cancelled 3879s ok 26 /gsubprocess/communicate/async 3879s ok 27 /gsubprocess/communicate/utf8 3879s # hello world 3879s ok 28 /gsubprocess/communicate/no-pipes 3879s ok 29 /gsubprocess/communicate/separate-stderr 3879s ok 30 /gsubprocess/communicate/stdout-only 3879s # hello world 3879s ok 31 /gsubprocess/communicate/stderr-only 3879s ok 32 /gsubprocess/communicate/stdout-silence 3879s ok 33 /gsubprocess/communicate/nothing 3879s # Start of async tests 3879s ok 34 /gsubprocess/communicate/async/cancelled 3879s # hello world 3879s ok 35 /gsubprocess/communicate/async/no-pipes 3879s ok 36 /gsubprocess/communicate/async/separate-stderr 3879s ok 37 /gsubprocess/communicate/async/stdout-only 3879s # hello world 3879s ok 38 /gsubprocess/communicate/async/stderr-only 3879s ok 39 /gsubprocess/communicate/async/stdout-silence 3879s # Start of cancelled tests 3879s ok 40 /gsubprocess/communicate/async/cancelled/no-pipes 3879s ok 41 /gsubprocess/communicate/async/cancelled/separate-stderr 3879s ok 42 /gsubprocess/communicate/async/cancelled/stdout-only 3879s ok 43 /gsubprocess/communicate/async/cancelled/stderr-only 3879s ok 44 /gsubprocess/communicate/async/cancelled/stdout-silence 3879s # End of cancelled tests 3879s # End of async tests 3879s # Start of utf8 tests 3879s ok 45 /gsubprocess/communicate/utf8/cancelled 3879s ok 46 /gsubprocess/communicate/utf8/async 3879s # hello world 3879s ok 47 /gsubprocess/communicate/utf8/no-pipes 3879s ok 48 /gsubprocess/communicate/utf8/separate-stderr 3879s ok 49 /gsubprocess/communicate/utf8/stdout-only 3879s # hello world 3879s ok 50 /gsubprocess/communicate/utf8/stderr-only 3879s ok 51 /gsubprocess/communicate/utf8/stdout-silence 3879s ok 52 /gsubprocess/communicate/utf8/invalid 3879s # Start of async tests 3879s ok 53 /gsubprocess/communicate/utf8/async/cancelled 3879s # hello world 3879s ok 54 /gsubprocess/communicate/utf8/async/no-pipes 3879s ok 55 /gsubprocess/communicate/utf8/async/separate-stderr 3879s ok 56 /gsubprocess/communicate/utf8/async/stdout-only 3879s # hello world 3879s ok 57 /gsubprocess/communicate/utf8/async/stderr-only 3879s ok 58 /gsubprocess/communicate/utf8/async/stdout-silence 3879s ok 59 /gsubprocess/communicate/utf8/async/invalid 3879s # Start of cancelled tests 3879s ok 60 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 3879s ok 61 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 3879s ok 62 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 3879s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 3879s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 3879s # End of cancelled tests 3879s # End of async tests 3879s # Start of cancelled tests 3879s ok 65 /gsubprocess/communicate/utf8/cancelled/no-pipes 3879s ok 66 /gsubprocess/communicate/utf8/cancelled/separate-stderr 3879s ok 67 /gsubprocess/communicate/utf8/cancelled/stdout-only 3879s ok 68 /gsubprocess/communicate/utf8/cancelled/stderr-only 3879s ok 69 /gsubprocess/communicate/utf8/cancelled/stdout-silence 3879s # End of cancelled tests 3879s # End of utf8 tests 3879s # Start of cancelled tests 3879s ok 70 /gsubprocess/communicate/cancelled/no-pipes 3879s ok 71 /gsubprocess/communicate/cancelled/separate-stderr 3880s ok 72 /gsubprocess/communicate/cancelled/stdout-only 3880s ok 73 /gsubprocess/communicate/cancelled/stderr-only 3880s ok 74 /gsubprocess/communicate/cancelled/stdout-silence 3880s # End of cancelled tests 3880s # End of communicate tests 3880s # Start of env tests 3880s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3880s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3880s ok 75 /gsubprocess/env/inherit 3880s # End of env tests 3880s # Start of pass-fd tests 3880s ok 76 /gsubprocess/pass-fd/basic 3880s ok 77 /gsubprocess/pass-fd/empty-child-setup 3880s ok 78 /gsubprocess/pass-fd/inherit-fds 3880s # End of pass-fd tests 3880s # Start of fd-conflation tests 3880s ok 79 /gsubprocess/fd-conflation/basic 3880s ok 80 /gsubprocess/fd-conflation/empty-child-setup 3880s ok 81 /gsubprocess/fd-conflation/inherit-fds 3880s ok 82 /gsubprocess/fd-conflation/child-err-report-fd 3880s # End of fd-conflation tests 3880s # Start of exit-status tests 3880s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 3880s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 3880s ok 83 /gsubprocess/exit-status/trapped 3880s # End of exit-status tests 3880s # End of gsubprocess tests 3880s ok - glib/gsubprocess.test 3880s # Running test: glib/markup-collect.test 3880s TAP version 13 3880s # random seed: R02S4490b0e3e04cd35bc4ea23704a5eb22f 3880s 1..21 3880s # Start of markup tests 3880s # Start of collect tests 3880s ok 1 /markup/collect/0 3880s ok 2 /markup/collect/1 3880s ok 3 /markup/collect/2 3880s ok 4 /markup/collect/3 3880s ok 5 /markup/collect/4 3880s ok 6 /markup/collect/5 3880s ok 7 /markup/collect/6 3880s ok 8 /markup/collect/7 3880s ok 9 /markup/collect/8 3880s ok 10 /markup/collect/9 3880s ok 11 /markup/collect/10 3880s ok 12 /markup/collect/11 3880s ok 13 /markup/collect/12 3880s ok 14 /markup/collect/13 3880s ok 15 /markup/collect/14 3880s ok 16 /markup/collect/15 3880s ok 17 /markup/collect/16 3880s ok 18 /markup/collect/17 3880s ok 19 /markup/collect/18 3880s ok 20 /markup/collect/19 3880s ok 21 /markup/collect/cleanup 3880s # End of collect tests 3880s # End of markup tests 3880s ok - glib/markup-collect.test 3880s # Running test: glib/markup-subparser.test 3880s TAP version 13 3880s # random seed: R02S8160b7219d6f891a9ff174a08840855f 3880s 1..14 3880s # Start of glib tests 3880s # Start of markup tests 3880s # Start of subparser tests 3880s # Start of success tests 3880s ok 1 /glib/markup/subparser/success/0 3880s ok 2 /glib/markup/subparser/success/1 3880s ok 3 /glib/markup/subparser/success/2 3880s ok 4 /glib/markup/subparser/success/3 3880s ok 5 /glib/markup/subparser/success/4 3880s ok 6 /glib/markup/subparser/success/5 3880s ok 7 /glib/markup/subparser/success/6 3880s # End of success tests 3880s # Start of failure tests 3880s ok 8 /glib/markup/subparser/failure/0 3880s ok 9 /glib/markup/subparser/failure/1 3880s ok 10 /glib/markup/subparser/failure/2 3880s ok 11 /glib/markup/subparser/failure/3 3880s ok 12 /glib/markup/subparser/failure/4 3880s ok 13 /glib/markup/subparser/failure/5 3880s ok 14 /glib/markup/subparser/failure/6 3880s # End of failure tests 3880s # End of subparser tests 3880s # End of markup tests 3880s # End of glib tests 3880s ok - glib/markup-subparser.test 3880s # Running test: glib/gdbus-auth.test 3880s TAP version 13 3880s # random seed: R02Sf38676741330567ccaf4addf6bf8de06 3880s 1..5 3880s # Start of gdbus tests 3880s # Start of auth tests 3880s # Start of client tests 3880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/EXTERNAL/.dirs/home 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/EXTERNAL/.dirs/cache 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/EXTERNAL/.dirs/system-config2 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/EXTERNAL/.dirs/config 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/EXTERNAL/.dirs/system-data2 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/EXTERNAL/.dirs/data 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/EXTERNAL/.dirs/state 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/EXTERNAL/.dirs/runtime 3880s ok 1 /gdbus/auth/client/EXTERNAL 3880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 3880s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 3880s # End of client tests 3880s # Start of server tests 3880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/ANONYMOUS/.dirs/home 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/ANONYMOUS/.dirs/cache 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/ANONYMOUS/.dirs/config 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/ANONYMOUS/.dirs/data 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/ANONYMOUS/.dirs/state 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/ANONYMOUS/.dirs/runtime 3880s ok 3 /gdbus/auth/server/ANONYMOUS 3880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/EXTERNAL/.dirs/home 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/EXTERNAL/.dirs/cache 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/EXTERNAL/.dirs/system-config2 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/EXTERNAL/.dirs/config 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/EXTERNAL/.dirs/system-data2 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/EXTERNAL/.dirs/data 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/EXTERNAL/.dirs/state 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/EXTERNAL/.dirs/runtime 3880s ok 4 /gdbus/auth/server/EXTERNAL 3880s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 3880s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_RWE7J2/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 3880s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 3880s # End of server tests 3880s # End of auth tests 3880s # End of gdbus tests 3880s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3880s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3880s ok - glib/gdbus-auth.test 3880s # Running test: glib/1bit-mutex.test 3880s TAP version 13 3880s # random seed: R02Sf8568b92584de1247da7480075153a3d 3880s 1..2 3880s # Start of glib tests 3880s # Start of 1bit-mutex tests 3882s # Executing: glib/1bit-mutex.test 3887s # Executing: glib/1bit-mutex.test 3892s # Executing: glib/1bit-mutex.test 3897s # Executing: glib/1bit-mutex.test 3902s # Executing: glib/1bit-mutex.test 3907s # Executing: glib/1bit-mutex.test 3912s # Executing: glib/1bit-mutex.test 3917s # Executing: glib/1bit-mutex.test 3918s ok 1 /glib/1bit-mutex/int 3918s # slow test /glib/1bit-mutex/int executed in 38.15 secs 3922s # Executing: glib/1bit-mutex.test 3927s # Executing: glib/1bit-mutex.test 3932s # Executing: glib/1bit-mutex.test 3937s # Executing: glib/1bit-mutex.test 3942s # Executing: glib/1bit-mutex.test 3947s # Executing: glib/1bit-mutex.test 3952s # Executing: glib/1bit-mutex.test 3956s ok 2 /glib/1bit-mutex/pointer 3956s # slow test /glib/1bit-mutex/pointer executed in 38.40 secs 3956s # End of 1bit-mutex tests 3956s # End of glib tests 3956s ok - glib/1bit-mutex.test 3956s # Running test: glib/memory-monitor-dbus.test 3957s TAP version 13 3957s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 3957s 1..1 3957s # Executing: glib/memory-monitor-dbus.test 3957s ok - glib/memory-monitor-dbus.test 3957s # Running test: glib/utils-c-99.test 3957s TAP version 13 3957s # random seed: R02S38b15309a257902796dd87ffa670c8a8 3957s 1..40 3957s # Start of utils tests 3957s ok 1 /utils/language-names 3957s ok 2 /utils/locale-variants 3957s ok 3 /utils/version 3957s ok 4 /utils/appname 3957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 3957s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 3957s ok 5 /utils/prgname-thread-safety 3957s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 3957s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 3957s ok 6 /utils/tmpdir 3957s ok 7 /utils/basic_bits 3957s ok 8 /utils/bits 3957s ok 9 /utils/swap 3957s ok 10 /utils/find-program 3957s ok 11 /utils/find-program-for-path 3957s ok 12 /utils/debug 3957s ok 13 /utils/codeset 3957s ok 14 /utils/codeset2 3957s ok 15 /utils/console-charset 3957s ok 16 /utils/gettext 3957s ok 17 /utils/username 3957s ok 18 /utils/realname 3957s ok 19 /utils/hostname 3957s ok 20 /utils/xdgdirs 3957s ok 21 /utils/specialdir 3957s # NAME: Ubuntu 3957s ok 22 /utils/os-info 3957s ok 23 /utils/clear-pointer 3957s ok 24 /utils/clear-pointer-cast 3957s ok 25 /utils/take-pointer 3957s ok 26 /utils/clear-source 3957s ok 27 /utils/misc-mem 3957s # /utils/aligned-mem summary: Aligned memory allocator 3957s # Alignment must not be zero 3957s # Alignment must be a power of two 3957s # Alignment must be a multiple of sizeof(void*) 3957s ok 28 /utils/aligned-mem 3957s # /utils/free-sized summary: Check that g_free_sized() works 3957s ok 29 /utils/free-sized 3957s ok 30 /utils/nullify 3957s ok 31 /utils/atexit 3957s ok 32 /utils/check-setuid 3957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 3957s ok 33 /utils/int-limits 3957s ok 34 /utils/clear-list 3957s ok 35 /utils/clear-slist 3957s # Start of specialdir tests 3957s ok 36 /utils/specialdir/desktop 3957s # End of specialdir tests 3957s # Start of clear-pointer tests 3957s ok 37 /utils/clear-pointer/side-effects 3957s # End of clear-pointer tests 3957s # Start of aligned-mem tests 3957s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 3957s ok 38 /utils/aligned-mem/alignment 3957s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 3957s ok 39 /utils/aligned-mem/zeroed 3957s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 3957s ok 40 /utils/aligned-mem/free-sized 3957s # Start of subprocess tests 3957s # End of subprocess tests 3957s # End of aligned-mem tests 3957s # End of utils tests 3957s ok - glib/utils-c-99.test 3957s # Running test: glib/utils.test 3957s TAP version 13 3957s # random seed: R02S2b2f52aeb5c6ab6e763804a197dd4a6b 3957s 1..40 3957s # Start of utils tests 3957s ok 1 /utils/language-names 3957s ok 2 /utils/locale-variants 3957s ok 3 /utils/version 3957s ok 4 /utils/appname 3957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 3957s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 3957s ok 5 /utils/prgname-thread-safety 3957s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 3957s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 3957s ok 6 /utils/tmpdir 3957s ok 7 /utils/basic_bits 3957s ok 8 /utils/bits 3957s ok 9 /utils/swap 3957s ok 10 /utils/find-program 3957s ok 11 /utils/find-program-for-path 3957s ok 12 /utils/debug 3957s ok 13 /utils/codeset 3957s ok 14 /utils/codeset2 3957s ok 15 /utils/console-charset 3957s ok 16 /utils/gettext 3957s ok 17 /utils/username 3957s ok 18 /utils/realname 3957s ok 19 /utils/hostname 3957s ok 20 /utils/xdgdirs 3957s ok 21 /utils/specialdir 3957s # NAME: Ubuntu 3957s ok 22 /utils/os-info 3957s ok 23 /utils/clear-pointer 3957s ok 24 /utils/clear-pointer-cast 3957s ok 25 /utils/take-pointer 3957s ok 26 /utils/clear-source 3957s ok 27 /utils/misc-mem 3957s # /utils/aligned-mem summary: Aligned memory allocator 3957s # Alignment must not be zero 3957s # Alignment must be a power of two 3957s # Alignment must be a multiple of sizeof(void*) 3957s ok 28 /utils/aligned-mem 3957s # /utils/free-sized summary: Check that g_free_sized() works 3957s ok 29 /utils/free-sized 3957s ok 30 /utils/nullify 3957s ok 31 /utils/atexit 3957s ok 32 /utils/check-setuid 3957s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 3957s ok 33 /utils/int-limits 3957s ok 34 /utils/clear-list 3957s ok 35 /utils/clear-slist 3957s # Start of specialdir tests 3957s ok 36 /utils/specialdir/desktop 3957s # End of specialdir tests 3957s # Start of clear-pointer tests 3957s ok 37 /utils/clear-pointer/side-effects 3957s # End of clear-pointer tests 3957s # Start of aligned-mem tests 3957s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 3957s ok 38 /utils/aligned-mem/alignment 3957s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 3957s ok 39 /utils/aligned-mem/zeroed 3957s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 3957s ok 40 /utils/aligned-mem/free-sized 3957s # Start of subprocess tests 3957s # End of subprocess tests 3957s # End of aligned-mem tests 3957s # End of utils tests 3957s ok - glib/utils.test 3957s # Running test: glib/completion.test 3957s TAP version 13 3957s # random seed: R02S0aa1ee6c9c1098c7055036f8835af864 3957s 1..1 3957s # Start of completion tests 3957s ok 1 /completion/test-completion 3957s # End of completion tests 3957s ok - glib/completion.test 3957s # Running test: glib/messages-low-memory.py.test 3957s TAP version 13 3957s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 3957s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 3957s # Running: /usr/libexec/installed-tests/glib/messages-low-memory 3957s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3957s # Return code: -6 3957s # Output: 3957s # Error: GLib-Message: 17:36:06.853: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 3957s # GLib-Message: 17:36:06.854: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 3957s # ../../../glib/gprintf.c:350: failed to allocate memory 3957s 1..1 3957s ok - glib/messages-low-memory.py.test 3957s # Running test: glib/hmac.test 3957s TAP version 13 3957s # random seed: R02S235aae36208df56503d658786e3c5403 3957s 1..37 3957s # Start of hmac tests 3957s ok 1 /hmac/sha1-1 3957s ok 2 /hmac/sha1-2 3957s ok 3 /hmac/sha1-3 3957s ok 4 /hmac/sha1-4 3957s ok 5 /hmac/sha1-5 3957s ok 6 /hmac/sha1-6 3957s ok 7 /hmac/sha1-7 3957s ok 8 /hmac/sha256-1 3957s ok 9 /hmac/sha256-2 3957s ok 10 /hmac/sha256-3 3957s ok 11 /hmac/sha256-4 3957s ok 12 /hmac/sha256-5 3957s ok 13 /hmac/sha256-6 3957s ok 14 /hmac/sha384-1 3957s ok 15 /hmac/sha384-2 3957s ok 16 /hmac/sha384-3 3957s ok 17 /hmac/sha384-4 3957s ok 18 /hmac/sha384-5 3957s ok 19 /hmac/sha384-6 3957s ok 20 /hmac/sha512-1 3957s ok 21 /hmac/sha512-2 3957s ok 22 /hmac/sha512-3 3957s ok 23 /hmac/sha512-4 3957s ok 24 /hmac/sha512-5 3957s ok 25 /hmac/sha512-6 3957s ok 26 /hmac/md5-1 3957s ok 27 /hmac/md5-2 3957s ok 28 /hmac/md5-3 3957s ok 29 /hmac/md5-4 3957s ok 30 /hmac/md5-5 3957s ok 31 /hmac/md5-6 3957s ok 32 /hmac/md5-7 3957s ok 33 /hmac/ref-unref 3957s ok 34 /hmac/copy 3957s ok 35 /hmac/for-data 3957s ok 36 /hmac/for-string 3957s ok 37 /hmac/for-bytes 3957s # End of hmac tests 3957s ok - glib/hmac.test 3957s # Running test: glib/gdbus-names.test 3957s TAP version 13 3957s # random seed: R02S318452a7e067bdffe5cfb75343550ba2 3957s 1..10 3957s # Start of gdbus tests 3957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/validate-names/.dirs/home 3957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/validate-names/.dirs/cache 3957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_FIH3J2/gdbus/validate-names/.dirs/system-config2 3957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/validate-names/.dirs/config 3957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_FIH3J2/gdbus/validate-names/.dirs/system-data2 3957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/validate-names/.dirs/data 3957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/validate-names/.dirs/state 3957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FIH3J2/gdbus/validate-names/.dirs/runtime 3957s ok 1 /gdbus/validate-names 3957s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-own-name/.dirs/home 3957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-own-name/.dirs/cache 3957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-own-name/.dirs/system-config2 3957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-own-name/.dirs/config 3957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-own-name/.dirs/system-data2 3957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-own-name/.dirs/data 3957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-own-name/.dirs/state 3957s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-own-name/.dirs/runtime 3957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3957s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3957s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3957s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s ok 2 /gdbus/bus-own-name 3958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name/.dirs/home 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name/.dirs/cache 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name/.dirs/system-config2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name/.dirs/config 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name/.dirs/system-data2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name/.dirs/data 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name/.dirs/state 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name/.dirs/runtime 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s ok 3 /gdbus/bus-watch-name 3958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start/.dirs/home 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start/.dirs/cache 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start/.dirs/system-config2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start/.dirs/config 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start/.dirs/system-data2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start/.dirs/data 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start/.dirs/state 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start/.dirs/runtime 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s ok 4 /gdbus/bus-watch-name-auto-start 3958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s dbus-daemon[3371]: [session uid=1000 pid=3371] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=3362 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 3958s # Acquired a message bus connection 3958s dbus-daemon[3371]: [session uid=1000 pid=3371] Successfully activated service 'org.gtk.GDBus.FakeService' 3958s # Acquired the name org.gtk.GDBus.FakeService 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 3958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures/.dirs/home 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures/.dirs/cache 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures/.dirs/system-config2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures/.dirs/config 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures/.dirs/system-data2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures/.dirs/data 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures/.dirs/state 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures/.dirs/runtime 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s ok 6 /gdbus/bus-watch-name-closures 3958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures-auto-start/.dirs/home 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures-auto-start/.dirs/config 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures-auto-start/.dirs/data 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures-auto-start/.dirs/state 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s ok 7 /gdbus/bus-watch-name-closures-auto-start 3958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-different-context/.dirs/home 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-different-context/.dirs/cache 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-different-context/.dirs/system-config2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-different-context/.dirs/config 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-different-context/.dirs/system-data2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-different-context/.dirs/data 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-different-context/.dirs/state 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-watch-different-context/.dirs/runtime 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s ok 8 /gdbus/bus-watch-different-context 3958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-unwatch-early/.dirs/home 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-unwatch-early/.dirs/cache 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-unwatch-early/.dirs/system-config2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-unwatch-early/.dirs/config 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_FIH3J2/gdbus/bus-unwatch-early/.dirs/system-data2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-unwatch-early/.dirs/data 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-unwatch-early/.dirs/state 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FIH3J2/gdbus/bus-unwatch-early/.dirs/runtime 3958s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3958s ok 9 /gdbus/bus-unwatch-early 3958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/escape-object-path/.dirs/home 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/escape-object-path/.dirs/cache 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_FIH3J2/gdbus/escape-object-path/.dirs/system-config2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/escape-object-path/.dirs/config 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_FIH3J2/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_FIH3J2/gdbus/escape-object-path/.dirs/system-data2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/escape-object-path/.dirs/data 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_FIH3J2/gdbus/escape-object-path/.dirs/state 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_FIH3J2/gdbus/escape-object-path/.dirs/runtime 3958s ok 10 /gdbus/escape-object-path 3958s # End of gdbus tests 3958s ok - glib/gdbus-names.test 3958s # Running test: glib/asyncqueue.test 3958s TAP version 13 3958s # random seed: R02S6e1a872760f3e09454744c8aeab093d2 3958s 1..7 3958s # Start of asyncqueue tests 3958s ok 1 /asyncqueue/basics 3958s ok 2 /asyncqueue/sort 3958s ok 3 /asyncqueue/destroy 3958s ok 4 /asyncqueue/threads 3958s ok 5 /asyncqueue/timed 3958s ok 6 /asyncqueue/remove 3958s ok 7 /asyncqueue/push_front 3958s # End of asyncqueue tests 3958s ok - glib/asyncqueue.test 3958s # Running test: glib/gdbus-export.test 3958s TAP version 13 3958s # random seed: R02S244dfb8309b2c70a649615f66d933824 3958s 1..6 3958s # Start of gdbus tests 3958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration/.dirs/home 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration/.dirs/cache 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration/.dirs/system-config2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration/.dirs/config 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration/.dirs/system-data2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration/.dirs/data 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration/.dirs/state 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration/.dirs/runtime 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s ok 1 /gdbus/object-registration 3958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration-with-closures/.dirs/home 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration-with-closures/.dirs/cache 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration-with-closures/.dirs/system-config2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration-with-closures/.dirs/config 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration-with-closures/.dirs/system-data2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration-with-closures/.dirs/data 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration-with-closures/.dirs/state 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_KMKYJ2/gdbus/object-registration-with-closures/.dirs/runtime 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s ok 2 /gdbus/object-registration-with-closures 3958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/registered-interfaces/.dirs/home 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/registered-interfaces/.dirs/cache 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_KMKYJ2/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_KMKYJ2/gdbus/registered-interfaces/.dirs/system-config2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/registered-interfaces/.dirs/config 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_KMKYJ2/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_KMKYJ2/gdbus/registered-interfaces/.dirs/system-data2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/registered-interfaces/.dirs/data 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/registered-interfaces/.dirs/state 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_KMKYJ2/gdbus/registered-interfaces/.dirs/runtime 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s ok 3 /gdbus/registered-interfaces 3958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/async-properties/.dirs/home 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/async-properties/.dirs/cache 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_KMKYJ2/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_KMKYJ2/gdbus/async-properties/.dirs/system-config2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/async-properties/.dirs/config 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_KMKYJ2/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_KMKYJ2/gdbus/async-properties/.dirs/system-data2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/async-properties/.dirs/data 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/async-properties/.dirs/state 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_KMKYJ2/gdbus/async-properties/.dirs/runtime 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s ok 4 /gdbus/async-properties 3958s # Start of threaded-unregistration tests 3958s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/object/.dirs/home 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/object/.dirs/cache 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/object/.dirs/system-config2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/object/.dirs/config 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/object/.dirs/system-data2 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/object/.dirs/data 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/object/.dirs/state 3958s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/object/.dirs/runtime 3958s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 3958s # /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 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3958s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3959s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3961s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # Executing: glib/gdbus-export.test 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s ok 5 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (920 iterations with unregistration first, 80 with call first); skipping test 3962s # slow test /gdbus/threaded-unregistration/object executed in 3.70 secs 3962s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/subtree/.dirs/home 3962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/subtree/.dirs/cache 3962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/subtree/.dirs/system-config2 3962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/subtree/.dirs/config 3962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/subtree/.dirs/system-data2 3962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/subtree/.dirs/data 3962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/subtree/.dirs/state 3962s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_KMKYJ2/gdbus/threaded-unregistration/subtree/.dirs/runtime 3962s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 3962s # /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 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3962s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3963s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3964s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3965s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3966s ok 6 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (982 iterations with unregistration first, 18 with call first); skipping test 3966s # slow test /gdbus/threaded-unregistration/subtree executed in 3.96 secs 3966s # End of threaded-unregistration tests 3966s # End of gdbus tests 3966s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3966s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3966s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3966s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3966s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3966s ok - glib/gdbus-export.test 3966s # Running test: glib/notify-init2.test 3966s TAP version 13 3966s # random seed: R02S280d40966bbd7fa9805a757902cdfbd9 3966s 1..1 3966s # Start of properties tests 3966s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 3966s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 3966s ok 1 /properties/notify-in-init2 3966s # End of properties tests 3966s ok - glib/notify-init2.test 3966s # Running test: glib/memory-input-stream.test 3966s TAP version 13 3966s # random seed: R02S0bf68c7be48051bdf866da7b5a9f9e0a 3966s 1..6 3966s # Start of memory-input-stream tests 3966s ok 1 /memory-input-stream/read-chunks 3966s ok 2 /memory-input-stream/async 3966s ok 3 /memory-input-stream/seek 3966s ok 4 /memory-input-stream/truncate 3966s ok 5 /memory-input-stream/read-bytes 3966s ok 6 /memory-input-stream/from-bytes 3966s # End of memory-input-stream tests 3966s ok - glib/memory-input-stream.test 3966s # Running test: glib/signals-refcount4.test 3966s TAP version 13 3966s # random seed: R02Sdee8285fb8af2a24bbaa206ba6428647 3966s 1..1 3966s # Start of gobject tests 3966s # Start of refcount tests 3966s # init 0xb6444d7f3420 3966s # 3966s # init 0xb6444d7f35c0 3966s # 3967s # Executing: glib/signals-refcount4.test 3971s # dispose 0xb6444d7f3420! 3971s # 3971s # dispose 0xb6444d7f35c0! 3971s # 3971s ok 1 /gobject/refcount/signals 3971s # slow test /gobject/refcount/signals executed in 5.00 secs 3971s # End of refcount tests 3971s # End of gobject tests 3971s ok - glib/signals-refcount4.test 3971s # Running test: glib/dataset.test 3971s TAP version 13 3971s # random seed: R02S7134bceaeeafbf32ab21e58213cf19f6 3971s 1..14 3971s # Start of quark tests 3971s ok 1 /quark/basic 3971s ok 2 /quark/string 3971s # End of quark tests 3971s # Start of dataset tests 3971s ok 3 /dataset/basic 3971s ok 4 /dataset/id 3971s ok 5 /dataset/full 3971s ok 6 /dataset/foreach 3971s ok 7 /dataset/destroy 3971s # End of dataset tests 3971s # Start of datalist tests 3971s ok 8 /datalist/basic 3971s ok 9 /datalist/id 3971s ok 10 /datalist/recursive-clear 3971s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 3971s ok 11 /datalist/id-remove-multiple 3971s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 3971s ok 12 /datalist/id-remove-multiple-destroy-order 3971s ok 13 /datalist/update-atomic 3971s # Start of id-remove-multiple tests 3971s ok 14 /datalist/id-remove-multiple/resize 3971s # End of id-remove-multiple tests 3971s # End of datalist tests 3971s ok - glib/dataset.test 3971s # Running test: glib/thread.test 3971s TAP version 13 3971s # random seed: R02S5978c4a70d2039c247a4effbfd0bc381 3971s 1..7 3971s # Start of thread tests 3971s ok 1 /thread/thread1 3971s ok 2 /thread/thread2 3971s ok 3 /thread/thread3 3971s ok 4 /thread/thread4 3971s ok 5 /thread/thread5 3971s ok 6 /thread/thread6 3971s ok 7 /thread/thread7 3971s # End of thread tests 3971s ok - glib/thread.test 3971s # Running test: glib/deftype.test 3971s ok - glib/deftype.test 3971s # Running test: glib/keyfile.test 3971s TAP version 13 3971s # random seed: R02S1010b32a5a91a6d0cbf9edd0c85a4e31 3971s 1..36 3971s # Start of keyfile tests 3971s ok 1 /keyfile/line-ends 3971s ok 2 /keyfile/whitespace 3971s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 3971s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 3971s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 3971s ok 3 /keyfile/comments 3971s ok 4 /keyfile/listing 3971s ok 5 /keyfile/string 3971s ok 6 /keyfile/boolean 3971s ok 7 /keyfile/number 3971s ok 8 /keyfile/locale-string 3971s ok 9 /keyfile/lists 3971s ok 10 /keyfile/lists-set-get 3971s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 3971s ok 11 /keyfile/group-remove 3971s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 3971s ok 12 /keyfile/key-remove 3971s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 3971s ok 13 /keyfile/groups 3971s ok 14 /keyfile/duplicate-keys 3971s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 3971s ok 15 /keyfile/duplicate-groups 3971s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 3971s ok 16 /keyfile/duplicate-groups2 3971s ok 17 /keyfile/group-names 3971s ok 18 /keyfile/key-names 3971s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 3971s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 3971s ok 19 /keyfile/reload 3971s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 3971s ok 20 /keyfile/int64 3971s ok 21 /keyfile/load 3971s ok 22 /keyfile/save 3971s ok 23 /keyfile/load-fail 3971s ok 24 /keyfile/non-utf8 3971s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 3971s ok 25 /keyfile/page-boundary 3971s ok 26 /keyfile/ref 3971s ok 27 /keyfile/replace-value 3971s ok 28 /keyfile/list-separator 3971s ok 29 /keyfile/empty-string 3971s ok 30 /keyfile/limbo 3971s # Testing invalid encoding ?non-UTF-8? 3971s # Testing invalid encoding ?UTF? 3971s # Testing invalid encoding ?UTF-9? 3971s ok 31 /keyfile/utf8 3971s ok 32 /keyfile/roundtrip 3971s ok 33 /keyfile/bytes 3971s ok 34 /keyfile/get-locale 3971s ok 35 /keyfile/free-when-not-last-ref 3971s # Start of locale-string tests 3971s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 3971s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 3971s ok 36 /keyfile/locale-string/multiple-loads 3971s # End of locale-string tests 3971s # End of keyfile tests 3971s ok - glib/keyfile.test 3971s # Running test: glib/testing.test 3971s TAP version 13 3971s # random seed: R02Sb4a96e3614e199a86bb91f8b509bd2f8 3971s 1..1 3971s # Start of assert tests 3971s ok 1 /assert/finalize_object 3971s # Start of finalize_object tests 3971s # Start of subprocess tests 3971s # End of subprocess tests 3971s # End of finalize_object tests 3971s # End of assert tests 3971s ok - glib/testing.test 3971s # Running test: glib/macros-c-90.test 3971s TAP version 13 3971s # random seed: R02Sbc8629b3220b184f24d73f93c194ab9e 3971s 1..4 3971s # Start of C tests 3971s ok 1 /C/standard-90 3971s # End of C tests 3971s # Start of alignof tests 3971s ok 2 /alignof/fallback 3971s # End of alignof tests 3971s # Start of assert tests 3971s ok 3 /assert/static 3971s # End of assert tests 3971s # Start of struct tests 3971s ok 4 /struct/sizeof_member 3971s # End of struct tests 3971s ok - glib/macros-c-90.test 3971s # Running test: glib/module-test-library.test 3971s TAP version 13 3971s # random seed: R02Sb45c478010dc4d3c58c94c8d75ed39f8 3971s 1..2 3971s # Start of module tests 3971s ok 1 /module/basics 3971s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 3971s ok 2 /module/invalid-libtool-archive 3971s # End of module tests 3971s ok - glib/module-test-library.test 3971s # Running test: glib/basic-signals.test 3971s TAP version 13 3971s # random seed: R02S10b62b558348b892ce388c4389fad883 3971s 1..1 3971s # Start of gobject tests 3971s ok 1 /gobject/basic-signals 3971s # End of gobject tests 3971s ok - glib/basic-signals.test 3971s # Running test: glib/search-utils.test 3971s TAP version 13 3971s # random seed: R02S263ec52aefac6f1d84a4fbcfe69cb711 3971s # GLib-DEBUG: Current user locale: C.UTF-8 3971s 1..6 3971s # Start of search tests 3971s # GLib-DEBUG: Started 3971s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 3971s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 3971s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 3971s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 3971s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 3971s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 3971s ok 1 /search/basic 3971s # GLib-DEBUG: Started 3971s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 3971s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 3971s # GLib-DEBUG: 'ele' - 'élève' should match: OK 3971s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 3971s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 3971s ok 2 /search/composed 3971s # GLib-DEBUG: Started 3971s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 3971s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 3971s ok 3 /search/decomposed 3971s # GLib-DEBUG: Started 3971s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 3971s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 3971s ok 4 /search/turkish 3971s # GLib-DEBUG: Started 3971s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 3971s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 3971s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 3971s ok 5 /search/c_locale_unicode 3971s # GLib-DEBUG: Started 3971s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 3971s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 3971s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 3971s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 3971s ok 6 /search/multi_words 3971s # End of search tests 3971s ok - glib/search-utils.test 3971s # Running test: glib/once.test 3971s TAP version 13 3971s # random seed: R02S43b95f97251978aa3ac4cb38e6d901be 3971s 1..5 3971s # Start of once tests 3971s # /once/single-threaded summary: Test g_once() usage from a single thread 3971s ok 1 /once/single-threaded 3971s # /once/multi-threaded summary: Test g_once() usage from multiple threads 3971s ok 2 /once/multi-threaded 3971s # End of once tests 3971s # Start of once-init tests 3971s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 3971s ok 3 /once-init/single-threaded 3971s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 3971s ok 4 /once-init/multi-threaded 3971s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 3971s ok 5 /once-init/string 3971s # End of once-init tests 3971s ok - glib/once.test 3971s # Running test: glib/threadtests.test 3971s TAP version 13 3971s # random seed: R02S0389dfc82b0d19fa235bad31e743aa13 3971s 1..5 3971s # Start of GObject tests 3972s ok 1 /GObject/threaded-object-init 3972s # Executing: glib/threadtests.test 3974s ok 2 /GObject/threaded-weak-ref 3974s # slow test /GObject/threaded-weak-ref executed in 2.45 secs 3974s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 3974s # /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 3975s ok 3 /GObject/threaded-toggle-notify 3975s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 3975s # Start of threaded-weak-ref tests 3975s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 3975s # /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. 3975s ok 5 /GObject/threaded-weak-ref/on-finalization 3975s # End of threaded-weak-ref tests 3975s # End of GObject tests 3975s ok - glib/threadtests.test 3975s # Running test: glib/logging.test 3975s TAP version 13 3975s # random seed: R02Sfba80bbf5afcd2ed5eb6cc4d5c31c022 3975s 1..17 3975s # Start of logging tests 3975s ok 1 /logging/default-handler 3975s ok 2 /logging/warnings 3975s ok 3 /logging/fatal-log-mask 3975s # bu-DEBUG: message 3975s # ba-DEBUG: message 3975s # ba-INFO: message 3975s ok 4 /logging/set-handler 3975s ok 5 /logging/print-handler 3975s ok 6 /logging/printerr-handler 3975s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 3975s # The Log Message Handler 3975s # 3975s # The Good Fail Message Handler 3975s # 3975s ok 7 /logging/653052 3975s ok 8 /logging/gibberish 3975s # Start of default-handler tests 3975s # Start of subprocess tests 3975s # End of subprocess tests 3975s # End of default-handler tests 3975s # End of logging tests 3975s # Start of structured-logging tests 3975s ok 9 /structured-logging/no-state 3975s ok 10 /structured-logging/some-state 3975s ok 11 /structured-logging/robustness 3975s ok 12 /structured-logging/roundtrip1 3975s ok 13 /structured-logging/roundtrip2 3975s ok 14 /structured-logging/roundtrip3 3975s ok 15 /structured-logging/variant1 3975s ok 16 /structured-logging/variant2 3975s ok 17 /structured-logging/set-writer-func-twice 3975s # End of structured-logging tests 3975s ok - glib/logging.test 3975s # Running test: glib/network-monitor.test 3975s TAP version 13 3975s # random seed: R02S7e2f50152f1b24a573d72a1dca30434f 3975s 1..4 3975s # Start of network-monitor tests 3975s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 3975s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3975s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 3975s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 3975s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 3975s ok 1 /network-monitor/default 3975s ok 2 /network-monitor/remove_default 3975s ok 3 /network-monitor/add_networks 3975s ok 4 /network-monitor/remove_networks 3975s # End of network-monitor tests 3975s ok - glib/network-monitor.test 3975s # Running test: glib/sleepy-stream.test 3975s TAP version 13 3975s # random seed: R02Sa260b1b0f1dbf508ae0154d9f8b3cf93 3975s 1..2 3975s # Start of filter-stream tests 3975s ok 1 /filter-stream/input 3975s ok 2 /filter-stream/async 3975s # End of filter-stream tests 3975s ok - glib/sleepy-stream.test 3975s # Running test: glib/queue.test 3975s TAP version 13 3975s # random seed: R02Scb3ac93f38a6773489e321b57033be4b 3975s 1..12 3975s # Start of queue tests 3975s ok 1 /queue/basic 3975s ok 2 /queue/copy 3975s ok 3 /queue/off-by-one 3975s ok 4 /queue/find-custom 3975s ok 5 /queue/static 3975s ok 6 /queue/clear 3975s ok 7 /queue/free-full 3975s ok 8 /queue/clear-full 3975s ok 9 /queue/insert-sibling-link 3975s ok 10 /queue/push-nth-link 3975s # Start of clear-full tests 3975s ok 11 /queue/clear-full/noop 3975s # End of clear-full tests 3975s # Start of random tests 3975s ok 12 /queue/random/seed:689001946 3975s # End of random tests 3975s # End of queue tests 3975s ok - glib/queue.test 3975s # Running test: glib/contexts.test 3975s TAP version 13 3975s # random seed: R02S571b62ab00d76fd973e28e8578699dea 3975s 1..5 3975s # Start of gio tests 3975s # Start of contexts tests 3975s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 3975s ok 1 /gio/contexts/thread-independence 3975s ok 2 /gio/contexts/context-independence 3975s # Start of context-specific tests 3976s ok 3 /gio/contexts/context-specific/identity 3976s ok 4 /gio/contexts/context-specific/emit 3976s ok 5 /gio/contexts/context-specific/emit-and-unref 3976s # End of context-specific tests 3976s # End of contexts tests 3976s # End of gio tests 3976s ok - glib/contexts.test 3976s # Running test: glib/win32-appinfo.test 3976s TAP version 13 3976s # random seed: R02Sdbb479fac327835148be6a62662f8f10 3976s 1..5 3976s # Start of appinfo tests 3976s ok 1 /appinfo/utf16-strfuncs 3976s ok 2 /appinfo/win32-extract-executable 3976s ok 3 /appinfo/win32-rundll32-fixup 3976s ok 4 /appinfo/win32-parse-filename 3976s ok 5 /appinfo/win32-utf16-conversion-fail 3976s # Start of subprocess tests 3976s # End of subprocess tests 3976s # End of appinfo tests 3976s ok - glib/win32-appinfo.test 3976s # Running test: glib/application-command-line.test 3976s TAP version 13 3976s # random seed: R02S3bf1bb48d2309849702e48efe0139765 3976s 1..1 3976s # Start of application-command-line tests 3976s ok 1 /application-command-line/basic-properties 3976s # End of application-command-line tests 3976s ok - glib/application-command-line.test 3976s # Running test: glib/fileutils.test 3976s TAP version 13 3976s # random seed: R02Sbf3c977477c7688d458b256c3cd3a4d6 3976s 1..27 3976s # Start of fileutils tests 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/paths/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/paths/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/paths/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/paths/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/paths/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/paths/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/paths/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/paths/.dirs/runtime 3976s ok 1 /fileutils/paths 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-path/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-path/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/build-path/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-path/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/build-path/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-path/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-path/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/build-path/.dirs/runtime 3976s ok 2 /fileutils/build-path 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-pathv/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-pathv/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/build-pathv/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-pathv/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/build-pathv/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-pathv/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-pathv/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/build-pathv/.dirs/runtime 3976s ok 3 /fileutils/build-pathv 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-filename/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-filename/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/build-filename/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-filename/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/build-filename/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-filename/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-filename/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/build-filename/.dirs/runtime 3976s ok 4 /fileutils/build-filename 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-filenamev/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-filenamev/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/build-filenamev/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-filenamev/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/build-filenamev/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-filenamev/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/build-filenamev/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/build-filenamev/.dirs/runtime 3976s ok 5 /fileutils/build-filenamev 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents/.dirs/runtime 3976s # We do not have CAP_DAC_OVERRIDE or equivalent 3976s ok 6 /fileutils/mkdir-with-parents 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents-permission/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents-permission/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents-permission/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents-permission/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents-permission/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents-permission/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents-permission/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/mkdir-with-parents-permission/.dirs/runtime 3976s # We do not have CAP_DAC_OVERRIDE or equivalent 3976s ok 7 /fileutils/mkdir-with-parents-permission 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/format-size-for-display/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/format-size-for-display/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/format-size-for-display/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/format-size-for-display/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/format-size-for-display/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/format-size-for-display/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/format-size-for-display/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/format-size-for-display/.dirs/runtime 3976s ok 8 /fileutils/format-size-for-display 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/errors/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/errors/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/errors/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/errors/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/errors/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/errors/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/errors/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/errors/.dirs/runtime 3976s ok 9 /fileutils/errors 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/basename/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/basename/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/basename/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/basename/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/basename/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/basename/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/basename/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/basename/.dirs/runtime 3976s ok 10 /fileutils/basename 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/get-basename/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/get-basename/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/get-basename/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/get-basename/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/get-basename/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/get-basename/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/get-basename/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/get-basename/.dirs/runtime 3976s ok 11 /fileutils/get-basename 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/dirname/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/dirname/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/dirname/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/dirname/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/dirname/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/dirname/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/dirname/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/dirname/.dirs/runtime 3976s ok 12 /fileutils/dirname 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/dir-make-tmp/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/dir-make-tmp/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/dir-make-tmp/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/dir-make-tmp/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/dir-make-tmp/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/dir-make-tmp/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/dir-make-tmp/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/dir-make-tmp/.dirs/runtime 3976s ok 13 /fileutils/dir-make-tmp 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/file-open-tmp/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/file-open-tmp/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/file-open-tmp/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/file-open-tmp/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/file-open-tmp/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/file-open-tmp/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/file-open-tmp/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/file-open-tmp/.dirs/runtime 3976s ok 14 /fileutils/file-open-tmp 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/file-test/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/file-test/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/file-test/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/file-test/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/file-test/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/file-test/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/file-test/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/file-test/.dirs/runtime 3976s ok 15 /fileutils/file-test 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkstemp/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkstemp/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/mkstemp/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkstemp/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/mkstemp/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkstemp/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkstemp/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/mkstemp/.dirs/runtime 3976s ok 16 /fileutils/mkstemp 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkdtemp/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkdtemp/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/mkdtemp/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkdtemp/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/mkdtemp/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkdtemp/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/mkdtemp/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/mkdtemp/.dirs/runtime 3976s ok 17 /fileutils/mkdtemp 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/get-contents/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/get-contents/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/get-contents/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/get-contents/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/get-contents/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/get-contents/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/get-contents/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/get-contents/.dirs/runtime 3976s ok 18 /fileutils/get-contents 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/get-contents-large-file/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/get-contents-large-file/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/get-contents-large-file/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/get-contents-large-file/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/get-contents-large-file/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/get-contents-large-file/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/get-contents-large-file/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/get-contents-large-file/.dirs/runtime 3976s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/set-contents/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/set-contents/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/set-contents/.dirs/runtime 3976s ok 20 /fileutils/set-contents 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/.dirs/runtime 3976s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 3976s # Flags 0 and test 0 3976s # Flags 0 and test 1 3976s # Flags 0 and test 2 3976s # Flags 0 and test 3 3976s # Flags 0 and test 4 3976s # Flags 0 and test 5 3976s # Flags 1 and test 0 3976s # Flags 1 and test 1 3976s # Flags 1 and test 2 3976s # Flags 1 and test 3 3976s # Flags 1 and test 4 3976s # Flags 1 and test 5 3976s # Flags 2 and test 0 3976s # Flags 2 and test 1 3976s # Flags 2 and test 2 3976s # Flags 2 and test 3 3976s # Flags 2 and test 4 3976s # Flags 2 and test 5 3976s # Flags 3 and test 0 3976s # Flags 3 and test 1 3976s # Flags 3 and test 2 3976s # Flags 3 and test 3 3976s # Flags 3 and test 4 3976s # Flags 3 and test 5 3976s # Flags 4 and test 0 3976s # Flags 4 and test 1 3976s # Flags 4 and test 2 3976s # Flags 4 and test 3 3976s # Flags 4 and test 4 3976s # Flags 4 and test 5 3976s # Flags 5 and test 0 3976s # Flags 5 and test 1 3976s # Flags 5 and test 2 3976s # Flags 5 and test 3 3976s # Flags 5 and test 4 3976s # Flags 5 and test 5 3976s # Flags 6 and test 0 3976s # Flags 6 and test 1 3976s # Flags 6 and test 2 3976s # Flags 6 and test 3 3976s # Flags 6 and test 4 3976s # Flags 6 and test 5 3976s ok 21 /fileutils/set-contents-full 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/read-link/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/read-link/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/read-link/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/read-link/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/read-link/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/read-link/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/read-link/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/read-link/.dirs/runtime 3976s ok 22 /fileutils/read-link 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/stdio-wrappers/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/stdio-wrappers/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/stdio-wrappers/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/stdio-wrappers/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/stdio-wrappers/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/stdio-wrappers/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/stdio-wrappers/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/stdio-wrappers/.dirs/runtime 3976s # We do not have CAP_DAC_OVERRIDE or equivalent 3976s ok 23 /fileutils/stdio-wrappers 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/fopen-modes/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/fopen-modes/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/fopen-modes/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/fopen-modes/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/fopen-modes/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/fopen-modes/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/fopen-modes/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/fopen-modes/.dirs/runtime 3976s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 3976s # Testing fopen() mode 'w' 3976s # Testing fopen() mode 'r' 3976s # Testing fopen() mode 'a' 3976s # Testing fopen() mode 'w+' 3976s # Testing fopen() mode 'r+' 3976s # Testing fopen() mode 'a+' 3976s # Testing fopen() mode 'wb' 3976s # Testing fopen() mode 'rb' 3976s # Testing fopen() mode 'ab' 3976s # Testing fopen() mode 'w+b' 3976s # Testing fopen() mode 'r+b' 3976s # Testing fopen() mode 'a+b' 3976s # Testing fopen() mode 'wb+' 3976s # Testing fopen() mode 'rb+' 3976s # Testing fopen() mode 'ab+' 3976s ok 24 /fileutils/fopen-modes 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/clear-fd/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/clear-fd/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/clear-fd/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/clear-fd/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/clear-fd/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/clear-fd/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/clear-fd/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/clear-fd/.dirs/runtime 3976s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 3976s # Will be closed by autocleanup: 3, -42 3976s # Testing error handling 3976s ok 25 /fileutils/clear-fd 3976s # Start of set-contents-full tests 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-file/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-file/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-file/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-file/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-file/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-file/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-file/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-file/.dirs/runtime 3976s # We do not have CAP_DAC_OVERRIDE or equivalent 3976s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 3976s ok 26 /fileutils/set-contents-full/read-only-file 3976s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-directory/.dirs/home 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-directory/.dirs/cache 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-directory/.dirs/config 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-directory/.dirs/data 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-directory/.dirs/state 3976s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_TKWEK2/fileutils/set-contents-full/read-only-directory/.dirs/runtime 3976s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 3976s # Flags 0 3976s # We do not have CAP_DAC_OVERRIDE or equivalent 3976s # Flags 1 3976s # We do not have CAP_DAC_OVERRIDE or equivalent 3976s # Flags 2 3976s # We do not have CAP_DAC_OVERRIDE or equivalent 3976s # Flags 3 3976s # We do not have CAP_DAC_OVERRIDE or equivalent 3976s # Flags 4 3976s # We do not have CAP_DAC_OVERRIDE or equivalent 3976s # Flags 5 3976s # We do not have CAP_DAC_OVERRIDE or equivalent 3976s # Flags 6 3976s # We do not have CAP_DAC_OVERRIDE or equivalent 3976s ok 27 /fileutils/set-contents-full/read-only-directory 3976s # End of set-contents-full tests 3976s # Start of clear-fd tests 3976s # Start of subprocess tests 3976s # End of subprocess tests 3976s # End of clear-fd tests 3976s # End of fileutils tests 3976s ok - glib/fileutils.test 3976s # Running test: glib/basics-gobject.test 3976s TAP version 13 3976s # random seed: R02S6d2121902bff0d5940ada92ceef00745 3976s 1..1 3976s # Start of gobject tests 3976s # private data during initialization: 54321 == 54321 3976s # MAIN: emit test-signal: 3976s # ::test_signal default_handler called 3976s # ::test_signal default_handler called 3976s # ::test_signal default_handler called 3976s # signal return: "" 3976s # MAIN: call iface print-string on test and derived object: 3976s # Iface-FOO: "iface-string-from-test-type" from 0xb185300137a0 3976s # Iface-BAR: "iface-string-from-derived-type" from 0xb185300136c0 3976s # chaining: 3976s # Iface-FOO: "iface-string-from-derived-type" from 0xb185300136c0 3976s # private data after initialization: 54321 == 54321 3976s ok 1 /gobject/basics 3976s # End of gobject tests 3976s ok - glib/basics-gobject.test 3976s # Running test: glib/properties-refcount1.test 3976s TAP version 13 3976s # random seed: R02Sa548f53645082c58a80fc55647183326 3976s 1..1 3976s # Start of gobject tests 3976s # Start of refcount tests 3977s # .d 3977s # .e 3977s # .b 3977s # .c 3977s # .f 3977s # .d 3977s # .c 3977s # .e 3977s # .f 3977s # .b 3977s # Executing: glib/properties-refcount1.test 3977s # .d 3977s # .e 3977s # .b 3977s # .c 3977s # .f 3977s # .d 3977s # .c 3977s # .e 3977s # .b 3977s # .f 3977s # .d 3977s # .f 3977s # .e 3977s # .c 3977s # .b 3978s # .d 3978s # .c 3978s # .e 3978s # .b 3978s # .f 3978s # .c 3978s # .d 3978s # .e 3978s # .f 3978s # .b 3978s # .d 3978s # .c 3978s # .f 3978s # .e 3978s # .b 3978s # .d 3978s # .e 3978s # .c 3978s # .f 3978s # .b 3978s # .d 3978s # .e 3979s # .b 3979s # .f 3979s # .c 3979s # .d 3979s # .e 3979s # .f 3979s # .c 3979s # .b 3979s # .d 3979s # .e 3979s # .f 3979s # .c 3979s # .b 3979s # .d 3979s # .e 3979s # .f 3979s # .c 3979s # .b 3979s # .d 3979s ok 1 /gobject/refcount/properties-1 3979s # slow test /gobject/refcount/properties-1 executed in 3.03 secs 3979s # End of refcount tests 3979s # End of gobject tests 3979s ok - glib/properties-refcount1.test 3979s # Running test: glib/overflow-fallback.test 3979s TAP version 13 3979s # random seed: R02S81ba8d95dbc04f7d22f018aacbc80ae8 3979s 1..6 3979s # Start of glib tests 3979s # Start of checked-math tests 3979s ok 1 /glib/checked-math/guint-add 3979s ok 2 /glib/checked-math/guint-mul 3979s ok 3 /glib/checked-math/guint64-add 3979s ok 4 /glib/checked-math/guint64-mul 3979s ok 5 /glib/checked-math/gsize-add 3979s ok 6 /glib/checked-math/gsize-mul 3979s # End of checked-math tests 3979s # End of glib tests 3979s ok - glib/overflow-fallback.test 3979s # Running test: glib/signals-refcount3.test 3979s TAP version 13 3979s # random seed: R02Sd58eb3028223600e85e0165fbd583ab9 3979s 1..1 3979s # Start of gobject tests 3979s # Start of refcount tests 3979s # init 0xaf85fc2c0420 3979s # 3979s # init 0xaf85fc2c05c0 3979s # 3982s # Executing: glib/signals-refcount3.test 3984s # dispose 0xaf85fc2c0420! 3984s # 3984s # dispose 0xaf85fc2c05c0! 3984s # 3984s ok 1 /gobject/refcount/signals 3984s # slow test /gobject/refcount/signals executed in 5.00 secs 3984s # End of refcount tests 3984s # End of gobject tests 3984s ok - glib/signals-refcount3.test 3984s # Running test: glib/boxed.test 3984s TAP version 13 3984s # random seed: R02Sc17e431ed04fbaa56edde1213b3069cf 3984s 1..27 3984s # Start of boxed tests 3984s ok 1 /boxed/define 3984s ok 2 /boxed/ownership 3984s ok 3 /boxed/closure 3984s ok 4 /boxed/date 3984s ok 5 /boxed/value 3984s ok 6 /boxed/string 3984s ok 7 /boxed/hashtable 3984s ok 8 /boxed/array 3984s ok 9 /boxed/ptrarray 3984s ok 10 /boxed/regex 3984s ok 11 /boxed/varianttype 3984s ok 12 /boxed/error 3984s ok 13 /boxed/datetime 3984s ok 14 /boxed/matchinfo 3984s ok 15 /boxed/keyfile 3984s ok 16 /boxed/mainloop 3984s ok 17 /boxed/maincontext 3984s ok 18 /boxed/source 3984s ok 19 /boxed/variantbuilder 3984s ok 20 /boxed/timezone 3984s ok 21 /boxed/pollfd 3984s ok 22 /boxed/markup 3984s ok 23 /boxed/thread 3984s ok 24 /boxed/checksum 3984s ok 25 /boxed/tree 3984s ok 26 /boxed/patternspec 3984s ok 27 /boxed/rand 3984s # End of boxed tests 3984s ok - glib/boxed.test 3984s # Running test: glib/g-file-info-filesystem-readonly.test 3984s TAP version 13 3984s # random seed: R02Sfe6f20db84f6b9afdc2c3d973123bc17 3984s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 3984s 1..2 3984s # Start of g-file-info-filesystem-readonly tests 3984s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 3984s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 3984s # End of g-file-info-filesystem-readonly tests 3984s ok - glib/g-file-info-filesystem-readonly.test 3984s # Running test: glib/power-profile-monitor-portal.test 3985s TAP version 13 3985s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 3986s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 3986s 1..2 3986s ok - glib/power-profile-monitor-portal.test 3986s # Running test: glib/mimeapps.test 3986s TAP version 13 3986s # random seed: R02S2dfa4b7927bca010a5094f04be8ba49d 3986s 1..7 3986s # Start of appinfo tests 3986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/home 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/cache 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/system-config2 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/config 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/system-data2 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/data 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/state 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/runtime 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/system-data1/applications' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/data/applications' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/data/applications/myapp.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/data/applications/myapp2.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/data/applications/myapp3.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/data/applications/myapp4.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/data/applications/myapp5.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 3986s # removing '/tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/data/applications/mimeapps.list' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/data/applications/mimeinfo.cache' 3986s ok 1 /appinfo/all 3986s # Start of mime tests 3986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/home 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/cache 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/system-config2 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/config 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/system-data2 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/data 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/state 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/runtime 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/system-data1/applications' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/data/applications' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 3986s # removing '/tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/config 3986s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BJC8J2/appinfo/all/.dirs/config to /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/config 3986s ok 2 /appinfo/mime/api 3986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/home 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/cache 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/system-config2 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/config 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/system-data2 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/data 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/state 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/runtime 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/system-data1/applications' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/data/applications' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 3986s # removing '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/config 3986s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BJC8J2/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/config 3986s ok 3 /appinfo/mime/default 3986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/home 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/cache 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/system-config2 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/config 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/system-data2 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/data 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/state 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/runtime 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/system-data1/applications' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/data/applications' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 3986s # removing '/tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/config 3986s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BJC8J2/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/config 3986s ok 4 /appinfo/mime/file 3986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/home 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/cache 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/system-config2 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/config 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/system-data2 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/data 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/state 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/runtime 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/data/applications' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 3986s # removing '/tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 3986s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BJC8J2/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/config 3986s ok 5 /appinfo/mime/scheme-handler 3986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/home 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/cache 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/system-config2 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/config 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/system-data2 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/data 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/state 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/runtime 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/system-data1/applications' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/data/applications' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 3986s # removing '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/config 3986s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BJC8J2/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/config 3986s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/config 3986s ok 6 /appinfo/mime/default-last-used 3986s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/home 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/cache 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/system-config2 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/config 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/system-data2 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/data 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/state 3986s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/runtime 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 3986s # removing '/tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 3986s # creating '/tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 3986s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_BJC8J2/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_BJC8J2/appinfo/mime/ignore-nonexisting/.dirs/config 3986s ok 7 /appinfo/mime/ignore-nonexisting 3986s # End of mime tests 3986s # End of appinfo tests 3986s ok - glib/mimeapps.test 3986s # Running test: glib/fdo-notification-backend.test 3986s TAP version 13 3986s # random seed: R02S236e8f372c5ec52d8d004c7aed5ddc7e 3986s 1..2 3986s # Start of fdo-notification-backend tests 3986s # Test constructing a GFdoNotificationBackend 3986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3986s ok 1 /fdo-notification-backend/construction 3986s # Start of dbus tests 3986s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 3986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3986s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 3986s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3986s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3986s ok 2 /fdo-notification-backend/dbus/activate-action 3986s # End of dbus tests 3986s # End of fdo-notification-backend tests 3986s ok - glib/fdo-notification-backend.test 3986s # Running test: glib/type.test 3986s TAP version 13 3986s # random seed: R02S7b9f328104077ac09021aa852a510a94 3986s 1..6 3986s # Start of type tests 3986s ok 1 /type/registration-serial 3986s ok 2 /type/interface-prerequisite 3986s ok 3 /type/interface-check 3986s ok 4 /type/next-base 3986s ok 5 /type/is-a 3986s # Invalid types can?t be queried. 3986s # Unclassed types can?t be queried. 3986s ok 6 /type/query 3986s # End of type tests 3986s ok - glib/type.test 3986s # Running test: glib/atomic-c-17.test 3986s TAP version 13 3986s # random seed: R02S644cf9170f482b9af654958f7c5b4340 3986s 1..2 3986s # Start of atomic tests 3986s ok 1 /atomic/types 3987s ok 2 /atomic/threaded 3987s # slow test /atomic/threaded executed in 0.70 secs 3987s # End of atomic tests 3987s ok - glib/atomic-c-17.test 3987s # Running test: glib/bitlock.test 3987s TAP version 13 3987s # random seed: R02S12347c091ec4c6d96a911a368b0a1d31 3987s 1..1 3987s # Start of bitlock tests 3987s # Start of performance tests 3987s # max perf: iterations per second 3987s ok 1 /bitlock/performance/uncontended 3987s # End of performance tests 3987s # End of bitlock tests 3987s ok - glib/bitlock.test 3987s # Running test: glib/sort.test 3987s TAP version 13 3987s # random seed: R02Seb857de7328c9a3c1e132cfe4ce025ab 3987s 1..4 3987s # Start of sort tests 3987s ok 1 /sort/basic 3987s ok 2 /sort/zero-elements 3987s ok 3 /sort/stable 3987s ok 4 /sort/big 3987s # End of sort tests 3987s ok - glib/sort.test 3987s # Running test: glib/utils-isolated.test 3987s TAP version 13 3987s # random seed: R02See5c6c66005f5f98ee0408fef4de5241 3987s 1..9 3987s # Start of utils-isolated tests 3987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/tmp-dir/.dirs/home 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/tmp-dir/.dirs/cache 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/tmp-dir/.dirs/system-config2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/tmp-dir/.dirs/config 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/tmp-dir/.dirs/system-data2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/tmp-dir/.dirs/data 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/tmp-dir/.dirs/state 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I5OHK2/utils-isolated/tmp-dir/.dirs/runtime 3987s ok 1 /utils-isolated/tmp-dir 3987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/home-dir/.dirs/home 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/home-dir/.dirs/cache 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/home-dir/.dirs/system-config2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/home-dir/.dirs/config 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/home-dir/.dirs/system-data2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/home-dir/.dirs/data 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/home-dir/.dirs/state 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I5OHK2/utils-isolated/home-dir/.dirs/runtime 3987s ok 2 /utils-isolated/home-dir 3987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-cache-dir/.dirs/home 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-cache-dir/.dirs/cache 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/user-cache-dir/.dirs/system-config2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-cache-dir/.dirs/config 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/user-cache-dir/.dirs/system-data2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-cache-dir/.dirs/data 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-cache-dir/.dirs/state 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-cache-dir/.dirs/runtime 3987s ok 3 /utils-isolated/user-cache-dir 3987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-config-dirs/.dirs/home 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-config-dirs/.dirs/cache 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/system-config-dirs/.dirs/system-config2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-config-dirs/.dirs/config 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/system-config-dirs/.dirs/system-data2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-config-dirs/.dirs/data 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-config-dirs/.dirs/state 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-config-dirs/.dirs/runtime 3987s ok 4 /utils-isolated/system-config-dirs 3987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-config-dir/.dirs/home 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-config-dir/.dirs/cache 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/user-config-dir/.dirs/system-config2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-config-dir/.dirs/config 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/user-config-dir/.dirs/system-data2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-config-dir/.dirs/data 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-config-dir/.dirs/state 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-config-dir/.dirs/runtime 3987s ok 5 /utils-isolated/user-config-dir 3987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-data-dirs/.dirs/home 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-data-dirs/.dirs/cache 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/system-data-dirs/.dirs/system-config2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-data-dirs/.dirs/config 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/system-data-dirs/.dirs/system-data2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-data-dirs/.dirs/data 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-data-dirs/.dirs/state 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I5OHK2/utils-isolated/system-data-dirs/.dirs/runtime 3987s ok 6 /utils-isolated/system-data-dirs 3987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-data-dir/.dirs/home 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-data-dir/.dirs/cache 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/user-data-dir/.dirs/system-config2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-data-dir/.dirs/config 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/user-data-dir/.dirs/system-data2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-data-dir/.dirs/data 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-data-dir/.dirs/state 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-data-dir/.dirs/runtime 3987s ok 7 /utils-isolated/user-data-dir 3987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-state-dir/.dirs/home 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-state-dir/.dirs/cache 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/user-state-dir/.dirs/system-config2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-state-dir/.dirs/config 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/user-state-dir/.dirs/system-data2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-state-dir/.dirs/data 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-state-dir/.dirs/state 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-state-dir/.dirs/runtime 3987s ok 8 /utils-isolated/user-state-dir 3987s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-runtime-dir/.dirs/home 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-runtime-dir/.dirs/cache 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/user-runtime-dir/.dirs/system-config2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-runtime-dir/.dirs/config 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_I5OHK2/utils-isolated/user-runtime-dir/.dirs/system-data2 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-runtime-dir/.dirs/data 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-runtime-dir/.dirs/state 3987s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_I5OHK2/utils-isolated/user-runtime-dir/.dirs/runtime 3987s ok 9 /utils-isolated/user-runtime-dir 3987s # End of utils-isolated tests 3987s ok - glib/utils-isolated.test 3987s # Running test: glib/memory-monitor.test 3987s # Executing: glib/memory-monitor.test 3987s TAP version 13 3987s # random seed: R02Sf32557f7b1bd6346a98bafec6f7fb5c2 3987s 1..1 3987s # Start of memory-monitor tests 3987s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 3987s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 3987s ok 1 /memory-monitor/default 3987s # End of memory-monitor tests 3987s ok - glib/memory-monitor.test 3987s # Running test: glib/gdbus-address-get-session.test 3987s TAP version 13 3987s # random seed: R02S5bdbc423b546ced188ae1e66210e49d1 3987s 1..2 3987s # Start of gdbus tests 3987s ok 1 /gdbus/x11-autolaunch 3987s ok 2 /gdbus/xdg-runtime 3987s # End of gdbus tests 3987s ok - glib/gdbus-address-get-session.test 3987s # Running test: glib/refcount-macro.test 3987s TAP version 13 3987s # random seed: R02S7733290861d5e360fdeea7ce51e4070d 3987s 1..4 3987s # Start of refcount tests 3987s ok 1 /refcount/grefcount 3987s ok 2 /refcount/gatomicrefcount 3987s # Start of grefcount tests 3987s ok 3 /refcount/grefcount/saturation 3987s # End of grefcount tests 3987s # Start of gatomicrefcount tests 3987s ok 4 /refcount/gatomicrefcount/saturation 3987s # End of gatomicrefcount tests 3987s # End of refcount tests 3987s ok - glib/refcount-macro.test 3987s # Running test: glib/atomic-c-99.test 3987s TAP version 13 3987s # random seed: R02Sf7f935ec5d716e394d2f779e3bc0e697 3987s 1..2 3987s # Start of atomic tests 3987s ok 1 /atomic/types 3988s ok 2 /atomic/threaded 3988s # slow test /atomic/threaded executed in 0.68 secs 3988s # End of atomic tests 3988s ok - glib/atomic-c-99.test 3988s # Running test: glib/hook.test 3988s TAP version 13 3988s # random seed: R02S7d18385b4966950507df0fb0b80fa12d 3988s 1..2 3988s # Start of hook tests 3988s ok 1 /hook/basics 3988s ok 2 /hook/corner-cases 3988s # End of hook tests 3988s ok - glib/hook.test 3988s # Running test: glib/convert.test 3988s TAP version 13 3988s # random seed: R02Sa1f5eb239e5e5c88d313434acf2422ab 3988s 1..14 3988s # Start of conversion tests 3988s ok 1 /conversion/no-conv 3988s ok 2 /conversion/iconv-state 3988s ok 3 /conversion/illegal-sequence 3988s ok 4 /conversion/byte-order 3988s ok 5 /conversion/unicode 3988s ok 6 /conversion/filename-utf8 3988s ok 7 /conversion/filename-display 3988s ok 8 /conversion/convert-embedded-nul 3988s # Start of locale-to-utf8 tests 3988s ok 9 /conversion/locale-to-utf8/embedded-nul 3988s # Start of embedded-nul tests 3988s # Start of subprocess tests 3988s # End of subprocess tests 3988s # End of embedded-nul tests 3988s # End of locale-to-utf8 tests 3988s # Start of locale-from-utf8 tests 3988s ok 10 /conversion/locale-from-utf8/embedded-nul 3988s # Start of embedded-nul tests 3988s # Start of subprocess tests 3988s # End of subprocess tests 3988s # End of embedded-nul tests 3988s # End of locale-from-utf8 tests 3988s # Start of filename-to-utf8 tests 3988s ok 11 /conversion/filename-to-utf8/embedded-nul 3988s # Start of embedded-nul tests 3988s # Start of subprocess tests 3988s # End of subprocess tests 3988s # End of embedded-nul tests 3988s # End of filename-to-utf8 tests 3988s # Start of filename-from-utf8 tests 3988s ok 12 /conversion/filename-from-utf8/embedded-nul 3988s # Start of embedded-nul tests 3988s # Start of subprocess tests 3988s # End of subprocess tests 3988s # End of embedded-nul tests 3988s # End of filename-from-utf8 tests 3988s # Start of filename-from-uri tests 3988s ok 13 /conversion/filename-from-uri/query-is-ignored 3988s ok 14 /conversion/filename-from-uri/fragment-is-ignored 3988s # End of filename-from-uri tests 3988s # End of conversion tests 3988s ok - glib/convert.test 3988s # Running test: glib/mem-overflow.test 3988s TAP version 13 3988s # random seed: R02S1611182177245aabbf0f53dd96211a75 3988s 1..2 3988s # Start of mem tests 3988s ok 1 /mem/overflow 3988s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 3988s ok 2 /mem/empty-alloc 3988s # Start of overflow tests 3988s # Start of subprocess tests 3988s # End of subprocess tests 3988s # End of overflow tests 3988s # Start of empty-alloc tests 3988s # End of empty-alloc tests 3988s # End of mem tests 3988s ok - glib/mem-overflow.test 3988s # Running test: glib/utf8-misc.test 3988s TAP version 13 3988s # random seed: R02S03b866f7da22874ebcc543b65d797982 3988s 1..7 3988s # Start of utf8 tests 3988s ok 1 /utf8/strlen 3988s ok 2 /utf8/strncpy 3988s ok 3 /utf8/strrchr 3988s ok 4 /utf8/reverse 3988s ok 5 /utf8/substring 3988s ok 6 /utf8/make-valid 3988s ok 7 /utf8/truncate-middle 3988s # End of utf8 tests 3988s ok - glib/utf8-misc.test 3988s # Running test: glib/union-info.test 3988s TAP version 13 3988s # random seed: R02S84d30bb13559f12d41c76c304468de00 3988s 1..2 3988s # Start of union-info tests 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_4VSEK2/union-info/basic/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_4VSEK2/union-info/basic/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_4VSEK2/union-info/basic/.dirs/system-config1:/tmp/test_union-info_4VSEK2/union-info/basic/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_4VSEK2/union-info/basic/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_4VSEK2/union-info/basic/.dirs/system-data1:/tmp/test_union-info_4VSEK2/union-info/basic/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_4VSEK2/union-info/basic/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_4VSEK2/union-info/basic/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_4VSEK2/union-info/basic/.dirs/runtime 3988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 3988s # /union-info/basic summary: Test basic properties of GIUnionInfo 3988s ok 1 /union-info/basic 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_4VSEK2/union-info/methods/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_4VSEK2/union-info/methods/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_4VSEK2/union-info/methods/.dirs/system-config1:/tmp/test_union-info_4VSEK2/union-info/methods/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_4VSEK2/union-info/methods/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_4VSEK2/union-info/methods/.dirs/system-data1:/tmp/test_union-info_4VSEK2/union-info/methods/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_4VSEK2/union-info/methods/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_4VSEK2/union-info/methods/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_4VSEK2/union-info/methods/.dirs/runtime 3988s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 3988s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 3988s ok 2 /union-info/methods 3988s # End of union-info tests 3988s ok - glib/union-info.test 3988s # Running test: glib/gdbus-threading.test 3988s TAP version 13 3988s # random seed: R02S5f07df9067f72c6da463139013a2e8f9 3988s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 3988s ok - glib/gdbus-threading.test 3988s # Running test: glib/file.test 3988s TAP version 13 3988s # random seed: R02Sc2f41970a5774e14294c1fdd96b2917b 3988s 1..50 3988s # Start of file tests 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/basic/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/basic/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/basic/.dirs/system-config1:/tmp/test_file_CE6EK2/file/basic/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/basic/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/basic/.dirs/system-data1:/tmp/test_file_CE6EK2/file/basic/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/basic/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/basic/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/basic/.dirs/runtime 3988s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 3988s ok 1 /file/basic 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/build-filename/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/build-filename/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/build-filename/.dirs/system-config1:/tmp/test_file_CE6EK2/file/build-filename/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/build-filename/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/build-filename/.dirs/system-data1:/tmp/test_file_CE6EK2/file/build-filename/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/build-filename/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/build-filename/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/build-filename/.dirs/runtime 3988s ok 2 /file/build-filename 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/build-filenamev/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/build-filenamev/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/build-filenamev/.dirs/system-config1:/tmp/test_file_CE6EK2/file/build-filenamev/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/build-filenamev/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/build-filenamev/.dirs/system-data1:/tmp/test_file_CE6EK2/file/build-filenamev/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/build-filenamev/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/build-filenamev/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/build-filenamev/.dirs/runtime 3988s ok 3 /file/build-filenamev 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/parent/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/parent/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/parent/.dirs/system-config1:/tmp/test_file_CE6EK2/file/parent/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/parent/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/parent/.dirs/system-data1:/tmp/test_file_CE6EK2/file/parent/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/parent/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/parent/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/parent/.dirs/runtime 3988s ok 4 /file/parent 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/child/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/child/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/child/.dirs/system-config1:/tmp/test_file_CE6EK2/file/child/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/child/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/child/.dirs/system-data1:/tmp/test_file_CE6EK2/file/child/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/child/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/child/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/child/.dirs/runtime 3988s ok 5 /file/child 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/empty-path/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/empty-path/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/empty-path/.dirs/system-config1:/tmp/test_file_CE6EK2/file/empty-path/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/empty-path/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/empty-path/.dirs/system-data1:/tmp/test_file_CE6EK2/file/empty-path/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/empty-path/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/empty-path/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/empty-path/.dirs/runtime 3988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 3988s # /file/empty-path summary: Check that creating a file with an empty path results in errors 3988s ok 6 /file/empty-path 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/type/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/type/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/type/.dirs/system-config1:/tmp/test_file_CE6EK2/file/type/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/type/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/type/.dirs/system-data1:/tmp/test_file_CE6EK2/file/type/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/type/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/type/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/type/.dirs/runtime 3988s ok 7 /file/type 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/parse-name/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/parse-name/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/parse-name/.dirs/system-config1:/tmp/test_file_CE6EK2/file/parse-name/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/parse-name/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/parse-name/.dirs/system-data1:/tmp/test_file_CE6EK2/file/parse-name/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/parse-name/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/parse-name/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/parse-name/.dirs/runtime 3988s ok 8 /file/parse-name 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/replace-load/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/replace-load/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/replace-load/.dirs/system-config1:/tmp/test_file_CE6EK2/file/replace-load/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/replace-load/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/replace-load/.dirs/system-data1:/tmp/test_file_CE6EK2/file/replace-load/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/replace-load/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/replace-load/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/replace-load/.dirs/runtime 3988s ok 9 /file/replace-load 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/replace-cancel/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/replace-cancel/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/replace-cancel/.dirs/system-config1:/tmp/test_file_CE6EK2/file/replace-cancel/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/replace-cancel/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/replace-cancel/.dirs/system-data1:/tmp/test_file_CE6EK2/file/replace-cancel/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/replace-cancel/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/replace-cancel/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/replace-cancel/.dirs/runtime 3988s # Bug Reference: https://bugzilla.gnome.org/629301 3988s ok 10 /file/replace-cancel 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/replace-symlink/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/replace-symlink/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/replace-symlink/.dirs/system-config1:/tmp/test_file_CE6EK2/file/replace-symlink/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/replace-symlink/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/replace-symlink/.dirs/system-data1:/tmp/test_file_CE6EK2/file/replace-symlink/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/replace-symlink/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/replace-symlink/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/replace-symlink/.dirs/runtime 3988s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 3988s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 3988s # Using temporary directory /tmp/test_file_CE6EK2/g_file_replace_symlink_PV5DK2 3988s ok 11 /file/replace-symlink 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/async-new-tmp/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/async-new-tmp/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_CE6EK2/file/async-new-tmp/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/async-new-tmp/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_CE6EK2/file/async-new-tmp/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/async-new-tmp/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/async-new-tmp/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/async-new-tmp/.dirs/runtime 3988s ok 12 /file/async-new-tmp 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/async-new-tmp-dir/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/async-new-tmp-dir/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_CE6EK2/file/async-new-tmp-dir/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/async-new-tmp-dir/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_CE6EK2/file/async-new-tmp-dir/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/async-new-tmp-dir/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/async-new-tmp-dir/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/async-new-tmp-dir/.dirs/runtime 3988s ok 13 /file/async-new-tmp-dir 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/async-delete/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/async-delete/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/async-delete/.dirs/system-config1:/tmp/test_file_CE6EK2/file/async-delete/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/async-delete/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/async-delete/.dirs/system-data1:/tmp/test_file_CE6EK2/file/async-delete/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/async-delete/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/async-delete/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/async-delete/.dirs/runtime 3988s ok 14 /file/async-delete 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/async-make-symlink/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/async-make-symlink/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_CE6EK2/file/async-make-symlink/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/async-make-symlink/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_CE6EK2/file/async-make-symlink/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/async-make-symlink/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/async-make-symlink/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/async-make-symlink/.dirs/runtime 3988s ok 15 /file/async-make-symlink 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/copy-preserve-mode/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/copy-preserve-mode/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_CE6EK2/file/copy-preserve-mode/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/copy-preserve-mode/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_CE6EK2/file/copy-preserve-mode/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/copy-preserve-mode/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/copy-preserve-mode/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/copy-preserve-mode/.dirs/runtime 3988s # Current umask: 2 3988s # Vector 0 3988s # Vector 1 3988s # Vector 2 3988s # Vector 3 3988s # Vector 4 3988s # Vector 5 3988s # Vector 6 3988s # Vector 7 3988s # Vector 8 3988s # Vector 9 3988s # Vector 10 3988s ok 16 /file/copy-preserve-mode 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/measure/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/measure/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/measure/.dirs/system-config1:/tmp/test_file_CE6EK2/file/measure/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/measure/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/measure/.dirs/system-data1:/tmp/test_file_CE6EK2/file/measure/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/measure/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/measure/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/measure/.dirs/runtime 3988s ok 17 /file/measure 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/measure-async/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/measure-async/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/measure-async/.dirs/system-config1:/tmp/test_file_CE6EK2/file/measure-async/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/measure-async/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/measure-async/.dirs/system-data1:/tmp/test_file_CE6EK2/file/measure-async/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/measure-async/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/measure-async/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/measure-async/.dirs/runtime 3988s ok 18 /file/measure-async 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/load-bytes/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/load-bytes/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/load-bytes/.dirs/system-config1:/tmp/test_file_CE6EK2/file/load-bytes/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/load-bytes/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/load-bytes/.dirs/system-data1:/tmp/test_file_CE6EK2/file/load-bytes/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/load-bytes/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/load-bytes/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/load-bytes/.dirs/runtime 3988s ok 19 /file/load-bytes 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/load-bytes-async/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/load-bytes-async/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_CE6EK2/file/load-bytes-async/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/load-bytes-async/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_CE6EK2/file/load-bytes-async/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/load-bytes-async/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/load-bytes-async/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/load-bytes-async/.dirs/runtime 3988s ok 20 /file/load-bytes-async 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/writev/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/writev/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/writev/.dirs/system-config1:/tmp/test_file_CE6EK2/file/writev/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/writev/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/writev/.dirs/system-data1:/tmp/test_file_CE6EK2/file/writev/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/writev/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/writev/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/writev/.dirs/runtime 3988s ok 21 /file/writev 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/build-attribute-list-for-copy/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/build-attribute-list-for-copy/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_CE6EK2/file/build-attribute-list-for-copy/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/build-attribute-list-for-copy/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_CE6EK2/file/build-attribute-list-for-copy/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/build-attribute-list-for-copy/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/build-attribute-list-for-copy/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/build-attribute-list-for-copy/.dirs/runtime 3988s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 3988s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 3988s # 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::* 3988s # 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::* 3988s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 3988s # Attributes for copy: standard::size,xattr::* 3988s # Attributes for copy: standard::size,unix::mode,xattr::* 3988s ok 22 /file/build-attribute-list-for-copy 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/move_async/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/move_async/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/move_async/.dirs/system-config1:/tmp/test_file_CE6EK2/file/move_async/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/move_async/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/move_async/.dirs/system-data1:/tmp/test_file_CE6EK2/file/move_async/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/move_async/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/move_async/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/move_async/.dirs/runtime 3988s ok 23 /file/move_async 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/query-zero-length-content-type/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/query-zero-length-content-type/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_CE6EK2/file/query-zero-length-content-type/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/query-zero-length-content-type/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_CE6EK2/file/query-zero-length-content-type/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/query-zero-length-content-type/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/query-zero-length-content-type/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/query-zero-length-content-type/.dirs/runtime 3988s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 3988s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 3988s ok 24 /file/query-zero-length-content-type 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/query-default-handler-file/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-file/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_CE6EK2/file/query-default-handler-file/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-file/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_CE6EK2/file/query-default-handler-file/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-file/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-file/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/query-default-handler-file/.dirs/runtime 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-file/.dirs/data/applications 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-file/.dirs/config 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-file/.dirs/config 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-file/.dirs/config 3988s ok 25 /file/query-default-handler-file 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/runtime 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/data/applications 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/config 3988s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_CE6EK2/file/query-default-handler-file/.dirs/config to /tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/config 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/config 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/config 3988s ok 26 /file/query-default-handler-file-async 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/runtime 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/data/applications 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/config 3988s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_CE6EK2/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/config 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/config 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/config 3988s ok 27 /file/query-default-handler-uri 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/query-default-handler-uri-async/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-uri-async/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_CE6EK2/file/query-default-handler-uri-async/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-uri-async/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_CE6EK2/file/query-default-handler-uri-async/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-uri-async/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/query-default-handler-uri-async/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/query-default-handler-uri-async/.dirs/runtime 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-uri-async/.dirs/data/applications 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-uri-async/.dirs/config 3988s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_CE6EK2/file/query-default-handler-uri/.dirs/config to /tmp/test_file_CE6EK2/file/query-default-handler-uri-async/.dirs/config 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-uri-async/.dirs/config 3988s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_CE6EK2/file/query-default-handler-uri-async/.dirs/config 3988s ok 28 /file/query-default-handler-uri-async 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/enumerator-cancellation/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/enumerator-cancellation/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_CE6EK2/file/enumerator-cancellation/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/enumerator-cancellation/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_CE6EK2/file/enumerator-cancellation/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/enumerator-cancellation/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/enumerator-cancellation/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/enumerator-cancellation/.dirs/runtime 3988s ok 29 /file/enumerator-cancellation 3988s # Start of async-create-delete tests 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/async-create-delete/0/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/0/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_CE6EK2/file/async-create-delete/0/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/0/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_CE6EK2/file/async-create-delete/0/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/0/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/0/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/async-create-delete/0/.dirs/runtime 3988s ok 30 /file/async-create-delete/0 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/async-create-delete/1/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/1/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_CE6EK2/file/async-create-delete/1/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/1/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_CE6EK2/file/async-create-delete/1/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/1/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/1/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/async-create-delete/1/.dirs/runtime 3988s ok 31 /file/async-create-delete/1 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/async-create-delete/10/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/10/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_CE6EK2/file/async-create-delete/10/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/10/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_CE6EK2/file/async-create-delete/10/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/10/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/10/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/async-create-delete/10/.dirs/runtime 3988s ok 32 /file/async-create-delete/10 3988s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/async-create-delete/25/.dirs/home 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/25/.dirs/cache 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_CE6EK2/file/async-create-delete/25/.dirs/system-config2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/25/.dirs/config 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_CE6EK2/file/async-create-delete/25/.dirs/system-data2 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/25/.dirs/data 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/25/.dirs/state 3988s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/async-create-delete/25/.dirs/runtime 3989s ok 33 /file/async-create-delete/25 3989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/async-create-delete/4096/.dirs/home 3989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/4096/.dirs/cache 3989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_CE6EK2/file/async-create-delete/4096/.dirs/system-config2 3989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/4096/.dirs/config 3989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_CE6EK2/file/async-create-delete/4096/.dirs/system-data2 3989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/4096/.dirs/data 3989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/async-create-delete/4096/.dirs/state 3989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/async-create-delete/4096/.dirs/runtime 3989s ok 34 /file/async-create-delete/4096 3989s # End of async-create-delete tests 3989s # Start of replace-symlink tests 3989s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/replace-symlink/using-etag/.dirs/home 3989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/replace-symlink/using-etag/.dirs/cache 3989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_CE6EK2/file/replace-symlink/using-etag/.dirs/system-config2 3989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/replace-symlink/using-etag/.dirs/config 3989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_CE6EK2/file/replace-symlink/using-etag/.dirs/system-data2 3989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/replace-symlink/using-etag/.dirs/data 3989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/replace-symlink/using-etag/.dirs/state 3989s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/replace-symlink/using-etag/.dirs/runtime 3989s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 3989s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 3989s # Using temporary directory /tmp/test_file_CE6EK2/g_file_replace_symlink_using_etag_8LDBK2 3991s ok 35 /file/replace-symlink/using-etag 3991s # slow test /file/replace-symlink/using-etag executed in 2.01 secs 3991s # End of replace-symlink tests 3991s # Start of replace tests 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/replace/write-only/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/replace/write-only/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/replace/write-only/.dirs/system-config1:/tmp/test_file_CE6EK2/file/replace/write-only/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/replace/write-only/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/replace/write-only/.dirs/system-data1:/tmp/test_file_CE6EK2/file/replace/write-only/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/replace/write-only/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/replace/write-only/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/replace/write-only/.dirs/runtime 3991s # /file/replace/write-only summary: Test various situations for g_file_replace() 3991s # Current umask: 2 3991s # Test 0, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_79JBK2 3991s # Test 1, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_CQPBK2 3991s # Test 2, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_4UGCK2 3991s # Test 3, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_F8NCK2 3991s # Test 4, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_BQMCK2 3991s # Test 5, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_53LCK2 3991s # Test 6, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_XJ4BK2 3991s # Test 7, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_TG7BK2 3991s # Test 8, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_3RACK2 3991s # Test 9, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_H79BK2 3991s # Test 10, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_Q8CCK2 3991s # Test 11, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_OOHAK2 3991s # Test 12, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_FXFAK2 3991s # Test 13, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_7AKAK2 3991s # Test 14, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_8QMAK2 3991s # Test 15, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_DF09J2 3991s # Test 16, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_3619J2 3991s # Test 17, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_OTAAK2 3991s # Test 18, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_WH3AK2 3991s # Test 19, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_Y36AK2 3991s # Test 20, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_LD9AK2 3991s # Test 21, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_G4ABK2 3991s # Test 22, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_BCTAK2 3991s # Test 23, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_AWSAK2 3991s # Test 24, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_V0VAK2 3991s # Test 25, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_YRZ8J2 3991s # Test 26, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_X1Y8J2 3991s # Test 27, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_CO28J2 3991s # Test 28, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_S958J2 3991s # Test 29, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_VU68J2 3991s # Test 30, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_38L8J2 3991s # Test 31, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_AUL8J2 3991s # Test 32, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_22N8J2 3991s # Test 33, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_7XW8J2 3991s # Test 34, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_MDV8J2 3991s # Test 35, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_OTO9J2 3991s # Test 36, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_ZKS9J2 3991s # Test 37, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_ZTT9J2 3991s # Test 38, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_CAW9J2 3991s # Test 39, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_3ZE9J2 3991s # Test 40, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_RHH9J2 3991s # Test 41, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_MJJ9J2 3991s # Test 42, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_PGO7J2 3991s # Test 43, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_RYP7J2 3991s # Test 44, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_FDS7J2 3991s # Test 45, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_VW76J2 3991s # Test 46, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_ADA7J2 3991s # Test 47, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_RYE7J2 3991s # Test 48, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_EFH7J2 3991s # We do not have CAP_DAC_OVERRIDE or equivalent 3991s ok 36 /file/replace/write-only 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/replace/read-write/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/replace/read-write/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/replace/read-write/.dirs/system-config1:/tmp/test_file_CE6EK2/file/replace/read-write/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/replace/read-write/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/replace/read-write/.dirs/system-data1:/tmp/test_file_CE6EK2/file/replace/read-write/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/replace/read-write/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/replace/read-write/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/replace/read-write/.dirs/runtime 3991s # /file/replace/read-write summary: Test various situations for g_file_replace() 3991s # Current umask: 2 3991s # Test 0, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_8787J2 3991s # Test 1, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_DKD8J2 3991s # Test 2, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_AAG8J2 3991s # Test 3, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_XTI8J2 3991s # Test 4, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_NSW7J2 3991s # Test 5, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_VKW7J2 3991s # Test 6, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_4E47J2 3991s # Test 7, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_4Y67J2 3991s # Test 8, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_NCFHK2 3991s # Test 9, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_JDDHK2 3991s # Test 10, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_0GLHK2 3991s # Test 11, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_D6NHK2 3991s # Test 12, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_XF2GK2 3991s # Test 13, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_SZ0GK2 3991s # Test 14, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_XN8GK2 3991s # Test 15, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_80AHK2 3991s # Test 16, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_NY3HK2 3991s # Test 17, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_6Q9HK2 3991s # Test 18, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_DIBIK2 3991s # Test 19, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_6EVHK2 3991s # Test 20, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_1DXHK2 3991s # Test 21, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_O3YHK2 3991s # Test 22, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_U82FK2 3991s # Test 23, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_G50FK2 3991s # Test 24, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_XM4FK2 3991s # Test 25, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_15NFK2 3991s # Test 26, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_WELFK2 3991s # Test 27, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_43QFK2 3991s # Test 28, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_97SFK2 3991s # Test 29, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_R5UFK2 3991s # Test 30, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_U3NGK2 3991s # Test 31, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_FQNGK2 3991s # Test 32, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_U7VGK2 3991s # Test 33, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_DSXGK2 3991s # Test 34, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_LMDGK2 3991s # Test 35, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_VTBGK2 3991s # Test 36, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_XGEGK2 3991s # Test 37, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_YFLGK2 3991s # Test 38, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_9LKEK2 3991s # Test 39, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_LMSEK2 3991s # Test 40, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_J9UEK2 3991s # Test 41, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_MY6DK2 3991s # Test 42, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_ZYFEK2 3991s # Test 43, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_S8GEK2 3991s # Test 44, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_Q19EK2 3991s # Test 45, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_FC9EK2 3991s # Test 46, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_WOHFK2 3991s # Test 47, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_O2FFK2 3991s # Test 48, using temporary directory /tmp/test_file_CE6EK2/g_file_replace_4LJFK2 3991s # We do not have CAP_DAC_OVERRIDE or equivalent 3991s ok 37 /file/replace/read-write 3991s # End of replace tests 3991s # Start of copy tests 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/copy/progress/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/copy/progress/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/copy/progress/.dirs/system-config1:/tmp/test_file_CE6EK2/file/copy/progress/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/copy/progress/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/copy/progress/.dirs/system-data1:/tmp/test_file_CE6EK2/file/copy/progress/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/copy/progress/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/copy/progress/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/copy/progress/.dirs/runtime 3991s ok 38 /file/copy/progress 3991s # End of copy tests 3991s # Start of writev tests 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/writev/no-bytes-written/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/writev/no-bytes-written/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_CE6EK2/file/writev/no-bytes-written/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/writev/no-bytes-written/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_CE6EK2/file/writev/no-bytes-written/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/writev/no-bytes-written/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/writev/no-bytes-written/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/writev/no-bytes-written/.dirs/runtime 3991s ok 39 /file/writev/no-bytes-written 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/writev/no-vectors/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/writev/no-vectors/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_CE6EK2/file/writev/no-vectors/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/writev/no-vectors/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_CE6EK2/file/writev/no-vectors/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/writev/no-vectors/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/writev/no-vectors/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/writev/no-vectors/.dirs/runtime 3991s ok 40 /file/writev/no-vectors 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/writev/empty-vectors/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/writev/empty-vectors/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_CE6EK2/file/writev/empty-vectors/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/writev/empty-vectors/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_CE6EK2/file/writev/empty-vectors/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/writev/empty-vectors/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/writev/empty-vectors/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/writev/empty-vectors/.dirs/runtime 3991s ok 41 /file/writev/empty-vectors 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/writev/too-big-vectors/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/writev/too-big-vectors/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_CE6EK2/file/writev/too-big-vectors/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/writev/too-big-vectors/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_CE6EK2/file/writev/too-big-vectors/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/writev/too-big-vectors/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/writev/too-big-vectors/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/writev/too-big-vectors/.dirs/runtime 3991s ok 42 /file/writev/too-big-vectors 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/writev/async/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/writev/async/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/writev/async/.dirs/system-config1:/tmp/test_file_CE6EK2/file/writev/async/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/writev/async/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/writev/async/.dirs/system-data1:/tmp/test_file_CE6EK2/file/writev/async/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/writev/async/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/writev/async/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/writev/async/.dirs/runtime 3991s ok 43 /file/writev/async 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/writev/async_all/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/writev/async_all/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/writev/async_all/.dirs/system-config1:/tmp/test_file_CE6EK2/file/writev/async_all/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/writev/async_all/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/writev/async_all/.dirs/system-data1:/tmp/test_file_CE6EK2/file/writev/async_all/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/writev/async_all/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/writev/async_all/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/writev/async_all/.dirs/runtime 3991s ok 44 /file/writev/async_all 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/writev/async_all-empty-vectors/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-empty-vectors/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_CE6EK2/file/writev/async_all-empty-vectors/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-empty-vectors/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_CE6EK2/file/writev/async_all-empty-vectors/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-empty-vectors/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-empty-vectors/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/writev/async_all-empty-vectors/.dirs/runtime 3991s ok 45 /file/writev/async_all-empty-vectors 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/writev/async_all-no-vectors/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-no-vectors/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_CE6EK2/file/writev/async_all-no-vectors/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-no-vectors/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_CE6EK2/file/writev/async_all-no-vectors/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-no-vectors/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-no-vectors/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/writev/async_all-no-vectors/.dirs/runtime 3991s ok 46 /file/writev/async_all-no-vectors 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/writev/async_all-to-big-vectors/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-to-big-vectors/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_CE6EK2/file/writev/async_all-to-big-vectors/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-to-big-vectors/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_CE6EK2/file/writev/async_all-to-big-vectors/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-to-big-vectors/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-to-big-vectors/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/writev/async_all-to-big-vectors/.dirs/runtime 3991s ok 47 /file/writev/async_all-to-big-vectors 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/writev/async_all-cancellation/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-cancellation/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_CE6EK2/file/writev/async_all-cancellation/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-cancellation/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_CE6EK2/file/writev/async_all-cancellation/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-cancellation/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/writev/async_all-cancellation/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/writev/async_all-cancellation/.dirs/runtime 3991s ok 48 /file/writev/async_all-cancellation 3991s # End of writev tests 3991s # Start of from-uri tests 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/from-uri/ignores-query-string/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/from-uri/ignores-query-string/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_CE6EK2/file/from-uri/ignores-query-string/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/from-uri/ignores-query-string/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_CE6EK2/file/from-uri/ignores-query-string/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/from-uri/ignores-query-string/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/from-uri/ignores-query-string/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/from-uri/ignores-query-string/.dirs/runtime 3991s ok 49 /file/from-uri/ignores-query-string 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_CE6EK2/file/from-uri/ignores-fragment/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_CE6EK2/file/from-uri/ignores-fragment/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_CE6EK2/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_CE6EK2/file/from-uri/ignores-fragment/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_CE6EK2/file/from-uri/ignores-fragment/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_CE6EK2/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_CE6EK2/file/from-uri/ignores-fragment/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_CE6EK2/file/from-uri/ignores-fragment/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_CE6EK2/file/from-uri/ignores-fragment/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_CE6EK2/file/from-uri/ignores-fragment/.dirs/runtime 3991s ok 50 /file/from-uri/ignores-fragment 3991s # End of from-uri tests 3991s # End of file tests 3991s ok - glib/file.test 3991s # Running test: glib/bookmarkfile.test 3991s TAP version 13 3991s # random seed: R02S0a54cfc610e3fc0d7e43a69c32aee5dc 3991s 1..96 3991s # Start of bookmarks tests 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/load-from-data-dirs/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/load-from-data-dirs/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/load-from-data-dirs/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/load-from-data-dirs/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/load-from-data-dirs/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/load-from-data-dirs/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/load-from-data-dirs/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/load-from-data-dirs/.dirs/runtime 3991s ok 1 /bookmarks/load-from-data-dirs 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/to-file/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/to-file/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/to-file/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/to-file/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/to-file/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/to-file/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/to-file/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/to-file/.dirs/runtime 3991s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_QP3DK2/bookmarkfile-test-2VHDK2.xbel 3991s # Roundtrip from a valid bookmark file 3991s ok 2 /bookmarks/to-file 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/move-item/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/move-item/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/move-item/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/move-item/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/move-item/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/move-item/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/move-item/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/move-item/.dirs/runtime 3991s ok 3 /bookmarks/move-item 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/corner-cases/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/corner-cases/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/corner-cases/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/corner-cases/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/corner-cases/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/corner-cases/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/corner-cases/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/corner-cases/.dirs/runtime 3991s ok 4 /bookmarks/corner-cases 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/misc/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/misc/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/misc/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/misc/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/misc/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/misc/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/misc/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/misc/.dirs/runtime 3991s ok 5 /bookmarks/misc 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/deprecated/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/deprecated/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/deprecated/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/deprecated/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/deprecated/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/deprecated/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/deprecated/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/deprecated/.dirs/runtime 3991s ok 6 /bookmarks/deprecated 3991s # Start of parse tests 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-12.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-12.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-12.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-12.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-12.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-12.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-12.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-12.xbel/.dirs/runtime 3991s ok 7 /bookmarks/parse/fail-12.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-21.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-21.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-21.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-21.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-21.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-21.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-21.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-21.xbel/.dirs/runtime 3991s ok 8 /bookmarks/parse/fail-21.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-33.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-33.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-33.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-33.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-33.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-33.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-33.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-33.xbel/.dirs/runtime 3991s ok 9 /bookmarks/parse/fail-33.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-41.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-41.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-41.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-41.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-41.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-41.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-41.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-41.xbel/.dirs/runtime 3991s ok 10 /bookmarks/parse/fail-41.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-22.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-22.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-22.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-22.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-22.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-22.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-22.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-22.xbel/.dirs/runtime 3991s ok 11 /bookmarks/parse/fail-22.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-10.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-10.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-10.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-10.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-10.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-10.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-10.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-10.xbel/.dirs/runtime 3991s ok 12 /bookmarks/parse/fail-10.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-07.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-07.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-07.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-07.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-07.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-07.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-07.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-07.xbel/.dirs/runtime 3991s ok 13 /bookmarks/parse/fail-07.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-32.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-32.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-32.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-32.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-32.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-32.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-32.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-32.xbel/.dirs/runtime 3991s ok 14 /bookmarks/parse/fail-32.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-11.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-11.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-11.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-11.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-11.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-11.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-11.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-11.xbel/.dirs/runtime 3991s ok 15 /bookmarks/parse/fail-11.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-16.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-16.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-16.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-16.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-16.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-16.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-16.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-16.xbel/.dirs/runtime 3991s ok 16 /bookmarks/parse/fail-16.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-03.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-03.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-03.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-03.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-03.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-03.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-03.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-03.xbel/.dirs/runtime 3991s ok 17 /bookmarks/parse/fail-03.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-15.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-15.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-15.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-15.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-15.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-15.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-15.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-15.xbel/.dirs/runtime 3991s ok 18 /bookmarks/parse/fail-15.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-03.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-03.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-03.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-03.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-03.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-03.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-03.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-03.xbel/.dirs/runtime 3991s ok 19 /bookmarks/parse/valid-03.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-34.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-34.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-34.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-34.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-34.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-34.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-34.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-34.xbel/.dirs/runtime 3991s ok 20 /bookmarks/parse/fail-34.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-26.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-26.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-26.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-26.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-26.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-26.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-26.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-26.xbel/.dirs/runtime 3991s ok 21 /bookmarks/parse/fail-26.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-31.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-31.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-31.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-31.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-31.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-31.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-31.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-31.xbel/.dirs/runtime 3991s ok 22 /bookmarks/parse/fail-31.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-05.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-05.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-05.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-05.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-05.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-05.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-05.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-05.xbel/.dirs/runtime 3991s ok 23 /bookmarks/parse/fail-05.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-27.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-27.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-27.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-27.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-27.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-27.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-27.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-27.xbel/.dirs/runtime 3991s ok 24 /bookmarks/parse/fail-27.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-01.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-01.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-01.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-01.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-01.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-01.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-01.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-01.xbel/.dirs/runtime 3991s ok 25 /bookmarks/parse/valid-01.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-29.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-29.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-29.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-29.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-29.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-29.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-29.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-29.xbel/.dirs/runtime 3991s ok 26 /bookmarks/parse/fail-29.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-28.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-28.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-28.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-28.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-28.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-28.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-28.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-28.xbel/.dirs/runtime 3991s ok 27 /bookmarks/parse/fail-28.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-01.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-01.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-01.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-01.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-01.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-01.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-01.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-01.xbel/.dirs/runtime 3991s ok 28 /bookmarks/parse/fail-01.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-30.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-30.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-30.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-30.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-30.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-30.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-30.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-30.xbel/.dirs/runtime 3991s ok 29 /bookmarks/parse/fail-30.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-23.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-23.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-23.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-23.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-23.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-23.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-23.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-23.xbel/.dirs/runtime 3991s ok 30 /bookmarks/parse/fail-23.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-40.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-40.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-40.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-40.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-40.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-40.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-40.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-40.xbel/.dirs/runtime 3991s ok 31 /bookmarks/parse/fail-40.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-06.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-06.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-06.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-06.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-06.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-06.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-06.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-06.xbel/.dirs/runtime 3991s ok 32 /bookmarks/parse/fail-06.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-13.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-13.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-13.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-13.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-13.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-13.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-13.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-13.xbel/.dirs/runtime 3991s ok 33 /bookmarks/parse/fail-13.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-04.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-04.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-04.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-04.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-04.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-04.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-04.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-04.xbel/.dirs/runtime 3991s ok 34 /bookmarks/parse/fail-04.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-18.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-18.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-18.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-18.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-18.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-18.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-18.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-18.xbel/.dirs/runtime 3991s ok 35 /bookmarks/parse/fail-18.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-02.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-02.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-02.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-02.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-02.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-02.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-02.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-02.xbel/.dirs/runtime 3991s ok 36 /bookmarks/parse/fail-02.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-36.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-36.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-36.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-36.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-36.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-36.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-36.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-36.xbel/.dirs/runtime 3991s ok 37 /bookmarks/parse/fail-36.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-02.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-02.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-02.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-02.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-02.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-02.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-02.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/valid-02.xbel/.dirs/runtime 3991s ok 38 /bookmarks/parse/valid-02.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-38.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-38.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-38.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-38.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-38.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-38.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-38.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-38.xbel/.dirs/runtime 3991s ok 39 /bookmarks/parse/fail-38.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-42.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-42.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-42.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-42.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-42.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-42.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-42.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-42.xbel/.dirs/runtime 3991s ok 40 /bookmarks/parse/fail-42.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-19.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-19.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-19.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-19.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-19.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-19.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-19.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-19.xbel/.dirs/runtime 3991s ok 41 /bookmarks/parse/fail-19.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-14.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-14.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-14.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-14.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-14.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-14.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-14.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-14.xbel/.dirs/runtime 3991s ok 42 /bookmarks/parse/fail-14.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-25.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-25.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-25.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-25.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-25.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-25.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-25.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-25.xbel/.dirs/runtime 3991s ok 43 /bookmarks/parse/fail-25.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-09.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-09.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-09.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-09.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-09.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-09.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-09.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-09.xbel/.dirs/runtime 3991s ok 44 /bookmarks/parse/fail-09.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-24.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-24.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-24.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-24.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-24.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-24.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-24.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-24.xbel/.dirs/runtime 3991s ok 45 /bookmarks/parse/fail-24.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-37.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-37.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-37.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-37.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-37.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-37.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-37.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-37.xbel/.dirs/runtime 3991s ok 46 /bookmarks/parse/fail-37.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-20.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-20.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-20.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-20.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-20.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-20.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-20.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-20.xbel/.dirs/runtime 3991s ok 47 /bookmarks/parse/fail-20.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-08.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-08.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-08.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-08.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-08.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-08.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-08.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-08.xbel/.dirs/runtime 3991s ok 48 /bookmarks/parse/fail-08.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-39.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-39.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-39.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-39.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-39.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-39.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-39.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-39.xbel/.dirs/runtime 3991s ok 49 /bookmarks/parse/fail-39.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-35.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-35.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-35.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-35.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-35.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-35.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-35.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-35.xbel/.dirs/runtime 3991s ok 50 /bookmarks/parse/fail-35.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-17.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-17.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-17.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-17.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-17.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-17.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-17.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/parse/fail-17.xbel/.dirs/runtime 3991s ok 51 /bookmarks/parse/fail-17.xbel 3991s # End of parse tests 3991s # Start of copy tests 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-12.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-12.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-12.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-12.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-12.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-12.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-12.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-12.xbel/.dirs/runtime 3991s ok 52 /bookmarks/copy/fail-12.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-21.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-21.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-21.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-21.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-21.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-21.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-21.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-21.xbel/.dirs/runtime 3991s ok 53 /bookmarks/copy/fail-21.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-33.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-33.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-33.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-33.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-33.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-33.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-33.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-33.xbel/.dirs/runtime 3991s ok 54 /bookmarks/copy/fail-33.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-41.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-41.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-41.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-41.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-41.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-41.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-41.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-41.xbel/.dirs/runtime 3991s ok 55 /bookmarks/copy/fail-41.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-22.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-22.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-22.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-22.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-22.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-22.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-22.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-22.xbel/.dirs/runtime 3991s ok 56 /bookmarks/copy/fail-22.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-10.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-10.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-10.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-10.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-10.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-10.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-10.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-10.xbel/.dirs/runtime 3991s ok 57 /bookmarks/copy/fail-10.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-07.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-07.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-07.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-07.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-07.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-07.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-07.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-07.xbel/.dirs/runtime 3991s ok 58 /bookmarks/copy/fail-07.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-32.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-32.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-32.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-32.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-32.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-32.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-32.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-32.xbel/.dirs/runtime 3991s ok 59 /bookmarks/copy/fail-32.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-11.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-11.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-11.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-11.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-11.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-11.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-11.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-11.xbel/.dirs/runtime 3991s ok 60 /bookmarks/copy/fail-11.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-16.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-16.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-16.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-16.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-16.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-16.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-16.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-16.xbel/.dirs/runtime 3991s ok 61 /bookmarks/copy/fail-16.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-03.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-03.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-03.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-03.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-03.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-03.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-03.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-03.xbel/.dirs/runtime 3991s ok 62 /bookmarks/copy/fail-03.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-15.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-15.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-15.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-15.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-15.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-15.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-15.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-15.xbel/.dirs/runtime 3991s ok 63 /bookmarks/copy/fail-15.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-03.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-03.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-03.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-03.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-03.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-03.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-03.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-03.xbel/.dirs/runtime 3991s ok 64 /bookmarks/copy/valid-03.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-34.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-34.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-34.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-34.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-34.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-34.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-34.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-34.xbel/.dirs/runtime 3991s ok 65 /bookmarks/copy/fail-34.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-26.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-26.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-26.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-26.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-26.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-26.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-26.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-26.xbel/.dirs/runtime 3991s ok 66 /bookmarks/copy/fail-26.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-31.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-31.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-31.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-31.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-31.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-31.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-31.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-31.xbel/.dirs/runtime 3991s ok 67 /bookmarks/copy/fail-31.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-05.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-05.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-05.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-05.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-05.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-05.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-05.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-05.xbel/.dirs/runtime 3991s ok 68 /bookmarks/copy/fail-05.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-27.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-27.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-27.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-27.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-27.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-27.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-27.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-27.xbel/.dirs/runtime 3991s ok 69 /bookmarks/copy/fail-27.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-01.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-01.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-01.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-01.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-01.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-01.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-01.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-01.xbel/.dirs/runtime 3991s ok 70 /bookmarks/copy/valid-01.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-29.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-29.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-29.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-29.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-29.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-29.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-29.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-29.xbel/.dirs/runtime 3991s ok 71 /bookmarks/copy/fail-29.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-28.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-28.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-28.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-28.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-28.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-28.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-28.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-28.xbel/.dirs/runtime 3991s ok 72 /bookmarks/copy/fail-28.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-01.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-01.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-01.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-01.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-01.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-01.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-01.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-01.xbel/.dirs/runtime 3991s ok 73 /bookmarks/copy/fail-01.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-30.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-30.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-30.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-30.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-30.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-30.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-30.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-30.xbel/.dirs/runtime 3991s ok 74 /bookmarks/copy/fail-30.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-23.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-23.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-23.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-23.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-23.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-23.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-23.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-23.xbel/.dirs/runtime 3991s ok 75 /bookmarks/copy/fail-23.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-40.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-40.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-40.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-40.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-40.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-40.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-40.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-40.xbel/.dirs/runtime 3991s ok 76 /bookmarks/copy/fail-40.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-06.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-06.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-06.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-06.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-06.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-06.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-06.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-06.xbel/.dirs/runtime 3991s ok 77 /bookmarks/copy/fail-06.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-13.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-13.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-13.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-13.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-13.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-13.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-13.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-13.xbel/.dirs/runtime 3991s ok 78 /bookmarks/copy/fail-13.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-04.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-04.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-04.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-04.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-04.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-04.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-04.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-04.xbel/.dirs/runtime 3991s ok 79 /bookmarks/copy/fail-04.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-18.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-18.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-18.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-18.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-18.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-18.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-18.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-18.xbel/.dirs/runtime 3991s ok 80 /bookmarks/copy/fail-18.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-02.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-02.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-02.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-02.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-02.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-02.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-02.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-02.xbel/.dirs/runtime 3991s ok 81 /bookmarks/copy/fail-02.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-36.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-36.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-36.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-36.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-36.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-36.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-36.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-36.xbel/.dirs/runtime 3991s ok 82 /bookmarks/copy/fail-36.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-02.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-02.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-02.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-02.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-02.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-02.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-02.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/valid-02.xbel/.dirs/runtime 3991s ok 83 /bookmarks/copy/valid-02.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-38.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-38.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-38.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-38.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-38.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-38.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-38.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-38.xbel/.dirs/runtime 3991s ok 84 /bookmarks/copy/fail-38.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-42.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-42.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-42.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-42.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-42.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-42.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-42.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-42.xbel/.dirs/runtime 3991s ok 85 /bookmarks/copy/fail-42.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-19.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-19.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-19.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-19.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-19.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-19.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-19.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-19.xbel/.dirs/runtime 3991s ok 86 /bookmarks/copy/fail-19.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-14.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-14.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-14.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-14.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-14.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-14.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-14.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-14.xbel/.dirs/runtime 3991s ok 87 /bookmarks/copy/fail-14.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-25.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-25.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-25.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-25.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-25.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-25.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-25.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-25.xbel/.dirs/runtime 3991s ok 88 /bookmarks/copy/fail-25.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-09.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-09.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-09.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-09.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-09.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-09.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-09.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-09.xbel/.dirs/runtime 3991s ok 89 /bookmarks/copy/fail-09.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-24.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-24.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-24.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-24.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-24.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-24.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-24.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-24.xbel/.dirs/runtime 3991s ok 90 /bookmarks/copy/fail-24.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-37.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-37.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-37.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-37.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-37.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-37.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-37.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-37.xbel/.dirs/runtime 3991s ok 91 /bookmarks/copy/fail-37.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-20.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-20.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-20.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-20.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-20.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-20.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-20.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-20.xbel/.dirs/runtime 3991s ok 92 /bookmarks/copy/fail-20.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-08.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-08.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-08.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-08.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-08.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-08.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-08.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-08.xbel/.dirs/runtime 3991s ok 93 /bookmarks/copy/fail-08.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-39.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-39.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-39.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-39.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-39.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-39.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-39.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-39.xbel/.dirs/runtime 3991s ok 94 /bookmarks/copy/fail-39.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-35.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-35.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-35.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-35.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-35.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-35.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-35.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-35.xbel/.dirs/runtime 3991s ok 95 /bookmarks/copy/fail-35.xbel 3991s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-17.xbel/.dirs/home 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-17.xbel/.dirs/cache 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-17.xbel/.dirs/system-config2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-17.xbel/.dirs/config 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-17.xbel/.dirs/system-data2 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-17.xbel/.dirs/data 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-17.xbel/.dirs/state 3991s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_QP3DK2/bookmarks/copy/fail-17.xbel/.dirs/runtime 3991s ok 96 /bookmarks/copy/fail-17.xbel 3991s # End of copy tests 3991s # End of bookmarks tests 3991s ok - glib/bookmarkfile.test 3991s # Running test: glib/checksum.test 3991s TAP version 13 3991s # random seed: R02S6b9d255ed94aeac300a42e37d53f6fd2 3991s 1..1851 3991s # Start of checksum tests 3991s ok 1 /checksum/unsupported 3991s # Start of MD5 tests 3991s ok 2 /checksum/MD5/0 3991s ok 3 /checksum/MD5/1 3991s ok 4 /checksum/MD5/2 3991s ok 5 /checksum/MD5/3 3991s ok 6 /checksum/MD5/4 3991s ok 7 /checksum/MD5/5 3991s ok 8 /checksum/MD5/6 3991s ok 9 /checksum/MD5/7 3991s ok 10 /checksum/MD5/8 3991s ok 11 /checksum/MD5/9 3991s ok 12 /checksum/MD5/10 3991s ok 13 /checksum/MD5/11 3991s ok 14 /checksum/MD5/12 3991s ok 15 /checksum/MD5/13 3991s ok 16 /checksum/MD5/14 3991s ok 17 /checksum/MD5/15 3991s ok 18 /checksum/MD5/16 3991s ok 19 /checksum/MD5/17 3991s ok 20 /checksum/MD5/18 3991s ok 21 /checksum/MD5/19 3991s ok 22 /checksum/MD5/20 3991s ok 23 /checksum/MD5/21 3991s ok 24 /checksum/MD5/22 3991s ok 25 /checksum/MD5/23 3991s ok 26 /checksum/MD5/24 3991s ok 27 /checksum/MD5/25 3991s ok 28 /checksum/MD5/26 3991s ok 29 /checksum/MD5/27 3991s ok 30 /checksum/MD5/28 3991s ok 31 /checksum/MD5/29 3991s ok 32 /checksum/MD5/30 3991s ok 33 /checksum/MD5/31 3991s ok 34 /checksum/MD5/32 3991s ok 35 /checksum/MD5/33 3991s ok 36 /checksum/MD5/34 3991s ok 37 /checksum/MD5/35 3991s ok 38 /checksum/MD5/36 3991s ok 39 /checksum/MD5/37 3991s ok 40 /checksum/MD5/38 3991s ok 41 /checksum/MD5/39 3991s ok 42 /checksum/MD5/40 3991s ok 43 /checksum/MD5/41 3991s ok 44 /checksum/MD5/42 3991s ok 45 /checksum/MD5/43 3991s ok 46 /checksum/MD5/44 3991s ok 47 /checksum/MD5/45 3991s ok 48 /checksum/MD5/46 3991s ok 49 /checksum/MD5/47 3991s ok 50 /checksum/MD5/48 3991s ok 51 /checksum/MD5/49 3991s ok 52 /checksum/MD5/50 3991s ok 53 /checksum/MD5/51 3991s ok 54 /checksum/MD5/52 3991s ok 55 /checksum/MD5/53 3991s ok 56 /checksum/MD5/54 3991s ok 57 /checksum/MD5/55 3991s ok 58 /checksum/MD5/56 3991s ok 59 /checksum/MD5/57 3991s ok 60 /checksum/MD5/58 3991s ok 61 /checksum/MD5/59 3991s ok 62 /checksum/MD5/60 3991s ok 63 /checksum/MD5/61 3991s ok 64 /checksum/MD5/62 3991s ok 65 /checksum/MD5/63 3991s ok 66 /checksum/MD5/64 3991s ok 67 /checksum/MD5/65 3991s ok 68 /checksum/MD5/66 3991s ok 69 /checksum/MD5/67 3991s ok 70 /checksum/MD5/68 3991s ok 71 /checksum/MD5/69 3991s ok 72 /checksum/MD5/70 3991s ok 73 /checksum/MD5/71 3991s ok 74 /checksum/MD5/72 3991s ok 75 /checksum/MD5/73 3991s ok 76 /checksum/MD5/74 3991s ok 77 /checksum/MD5/75 3991s ok 78 /checksum/MD5/76 3991s ok 79 /checksum/MD5/77 3991s ok 80 /checksum/MD5/78 3991s ok 81 /checksum/MD5/79 3991s ok 82 /checksum/MD5/80 3991s ok 83 /checksum/MD5/81 3991s ok 84 /checksum/MD5/82 3991s ok 85 /checksum/MD5/83 3991s ok 86 /checksum/MD5/84 3991s ok 87 /checksum/MD5/85 3991s ok 88 /checksum/MD5/86 3991s ok 89 /checksum/MD5/87 3991s ok 90 /checksum/MD5/88 3991s ok 91 /checksum/MD5/89 3991s ok 92 /checksum/MD5/90 3991s ok 93 /checksum/MD5/91 3991s ok 94 /checksum/MD5/92 3991s ok 95 /checksum/MD5/93 3991s ok 96 /checksum/MD5/94 3991s ok 97 /checksum/MD5/95 3991s ok 98 /checksum/MD5/96 3991s ok 99 /checksum/MD5/97 3991s ok 100 /checksum/MD5/98 3991s ok 101 /checksum/MD5/99 3991s ok 102 /checksum/MD5/100 3991s ok 103 /checksum/MD5/101 3991s ok 104 /checksum/MD5/102 3991s ok 105 /checksum/MD5/103 3991s ok 106 /checksum/MD5/104 3991s ok 107 /checksum/MD5/105 3991s ok 108 /checksum/MD5/106 3991s ok 109 /checksum/MD5/107 3991s ok 110 /checksum/MD5/108 3991s ok 111 /checksum/MD5/109 3991s ok 112 /checksum/MD5/110 3991s ok 113 /checksum/MD5/111 3991s ok 114 /checksum/MD5/112 3991s ok 115 /checksum/MD5/113 3991s ok 116 /checksum/MD5/114 3991s ok 117 /checksum/MD5/115 3991s ok 118 /checksum/MD5/116 3991s ok 119 /checksum/MD5/117 3991s ok 120 /checksum/MD5/118 3991s ok 121 /checksum/MD5/119 3991s ok 122 /checksum/MD5/120 3991s ok 123 /checksum/MD5/121 3991s ok 124 /checksum/MD5/122 3991s ok 125 /checksum/MD5/123 3991s ok 126 /checksum/MD5/124 3991s ok 127 /checksum/MD5/125 3991s ok 128 /checksum/MD5/126 3991s ok 129 /checksum/MD5/127 3991s ok 130 /checksum/MD5/128 3991s ok 131 /checksum/MD5/129 3991s ok 132 /checksum/MD5/130 3991s ok 133 /checksum/MD5/131 3991s ok 134 /checksum/MD5/132 3991s ok 135 /checksum/MD5/133 3991s ok 136 /checksum/MD5/134 3991s ok 137 /checksum/MD5/135 3991s ok 138 /checksum/MD5/136 3991s ok 139 /checksum/MD5/137 3991s ok 140 /checksum/MD5/138 3991s ok 141 /checksum/MD5/139 3991s ok 142 /checksum/MD5/140 3991s ok 143 /checksum/MD5/141 3991s ok 144 /checksum/MD5/142 3991s ok 145 /checksum/MD5/143 3991s ok 146 /checksum/MD5/144 3991s ok 147 /checksum/MD5/145 3991s ok 148 /checksum/MD5/146 3991s ok 149 /checksum/MD5/147 3991s ok 150 /checksum/MD5/148 3991s ok 151 /checksum/MD5/149 3991s ok 152 /checksum/MD5/150 3991s ok 153 /checksum/MD5/151 3991s ok 154 /checksum/MD5/152 3991s ok 155 /checksum/MD5/153 3991s ok 156 /checksum/MD5/154 3991s ok 157 /checksum/MD5/155 3991s ok 158 /checksum/MD5/156 3991s ok 159 /checksum/MD5/157 3991s ok 160 /checksum/MD5/158 3991s ok 161 /checksum/MD5/159 3991s ok 162 /checksum/MD5/160 3991s ok 163 /checksum/MD5/161 3991s ok 164 /checksum/MD5/162 3991s ok 165 /checksum/MD5/163 3991s ok 166 /checksum/MD5/164 3991s ok 167 /checksum/MD5/165 3991s ok 168 /checksum/MD5/166 3991s ok 169 /checksum/MD5/167 3991s ok 170 /checksum/MD5/168 3991s ok 171 /checksum/MD5/169 3991s ok 172 /checksum/MD5/170 3991s ok 173 /checksum/MD5/171 3991s ok 174 /checksum/MD5/172 3991s ok 175 /checksum/MD5/173 3991s ok 176 /checksum/MD5/174 3991s ok 177 /checksum/MD5/175 3991s ok 178 /checksum/MD5/176 3991s ok 179 /checksum/MD5/177 3991s ok 180 /checksum/MD5/178 3991s ok 181 /checksum/MD5/179 3991s ok 182 /checksum/MD5/180 3991s ok 183 /checksum/MD5/181 3991s ok 184 /checksum/MD5/182 3991s ok 185 /checksum/MD5/183 3991s ok 186 /checksum/MD5/string 3991s ok 187 /checksum/MD5/bytes 3991s # Start of reset tests 3991s ok 188 /checksum/MD5/reset/0 3991s ok 189 /checksum/MD5/reset/1 3991s ok 190 /checksum/MD5/reset/2 3991s ok 191 /checksum/MD5/reset/3 3991s ok 192 /checksum/MD5/reset/4 3991s ok 193 /checksum/MD5/reset/5 3991s ok 194 /checksum/MD5/reset/6 3991s ok 195 /checksum/MD5/reset/7 3991s ok 196 /checksum/MD5/reset/8 3991s ok 197 /checksum/MD5/reset/9 3991s ok 198 /checksum/MD5/reset/10 3991s ok 199 /checksum/MD5/reset/11 3991s ok 200 /checksum/MD5/reset/12 3991s ok 201 /checksum/MD5/reset/13 3991s ok 202 /checksum/MD5/reset/14 3991s ok 203 /checksum/MD5/reset/15 3991s ok 204 /checksum/MD5/reset/16 3991s ok 205 /checksum/MD5/reset/17 3991s ok 206 /checksum/MD5/reset/18 3991s ok 207 /checksum/MD5/reset/19 3991s ok 208 /checksum/MD5/reset/20 3991s ok 209 /checksum/MD5/reset/21 3991s ok 210 /checksum/MD5/reset/22 3991s ok 211 /checksum/MD5/reset/23 3991s ok 212 /checksum/MD5/reset/24 3991s ok 213 /checksum/MD5/reset/25 3991s ok 214 /checksum/MD5/reset/26 3991s ok 215 /checksum/MD5/reset/27 3991s ok 216 /checksum/MD5/reset/28 3991s ok 217 /checksum/MD5/reset/29 3991s ok 218 /checksum/MD5/reset/30 3991s ok 219 /checksum/MD5/reset/31 3991s ok 220 /checksum/MD5/reset/32 3991s ok 221 /checksum/MD5/reset/33 3991s ok 222 /checksum/MD5/reset/34 3991s ok 223 /checksum/MD5/reset/35 3991s ok 224 /checksum/MD5/reset/36 3991s ok 225 /checksum/MD5/reset/37 3991s ok 226 /checksum/MD5/reset/38 3991s ok 227 /checksum/MD5/reset/39 3991s ok 228 /checksum/MD5/reset/40 3991s ok 229 /checksum/MD5/reset/41 3991s ok 230 /checksum/MD5/reset/42 3991s ok 231 /checksum/MD5/reset/43 3991s ok 232 /checksum/MD5/reset/44 3991s ok 233 /checksum/MD5/reset/45 3991s ok 234 /checksum/MD5/reset/46 3991s ok 235 /checksum/MD5/reset/47 3991s ok 236 /checksum/MD5/reset/48 3991s ok 237 /checksum/MD5/reset/49 3991s ok 238 /checksum/MD5/reset/50 3991s ok 239 /checksum/MD5/reset/51 3991s ok 240 /checksum/MD5/reset/52 3991s ok 241 /checksum/MD5/reset/53 3991s ok 242 /checksum/MD5/reset/54 3991s ok 243 /checksum/MD5/reset/55 3991s ok 244 /checksum/MD5/reset/56 3991s ok 245 /checksum/MD5/reset/57 3991s ok 246 /checksum/MD5/reset/58 3991s ok 247 /checksum/MD5/reset/59 3991s ok 248 /checksum/MD5/reset/60 3991s ok 249 /checksum/MD5/reset/61 3991s ok 250 /checksum/MD5/reset/62 3991s ok 251 /checksum/MD5/reset/63 3991s ok 252 /checksum/MD5/reset/64 3991s ok 253 /checksum/MD5/reset/65 3991s ok 254 /checksum/MD5/reset/66 3991s ok 255 /checksum/MD5/reset/67 3991s ok 256 /checksum/MD5/reset/68 3991s ok 257 /checksum/MD5/reset/69 3991s ok 258 /checksum/MD5/reset/70 3991s ok 259 /checksum/MD5/reset/71 3991s ok 260 /checksum/MD5/reset/72 3991s ok 261 /checksum/MD5/reset/73 3991s ok 262 /checksum/MD5/reset/74 3991s ok 263 /checksum/MD5/reset/75 3991s ok 264 /checksum/MD5/reset/76 3991s ok 265 /checksum/MD5/reset/77 3991s ok 266 /checksum/MD5/reset/78 3991s ok 267 /checksum/MD5/reset/79 3991s ok 268 /checksum/MD5/reset/80 3991s ok 269 /checksum/MD5/reset/81 3991s ok 270 /checksum/MD5/reset/82 3991s ok 271 /checksum/MD5/reset/83 3991s ok 272 /checksum/MD5/reset/84 3991s ok 273 /checksum/MD5/reset/85 3991s ok 274 /checksum/MD5/reset/86 3991s ok 275 /checksum/MD5/reset/87 3991s ok 276 /checksum/MD5/reset/88 3991s ok 277 /checksum/MD5/reset/89 3991s ok 278 /checksum/MD5/reset/90 3991s ok 279 /checksum/MD5/reset/91 3991s ok 280 /checksum/MD5/reset/92 3991s ok 281 /checksum/MD5/reset/93 3991s ok 282 /checksum/MD5/reset/94 3991s ok 283 /checksum/MD5/reset/95 3991s ok 284 /checksum/MD5/reset/96 3991s ok 285 /checksum/MD5/reset/97 3991s ok 286 /checksum/MD5/reset/98 3991s ok 287 /checksum/MD5/reset/99 3991s ok 288 /checksum/MD5/reset/100 3991s ok 289 /checksum/MD5/reset/101 3991s ok 290 /checksum/MD5/reset/102 3991s ok 291 /checksum/MD5/reset/103 3991s ok 292 /checksum/MD5/reset/104 3991s ok 293 /checksum/MD5/reset/105 3991s ok 294 /checksum/MD5/reset/106 3991s ok 295 /checksum/MD5/reset/107 3991s ok 296 /checksum/MD5/reset/108 3991s ok 297 /checksum/MD5/reset/109 3991s ok 298 /checksum/MD5/reset/110 3991s ok 299 /checksum/MD5/reset/111 3991s ok 300 /checksum/MD5/reset/112 3991s ok 301 /checksum/MD5/reset/113 3991s ok 302 /checksum/MD5/reset/114 3991s ok 303 /checksum/MD5/reset/115 3991s ok 304 /checksum/MD5/reset/116 3991s ok 305 /checksum/MD5/reset/117 3991s ok 306 /checksum/MD5/reset/118 3991s ok 307 /checksum/MD5/reset/119 3991s ok 308 /checksum/MD5/reset/120 3991s ok 309 /checksum/MD5/reset/121 3991s ok 310 /checksum/MD5/reset/122 3991s ok 311 /checksum/MD5/reset/123 3991s ok 312 /checksum/MD5/reset/124 3991s ok 313 /checksum/MD5/reset/125 3991s ok 314 /checksum/MD5/reset/126 3991s ok 315 /checksum/MD5/reset/127 3991s ok 316 /checksum/MD5/reset/128 3991s ok 317 /checksum/MD5/reset/129 3991s ok 318 /checksum/MD5/reset/130 3991s ok 319 /checksum/MD5/reset/131 3991s ok 320 /checksum/MD5/reset/132 3991s ok 321 /checksum/MD5/reset/133 3991s ok 322 /checksum/MD5/reset/134 3991s ok 323 /checksum/MD5/reset/135 3991s ok 324 /checksum/MD5/reset/136 3991s ok 325 /checksum/MD5/reset/137 3991s ok 326 /checksum/MD5/reset/138 3991s ok 327 /checksum/MD5/reset/139 3991s ok 328 /checksum/MD5/reset/140 3991s ok 329 /checksum/MD5/reset/141 3991s ok 330 /checksum/MD5/reset/142 3991s ok 331 /checksum/MD5/reset/143 3991s ok 332 /checksum/MD5/reset/144 3991s ok 333 /checksum/MD5/reset/145 3991s ok 334 /checksum/MD5/reset/146 3991s ok 335 /checksum/MD5/reset/147 3991s ok 336 /checksum/MD5/reset/148 3991s ok 337 /checksum/MD5/reset/149 3991s ok 338 /checksum/MD5/reset/150 3991s ok 339 /checksum/MD5/reset/151 3991s ok 340 /checksum/MD5/reset/152 3991s ok 341 /checksum/MD5/reset/153 3991s ok 342 /checksum/MD5/reset/154 3991s ok 343 /checksum/MD5/reset/155 3991s ok 344 /checksum/MD5/reset/156 3991s ok 345 /checksum/MD5/reset/157 3991s ok 346 /checksum/MD5/reset/158 3991s ok 347 /checksum/MD5/reset/159 3991s ok 348 /checksum/MD5/reset/160 3991s ok 349 /checksum/MD5/reset/161 3991s ok 350 /checksum/MD5/reset/162 3991s ok 351 /checksum/MD5/reset/163 3991s ok 352 /checksum/MD5/reset/164 3991s ok 353 /checksum/MD5/reset/165 3991s ok 354 /checksum/MD5/reset/166 3991s ok 355 /checksum/MD5/reset/167 3991s ok 356 /checksum/MD5/reset/168 3991s ok 357 /checksum/MD5/reset/169 3991s ok 358 /checksum/MD5/reset/170 3991s ok 359 /checksum/MD5/reset/171 3991s ok 360 /checksum/MD5/reset/172 3991s ok 361 /checksum/MD5/reset/173 3991s ok 362 /checksum/MD5/reset/174 3991s ok 363 /checksum/MD5/reset/175 3991s ok 364 /checksum/MD5/reset/176 3991s ok 365 /checksum/MD5/reset/177 3991s ok 366 /checksum/MD5/reset/178 3991s ok 367 /checksum/MD5/reset/179 3991s ok 368 /checksum/MD5/reset/180 3991s ok 369 /checksum/MD5/reset/181 3991s ok 370 /checksum/MD5/reset/182 3991s ok 371 /checksum/MD5/reset/183 3991s # End of reset tests 3991s # End of MD5 tests 3991s # Start of SHA1 tests 3991s ok 372 /checksum/SHA1/0 3991s ok 373 /checksum/SHA1/1 3991s ok 374 /checksum/SHA1/2 3991s ok 375 /checksum/SHA1/3 3991s ok 376 /checksum/SHA1/4 3991s ok 377 /checksum/SHA1/5 3991s ok 378 /checksum/SHA1/6 3991s ok 379 /checksum/SHA1/7 3991s ok 380 /checksum/SHA1/8 3991s ok 381 /checksum/SHA1/9 3991s ok 382 /checksum/SHA1/10 3991s ok 383 /checksum/SHA1/11 3991s ok 384 /checksum/SHA1/12 3991s ok 385 /checksum/SHA1/13 3991s ok 386 /checksum/SHA1/14 3991s ok 387 /checksum/SHA1/15 3991s ok 388 /checksum/SHA1/16 3991s ok 389 /checksum/SHA1/17 3991s ok 390 /checksum/SHA1/18 3991s ok 391 /checksum/SHA1/19 3991s ok 392 /checksum/SHA1/20 3991s ok 393 /checksum/SHA1/21 3991s ok 394 /checksum/SHA1/22 3991s ok 395 /checksum/SHA1/23 3991s ok 396 /checksum/SHA1/24 3991s ok 397 /checksum/SHA1/25 3991s ok 398 /checksum/SHA1/26 3991s ok 399 /checksum/SHA1/27 3991s ok 400 /checksum/SHA1/28 3991s ok 401 /checksum/SHA1/29 3991s ok 402 /checksum/SHA1/30 3991s ok 403 /checksum/SHA1/31 3991s ok 404 /checksum/SHA1/32 3991s ok 405 /checksum/SHA1/33 3991s ok 406 /checksum/SHA1/34 3991s ok 407 /checksum/SHA1/35 3991s ok 408 /checksum/SHA1/36 3991s ok 409 /checksum/SHA1/37 3991s ok 410 /checksum/SHA1/38 3991s ok 411 /checksum/SHA1/39 3991s ok 412 /checksum/SHA1/40 3991s ok 413 /checksum/SHA1/41 3991s ok 414 /checksum/SHA1/42 3991s ok 415 /checksum/SHA1/43 3991s ok 416 /checksum/SHA1/44 3991s ok 417 /checksum/SHA1/45 3991s ok 418 /checksum/SHA1/46 3991s ok 419 /checksum/SHA1/47 3991s ok 420 /checksum/SHA1/48 3991s ok 421 /checksum/SHA1/49 3991s ok 422 /checksum/SHA1/50 3991s ok 423 /checksum/SHA1/51 3991s ok 424 /checksum/SHA1/52 3991s ok 425 /checksum/SHA1/53 3991s ok 426 /checksum/SHA1/54 3991s ok 427 /checksum/SHA1/55 3991s ok 428 /checksum/SHA1/56 3991s ok 429 /checksum/SHA1/57 3991s ok 430 /checksum/SHA1/58 3991s ok 431 /checksum/SHA1/59 3991s ok 432 /checksum/SHA1/60 3991s ok 433 /checksum/SHA1/61 3991s ok 434 /checksum/SHA1/62 3991s ok 435 /checksum/SHA1/63 3991s ok 436 /checksum/SHA1/64 3991s ok 437 /checksum/SHA1/65 3991s ok 438 /checksum/SHA1/66 3991s ok 439 /checksum/SHA1/67 3991s ok 440 /checksum/SHA1/68 3991s ok 441 /checksum/SHA1/69 3991s ok 442 /checksum/SHA1/70 3991s ok 443 /checksum/SHA1/71 3991s ok 444 /checksum/SHA1/72 3991s ok 445 /checksum/SHA1/73 3991s ok 446 /checksum/SHA1/74 3991s ok 447 /checksum/SHA1/75 3991s ok 448 /checksum/SHA1/76 3991s ok 449 /checksum/SHA1/77 3991s ok 450 /checksum/SHA1/78 3991s ok 451 /checksum/SHA1/79 3991s ok 452 /checksum/SHA1/80 3991s ok 453 /checksum/SHA1/81 3991s ok 454 /checksum/SHA1/82 3991s ok 455 /checksum/SHA1/83 3991s ok 456 /checksum/SHA1/84 3991s ok 457 /checksum/SHA1/85 3991s ok 458 /checksum/SHA1/86 3991s ok 459 /checksum/SHA1/87 3991s ok 460 /checksum/SHA1/88 3991s ok 461 /checksum/SHA1/89 3991s ok 462 /checksum/SHA1/90 3991s ok 463 /checksum/SHA1/91 3991s ok 464 /checksum/SHA1/92 3991s ok 465 /checksum/SHA1/93 3991s ok 466 /checksum/SHA1/94 3991s ok 467 /checksum/SHA1/95 3991s ok 468 /checksum/SHA1/96 3991s ok 469 /checksum/SHA1/97 3991s ok 470 /checksum/SHA1/98 3991s ok 471 /checksum/SHA1/99 3991s ok 472 /checksum/SHA1/100 3991s ok 473 /checksum/SHA1/101 3991s ok 474 /checksum/SHA1/102 3991s ok 475 /checksum/SHA1/103 3991s ok 476 /checksum/SHA1/104 3991s ok 477 /checksum/SHA1/105 3991s ok 478 /checksum/SHA1/106 3991s ok 479 /checksum/SHA1/107 3991s ok 480 /checksum/SHA1/108 3991s ok 481 /checksum/SHA1/109 3991s ok 482 /checksum/SHA1/110 3991s ok 483 /checksum/SHA1/111 3991s ok 484 /checksum/SHA1/112 3991s ok 485 /checksum/SHA1/113 3991s ok 486 /checksum/SHA1/114 3991s ok 487 /checksum/SHA1/115 3991s ok 488 /checksum/SHA1/116 3991s ok 489 /checksum/SHA1/117 3991s ok 490 /checksum/SHA1/118 3991s ok 491 /checksum/SHA1/119 3991s ok 492 /checksum/SHA1/120 3991s ok 493 /checksum/SHA1/121 3991s ok 494 /checksum/SHA1/122 3991s ok 495 /checksum/SHA1/123 3991s ok 496 /checksum/SHA1/124 3991s ok 497 /checksum/SHA1/125 3991s ok 498 /checksum/SHA1/126 3991s ok 499 /checksum/SHA1/127 3991s ok 500 /checksum/SHA1/128 3991s ok 501 /checksum/SHA1/129 3991s ok 502 /checksum/SHA1/130 3991s ok 503 /checksum/SHA1/131 3991s ok 504 /checksum/SHA1/132 3991s ok 505 /checksum/SHA1/133 3991s ok 506 /checksum/SHA1/134 3991s ok 507 /checksum/SHA1/135 3991s ok 508 /checksum/SHA1/136 3991s ok 509 /checksum/SHA1/137 3991s ok 510 /checksum/SHA1/138 3991s ok 511 /checksum/SHA1/139 3991s ok 512 /checksum/SHA1/140 3991s ok 513 /checksum/SHA1/141 3991s ok 514 /checksum/SHA1/142 3991s ok 515 /checksum/SHA1/143 3991s ok 516 /checksum/SHA1/144 3991s ok 517 /checksum/SHA1/145 3991s ok 518 /checksum/SHA1/146 3991s ok 519 /checksum/SHA1/147 3991s ok 520 /checksum/SHA1/148 3991s ok 521 /checksum/SHA1/149 3991s ok 522 /checksum/SHA1/150 3991s ok 523 /checksum/SHA1/151 3991s ok 524 /checksum/SHA1/152 3991s ok 525 /checksum/SHA1/153 3991s ok 526 /checksum/SHA1/154 3991s ok 527 /checksum/SHA1/155 3991s ok 528 /checksum/SHA1/156 3991s ok 529 /checksum/SHA1/157 3991s ok 530 /checksum/SHA1/158 3991s ok 531 /checksum/SHA1/159 3991s ok 532 /checksum/SHA1/160 3991s ok 533 /checksum/SHA1/161 3991s ok 534 /checksum/SHA1/162 3991s ok 535 /checksum/SHA1/163 3991s ok 536 /checksum/SHA1/164 3991s ok 537 /checksum/SHA1/165 3991s ok 538 /checksum/SHA1/166 3991s ok 539 /checksum/SHA1/167 3991s ok 540 /checksum/SHA1/168 3991s ok 541 /checksum/SHA1/169 3991s ok 542 /checksum/SHA1/170 3991s ok 543 /checksum/SHA1/171 3991s ok 544 /checksum/SHA1/172 3991s ok 545 /checksum/SHA1/173 3991s ok 546 /checksum/SHA1/174 3991s ok 547 /checksum/SHA1/175 3991s ok 548 /checksum/SHA1/176 3991s ok 549 /checksum/SHA1/177 3991s ok 550 /checksum/SHA1/178 3991s ok 551 /checksum/SHA1/179 3991s ok 552 /checksum/SHA1/180 3991s ok 553 /checksum/SHA1/181 3991s ok 554 /checksum/SHA1/182 3991s ok 555 /checksum/SHA1/183 3991s ok 556 /checksum/SHA1/string 3991s ok 557 /checksum/SHA1/bytes 3991s # Start of reset tests 3991s ok 558 /checksum/SHA1/reset/0 3991s ok 559 /checksum/SHA1/reset/1 3991s ok 560 /checksum/SHA1/reset/2 3991s ok 561 /checksum/SHA1/reset/3 3991s ok 562 /checksum/SHA1/reset/4 3991s ok 563 /checksum/SHA1/reset/5 3991s ok 564 /checksum/SHA1/reset/6 3991s ok 565 /checksum/SHA1/reset/7 3991s ok 566 /checksum/SHA1/reset/8 3991s ok 567 /checksum/SHA1/reset/9 3991s ok 568 /checksum/SHA1/reset/10 3991s ok 569 /checksum/SHA1/reset/11 3991s ok 570 /checksum/SHA1/reset/12 3991s ok 571 /checksum/SHA1/reset/13 3991s ok 572 /checksum/SHA1/reset/14 3991s ok 573 /checksum/SHA1/reset/15 3991s ok 574 /checksum/SHA1/reset/16 3991s ok 575 /checksum/SHA1/reset/17 3991s ok 576 /checksum/SHA1/reset/18 3991s ok 577 /checksum/SHA1/reset/19 3991s ok 578 /checksum/SHA1/reset/20 3991s ok 579 /checksum/SHA1/reset/21 3991s ok 580 /checksum/SHA1/reset/22 3991s ok 581 /checksum/SHA1/reset/23 3991s ok 582 /checksum/SHA1/reset/24 3991s ok 583 /checksum/SHA1/reset/25 3991s ok 584 /checksum/SHA1/reset/26 3991s ok 585 /checksum/SHA1/reset/27 3991s ok 586 /checksum/SHA1/reset/28 3991s ok 587 /checksum/SHA1/reset/29 3991s ok 588 /checksum/SHA1/reset/30 3991s ok 589 /checksum/SHA1/reset/31 3991s ok 590 /checksum/SHA1/reset/32 3991s ok 591 /checksum/SHA1/reset/33 3991s ok 592 /checksum/SHA1/reset/34 3991s ok 593 /checksum/SHA1/reset/35 3991s ok 594 /checksum/SHA1/reset/36 3991s ok 595 /checksum/SHA1/reset/37 3991s ok 596 /checksum/SHA1/reset/38 3991s ok 597 /checksum/SHA1/reset/39 3991s ok 598 /checksum/SHA1/reset/40 3991s ok 599 /checksum/SHA1/reset/41 3991s ok 600 /checksum/SHA1/reset/42 3991s ok 601 /checksum/SHA1/reset/43 3991s ok 602 /checksum/SHA1/reset/44 3991s ok 603 /checksum/SHA1/reset/45 3991s ok 604 /checksum/SHA1/reset/46 3991s ok 605 /checksum/SHA1/reset/47 3991s ok 606 /checksum/SHA1/reset/48 3991s ok 607 /checksum/SHA1/reset/49 3991s ok 608 /checksum/SHA1/reset/50 3991s ok 609 /checksum/SHA1/reset/51 3991s ok 610 /checksum/SHA1/reset/52 3991s ok 611 /checksum/SHA1/reset/53 3991s ok 612 /checksum/SHA1/reset/54 3991s ok 613 /checksum/SHA1/reset/55 3991s ok 614 /checksum/SHA1/reset/56 3991s ok 615 /checksum/SHA1/reset/57 3991s ok 616 /checksum/SHA1/reset/58 3991s ok 617 /checksum/SHA1/reset/59 3991s ok 618 /checksum/SHA1/reset/60 3991s ok 619 /checksum/SHA1/reset/61 3991s ok 620 /checksum/SHA1/reset/62 3991s ok 621 /checksum/SHA1/reset/63 3991s ok 622 /checksum/SHA1/reset/64 3991s ok 623 /checksum/SHA1/reset/65 3991s ok 624 /checksum/SHA1/reset/66 3991s ok 625 /checksum/SHA1/reset/67 3991s ok 626 /checksum/SHA1/reset/68 3991s ok 627 /checksum/SHA1/reset/69 3991s ok 628 /checksum/SHA1/reset/70 3991s ok 629 /checksum/SHA1/reset/71 3991s ok 630 /checksum/SHA1/reset/72 3991s ok 631 /checksum/SHA1/reset/73 3991s ok 632 /checksum/SHA1/reset/74 3991s ok 633 /checksum/SHA1/reset/75 3991s ok 634 /checksum/SHA1/reset/76 3991s ok 635 /checksum/SHA1/reset/77 3991s ok 636 /checksum/SHA1/reset/78 3991s ok 637 /checksum/SHA1/reset/79 3991s ok 638 /checksum/SHA1/reset/80 3991s ok 639 /checksum/SHA1/reset/81 3991s ok 640 /checksum/SHA1/reset/82 3991s ok 641 /checksum/SHA1/reset/83 3991s ok 642 /checksum/SHA1/reset/84 3991s ok 643 /checksum/SHA1/reset/85 3991s ok 644 /checksum/SHA1/reset/86 3991s ok 645 /checksum/SHA1/reset/87 3991s ok 646 /checksum/SHA1/reset/88 3991s ok 647 /checksum/SHA1/reset/89 3991s ok 648 /checksum/SHA1/reset/90 3991s ok 649 /checksum/SHA1/reset/91 3991s ok 650 /checksum/SHA1/reset/92 3991s ok 651 /checksum/SHA1/reset/93 3991s ok 652 /checksum/SHA1/reset/94 3991s ok 653 /checksum/SHA1/reset/95 3991s ok 654 /checksum/SHA1/reset/96 3991s ok 655 /checksum/SHA1/reset/97 3991s ok 656 /checksum/SHA1/reset/98 3991s ok 657 /checksum/SHA1/reset/99 3991s ok 658 /checksum/SHA1/reset/100 3991s ok 659 /checksum/SHA1/reset/101 3991s ok 660 /checksum/SHA1/reset/102 3991s ok 661 /checksum/SHA1/reset/103 3991s ok 662 /checksum/SHA1/reset/104 3991s ok 663 /checksum/SHA1/reset/105 3991s ok 664 /checksum/SHA1/reset/106 3991s ok 665 /checksum/SHA1/reset/107 3991s ok 666 /checksum/SHA1/reset/108 3991s ok 667 /checksum/SHA1/reset/109 3991s ok 668 /checksum/SHA1/reset/110 3991s ok 669 /checksum/SHA1/reset/111 3991s ok 670 /checksum/SHA1/reset/112 3991s ok 671 /checksum/SHA1/reset/113 3991s ok 672 /checksum/SHA1/reset/114 3991s ok 673 /checksum/SHA1/reset/115 3991s ok 674 /checksum/SHA1/reset/116 3991s ok 675 /checksum/SHA1/reset/117 3991s ok 676 /checksum/SHA1/reset/118 3991s ok 677 /checksum/SHA1/reset/119 3991s ok 678 /checksum/SHA1/reset/120 3991s ok 679 /checksum/SHA1/reset/121 3991s ok 680 /checksum/SHA1/reset/122 3991s ok 681 /checksum/SHA1/reset/123 3991s ok 682 /checksum/SHA1/reset/124 3991s ok 683 /checksum/SHA1/reset/125 3991s ok 684 /checksum/SHA1/reset/126 3991s ok 685 /checksum/SHA1/reset/127 3991s ok 686 /checksum/SHA1/reset/128 3991s ok 687 /checksum/SHA1/reset/129 3991s ok 688 /checksum/SHA1/reset/130 3991s ok 689 /checksum/SHA1/reset/131 3991s ok 690 /checksum/SHA1/reset/132 3991s ok 691 /checksum/SHA1/reset/133 3991s ok 692 /checksum/SHA1/reset/134 3991s ok 693 /checksum/SHA1/reset/135 3991s ok 694 /checksum/SHA1/reset/136 3991s ok 695 /checksum/SHA1/reset/137 3991s ok 696 /checksum/SHA1/reset/138 3991s ok 697 /checksum/SHA1/reset/139 3991s ok 698 /checksum/SHA1/reset/140 3991s ok 699 /checksum/SHA1/reset/141 3991s ok 700 /checksum/SHA1/reset/142 3991s ok 701 /checksum/SHA1/reset/143 3991s ok 702 /checksum/SHA1/reset/144 3991s ok 703 /checksum/SHA1/reset/145 3991s ok 704 /checksum/SHA1/reset/146 3991s ok 705 /checksum/SHA1/reset/147 3991s ok 706 /checksum/SHA1/reset/148 3991s ok 707 /checksum/SHA1/reset/149 3991s ok 708 /checksum/SHA1/reset/150 3991s ok 709 /checksum/SHA1/reset/151 3991s ok 710 /checksum/SHA1/reset/152 3991s ok 711 /checksum/SHA1/reset/153 3991s ok 712 /checksum/SHA1/reset/154 3991s ok 713 /checksum/SHA1/reset/155 3991s ok 714 /checksum/SHA1/reset/156 3992s ok 715 /checksum/SHA1/reset/157 3992s ok 716 /checksum/SHA1/reset/158 3992s ok 717 /checksum/SHA1/reset/159 3992s ok 718 /checksum/SHA1/reset/160 3992s ok 719 /checksum/SHA1/reset/161 3992s ok 720 /checksum/SHA1/reset/162 3992s ok 721 /checksum/SHA1/reset/163 3992s ok 722 /checksum/SHA1/reset/164 3992s ok 723 /checksum/SHA1/reset/165 3992s ok 724 /checksum/SHA1/reset/166 3992s ok 725 /checksum/SHA1/reset/167 3992s ok 726 /checksum/SHA1/reset/168 3992s ok 727 /checksum/SHA1/reset/169 3992s ok 728 /checksum/SHA1/reset/170 3992s ok 729 /checksum/SHA1/reset/171 3992s ok 730 /checksum/SHA1/reset/172 3992s ok 731 /checksum/SHA1/reset/173 3992s ok 732 /checksum/SHA1/reset/174 3992s ok 733 /checksum/SHA1/reset/175 3992s ok 734 /checksum/SHA1/reset/176 3992s ok 735 /checksum/SHA1/reset/177 3992s ok 736 /checksum/SHA1/reset/178 3992s ok 737 /checksum/SHA1/reset/179 3992s ok 738 /checksum/SHA1/reset/180 3992s ok 739 /checksum/SHA1/reset/181 3992s ok 740 /checksum/SHA1/reset/182 3992s ok 741 /checksum/SHA1/reset/183 3992s # End of reset tests 3992s # End of SHA1 tests 3992s # Start of SHA256 tests 3992s ok 742 /checksum/SHA256/0 3992s ok 743 /checksum/SHA256/1 3992s ok 744 /checksum/SHA256/2 3992s ok 745 /checksum/SHA256/3 3992s ok 746 /checksum/SHA256/4 3992s ok 747 /checksum/SHA256/5 3992s ok 748 /checksum/SHA256/6 3992s ok 749 /checksum/SHA256/7 3992s ok 750 /checksum/SHA256/8 3992s ok 751 /checksum/SHA256/9 3992s ok 752 /checksum/SHA256/10 3992s ok 753 /checksum/SHA256/11 3992s ok 754 /checksum/SHA256/12 3992s ok 755 /checksum/SHA256/13 3992s ok 756 /checksum/SHA256/14 3992s ok 757 /checksum/SHA256/15 3992s ok 758 /checksum/SHA256/16 3992s ok 759 /checksum/SHA256/17 3992s ok 760 /checksum/SHA256/18 3992s ok 761 /checksum/SHA256/19 3992s ok 762 /checksum/SHA256/20 3992s ok 763 /checksum/SHA256/21 3992s ok 764 /checksum/SHA256/22 3992s ok 765 /checksum/SHA256/23 3992s ok 766 /checksum/SHA256/24 3992s ok 767 /checksum/SHA256/25 3992s ok 768 /checksum/SHA256/26 3992s ok 769 /checksum/SHA256/27 3992s ok 770 /checksum/SHA256/28 3992s ok 771 /checksum/SHA256/29 3992s ok 772 /checksum/SHA256/30 3992s ok 773 /checksum/SHA256/31 3992s ok 774 /checksum/SHA256/32 3992s ok 775 /checksum/SHA256/33 3992s ok 776 /checksum/SHA256/34 3992s ok 777 /checksum/SHA256/35 3992s ok 778 /checksum/SHA256/36 3992s ok 779 /checksum/SHA256/37 3992s ok 780 /checksum/SHA256/38 3992s ok 781 /checksum/SHA256/39 3992s ok 782 /checksum/SHA256/40 3992s ok 783 /checksum/SHA256/41 3992s ok 784 /checksum/SHA256/42 3992s ok 785 /checksum/SHA256/43 3992s ok 786 /checksum/SHA256/44 3992s ok 787 /checksum/SHA256/45 3992s ok 788 /checksum/SHA256/46 3992s ok 789 /checksum/SHA256/47 3992s ok 790 /checksum/SHA256/48 3992s ok 791 /checksum/SHA256/49 3992s ok 792 /checksum/SHA256/50 3992s ok 793 /checksum/SHA256/51 3992s ok 794 /checksum/SHA256/52 3992s ok 795 /checksum/SHA256/53 3992s ok 796 /checksum/SHA256/54 3992s ok 797 /checksum/SHA256/55 3992s ok 798 /checksum/SHA256/56 3992s ok 799 /checksum/SHA256/57 3992s ok 800 /checksum/SHA256/58 3992s ok 801 /checksum/SHA256/59 3992s ok 802 /checksum/SHA256/60 3992s ok 803 /checksum/SHA256/61 3992s ok 804 /checksum/SHA256/62 3992s ok 805 /checksum/SHA256/63 3992s ok 806 /checksum/SHA256/64 3992s ok 807 /checksum/SHA256/65 3992s ok 808 /checksum/SHA256/66 3992s ok 809 /checksum/SHA256/67 3992s ok 810 /checksum/SHA256/68 3992s ok 811 /checksum/SHA256/69 3992s ok 812 /checksum/SHA256/70 3992s ok 813 /checksum/SHA256/71 3992s ok 814 /checksum/SHA256/72 3992s ok 815 /checksum/SHA256/73 3992s ok 816 /checksum/SHA256/74 3992s ok 817 /checksum/SHA256/75 3992s ok 818 /checksum/SHA256/76 3992s ok 819 /checksum/SHA256/77 3992s ok 820 /checksum/SHA256/78 3992s ok 821 /checksum/SHA256/79 3992s ok 822 /checksum/SHA256/80 3992s ok 823 /checksum/SHA256/81 3992s ok 824 /checksum/SHA256/82 3992s ok 825 /checksum/SHA256/83 3992s ok 826 /checksum/SHA256/84 3992s ok 827 /checksum/SHA256/85 3992s ok 828 /checksum/SHA256/86 3992s ok 829 /checksum/SHA256/87 3992s ok 830 /checksum/SHA256/88 3992s ok 831 /checksum/SHA256/89 3992s ok 832 /checksum/SHA256/90 3992s ok 833 /checksum/SHA256/91 3992s ok 834 /checksum/SHA256/92 3992s ok 835 /checksum/SHA256/93 3992s ok 836 /checksum/SHA256/94 3992s ok 837 /checksum/SHA256/95 3992s ok 838 /checksum/SHA256/96 3992s ok 839 /checksum/SHA256/97 3992s ok 840 /checksum/SHA256/98 3992s ok 841 /checksum/SHA256/99 3992s ok 842 /checksum/SHA256/100 3992s ok 843 /checksum/SHA256/101 3992s ok 844 /checksum/SHA256/102 3992s ok 845 /checksum/SHA256/103 3992s ok 846 /checksum/SHA256/104 3992s ok 847 /checksum/SHA256/105 3992s ok 848 /checksum/SHA256/106 3992s ok 849 /checksum/SHA256/107 3992s ok 850 /checksum/SHA256/108 3992s ok 851 /checksum/SHA256/109 3992s ok 852 /checksum/SHA256/110 3992s ok 853 /checksum/SHA256/111 3992s ok 854 /checksum/SHA256/112 3992s ok 855 /checksum/SHA256/113 3992s ok 856 /checksum/SHA256/114 3992s ok 857 /checksum/SHA256/115 3992s ok 858 /checksum/SHA256/116 3992s ok 859 /checksum/SHA256/117 3992s ok 860 /checksum/SHA256/118 3992s ok 861 /checksum/SHA256/119 3992s ok 862 /checksum/SHA256/120 3992s ok 863 /checksum/SHA256/121 3992s ok 864 /checksum/SHA256/122 3992s ok 865 /checksum/SHA256/123 3992s ok 866 /checksum/SHA256/124 3992s ok 867 /checksum/SHA256/125 3992s ok 868 /checksum/SHA256/126 3992s ok 869 /checksum/SHA256/127 3992s ok 870 /checksum/SHA256/128 3992s ok 871 /checksum/SHA256/129 3992s ok 872 /checksum/SHA256/130 3992s ok 873 /checksum/SHA256/131 3992s ok 874 /checksum/SHA256/132 3992s ok 875 /checksum/SHA256/133 3992s ok 876 /checksum/SHA256/134 3992s ok 877 /checksum/SHA256/135 3992s ok 878 /checksum/SHA256/136 3992s ok 879 /checksum/SHA256/137 3992s ok 880 /checksum/SHA256/138 3992s ok 881 /checksum/SHA256/139 3992s ok 882 /checksum/SHA256/140 3992s ok 883 /checksum/SHA256/141 3992s ok 884 /checksum/SHA256/142 3992s ok 885 /checksum/SHA256/143 3992s ok 886 /checksum/SHA256/144 3992s ok 887 /checksum/SHA256/145 3992s ok 888 /checksum/SHA256/146 3992s ok 889 /checksum/SHA256/147 3992s ok 890 /checksum/SHA256/148 3992s ok 891 /checksum/SHA256/149 3992s ok 892 /checksum/SHA256/150 3992s ok 893 /checksum/SHA256/151 3992s ok 894 /checksum/SHA256/152 3992s ok 895 /checksum/SHA256/153 3992s ok 896 /checksum/SHA256/154 3992s ok 897 /checksum/SHA256/155 3992s ok 898 /checksum/SHA256/156 3992s ok 899 /checksum/SHA256/157 3992s ok 900 /checksum/SHA256/158 3992s ok 901 /checksum/SHA256/159 3992s ok 902 /checksum/SHA256/160 3992s ok 903 /checksum/SHA256/161 3992s ok 904 /checksum/SHA256/162 3992s ok 905 /checksum/SHA256/163 3992s ok 906 /checksum/SHA256/164 3992s ok 907 /checksum/SHA256/165 3992s ok 908 /checksum/SHA256/166 3992s ok 909 /checksum/SHA256/167 3992s ok 910 /checksum/SHA256/168 3992s ok 911 /checksum/SHA256/169 3992s ok 912 /checksum/SHA256/170 3992s ok 913 /checksum/SHA256/171 3992s ok 914 /checksum/SHA256/172 3992s ok 915 /checksum/SHA256/173 3992s ok 916 /checksum/SHA256/174 3992s ok 917 /checksum/SHA256/175 3992s ok 918 /checksum/SHA256/176 3992s ok 919 /checksum/SHA256/177 3992s ok 920 /checksum/SHA256/178 3992s ok 921 /checksum/SHA256/179 3992s ok 922 /checksum/SHA256/180 3992s ok 923 /checksum/SHA256/181 3992s ok 924 /checksum/SHA256/182 3992s ok 925 /checksum/SHA256/183 3992s ok 926 /checksum/SHA256/string 3992s ok 927 /checksum/SHA256/bytes 3992s # Start of reset tests 3992s ok 928 /checksum/SHA256/reset/0 3992s ok 929 /checksum/SHA256/reset/1 3992s ok 930 /checksum/SHA256/reset/2 3992s ok 931 /checksum/SHA256/reset/3 3992s ok 932 /checksum/SHA256/reset/4 3992s ok 933 /checksum/SHA256/reset/5 3992s ok 934 /checksum/SHA256/reset/6 3992s ok 935 /checksum/SHA256/reset/7 3992s ok 936 /checksum/SHA256/reset/8 3992s ok 937 /checksum/SHA256/reset/9 3992s ok 938 /checksum/SHA256/reset/10 3992s ok 939 /checksum/SHA256/reset/11 3992s ok 940 /checksum/SHA256/reset/12 3992s ok 941 /checksum/SHA256/reset/13 3992s ok 942 /checksum/SHA256/reset/14 3992s ok 943 /checksum/SHA256/reset/15 3992s ok 944 /checksum/SHA256/reset/16 3992s ok 945 /checksum/SHA256/reset/17 3992s ok 946 /checksum/SHA256/reset/18 3992s ok 947 /checksum/SHA256/reset/19 3992s ok 948 /checksum/SHA256/reset/20 3992s ok 949 /checksum/SHA256/reset/21 3992s ok 950 /checksum/SHA256/reset/22 3992s ok 951 /checksum/SHA256/reset/23 3992s ok 952 /checksum/SHA256/reset/24 3992s ok 953 /checksum/SHA256/reset/25 3992s ok 954 /checksum/SHA256/reset/26 3992s ok 955 /checksum/SHA256/reset/27 3992s ok 956 /checksum/SHA256/reset/28 3992s ok 957 /checksum/SHA256/reset/29 3992s ok 958 /checksum/SHA256/reset/30 3992s ok 959 /checksum/SHA256/reset/31 3992s ok 960 /checksum/SHA256/reset/32 3992s ok 961 /checksum/SHA256/reset/33 3992s ok 962 /checksum/SHA256/reset/34 3992s ok 963 /checksum/SHA256/reset/35 3992s ok 964 /checksum/SHA256/reset/36 3992s ok 965 /checksum/SHA256/reset/37 3992s ok 966 /checksum/SHA256/reset/38 3992s ok 967 /checksum/SHA256/reset/39 3992s ok 968 /checksum/SHA256/reset/40 3992s ok 969 /checksum/SHA256/reset/41 3992s ok 970 /checksum/SHA256/reset/42 3992s ok 971 /checksum/SHA256/reset/43 3992s ok 972 /checksum/SHA256/reset/44 3992s ok 973 /checksum/SHA256/reset/45 3992s ok 974 /checksum/SHA256/reset/46 3992s ok 975 /checksum/SHA256/reset/47 3992s ok 976 /checksum/SHA256/reset/48 3992s ok 977 /checksum/SHA256/reset/49 3992s ok 978 /checksum/SHA256/reset/50 3992s ok 979 /checksum/SHA256/reset/51 3992s ok 980 /checksum/SHA256/reset/52 3992s ok 981 /checksum/SHA256/reset/53 3992s ok 982 /checksum/SHA256/reset/54 3992s ok 983 /checksum/SHA256/reset/55 3992s ok 984 /checksum/SHA256/reset/56 3992s ok 985 /checksum/SHA256/reset/57 3992s ok 986 /checksum/SHA256/reset/58 3992s ok 987 /checksum/SHA256/reset/59 3992s ok 988 /checksum/SHA256/reset/60 3992s ok 989 /checksum/SHA256/reset/61 3992s ok 990 /checksum/SHA256/reset/62 3992s ok 991 /checksum/SHA256/reset/63 3992s ok 992 /checksum/SHA256/reset/64 3992s ok 993 /checksum/SHA256/reset/65 3992s ok 994 /checksum/SHA256/reset/66 3992s ok 995 /checksum/SHA256/reset/67 3992s ok 996 /checksum/SHA256/reset/68 3992s ok 997 /checksum/SHA256/reset/69 3992s ok 998 /checksum/SHA256/reset/70 3992s ok 999 /checksum/SHA256/reset/71 3992s ok 1000 /checksum/SHA256/reset/72 3992s ok 1001 /checksum/SHA256/reset/73 3992s ok 1002 /checksum/SHA256/reset/74 3992s ok 1003 /checksum/SHA256/reset/75 3992s ok 1004 /checksum/SHA256/reset/76 3992s ok 1005 /checksum/SHA256/reset/77 3992s ok 1006 /checksum/SHA256/reset/78 3992s ok 1007 /checksum/SHA256/reset/79 3992s ok 1008 /checksum/SHA256/reset/80 3992s ok 1009 /checksum/SHA256/reset/81 3992s ok 1010 /checksum/SHA256/reset/82 3992s ok 1011 /checksum/SHA256/reset/83 3992s ok 1012 /checksum/SHA256/reset/84 3992s ok 1013 /checksum/SHA256/reset/85 3992s ok 1014 /checksum/SHA256/reset/86 3992s ok 1015 /checksum/SHA256/reset/87 3992s ok 1016 /checksum/SHA256/reset/88 3992s ok 1017 /checksum/SHA256/reset/89 3992s ok 1018 /checksum/SHA256/reset/90 3992s ok 1019 /checksum/SHA256/reset/91 3992s ok 1020 /checksum/SHA256/reset/92 3992s ok 1021 /checksum/SHA256/reset/93 3992s ok 1022 /checksum/SHA256/reset/94 3992s ok 1023 /checksum/SHA256/reset/95 3992s ok 1024 /checksum/SHA256/reset/96 3992s ok 1025 /checksum/SHA256/reset/97 3992s ok 1026 /checksum/SHA256/reset/98 3992s ok 1027 /checksum/SHA256/reset/99 3992s ok 1028 /checksum/SHA256/reset/100 3992s ok 1029 /checksum/SHA256/reset/101 3992s ok 1030 /checksum/SHA256/reset/102 3992s ok 1031 /checksum/SHA256/reset/103 3992s ok 1032 /checksum/SHA256/reset/104 3992s ok 1033 /checksum/SHA256/reset/105 3992s ok 1034 /checksum/SHA256/reset/106 3992s ok 1035 /checksum/SHA256/reset/107 3992s ok 1036 /checksum/SHA256/reset/108 3992s ok 1037 /checksum/SHA256/reset/109 3992s ok 1038 /checksum/SHA256/reset/110 3992s ok 1039 /checksum/SHA256/reset/111 3992s ok 1040 /checksum/SHA256/reset/112 3992s ok 1041 /checksum/SHA256/reset/113 3992s ok 1042 /checksum/SHA256/reset/114 3992s ok 1043 /checksum/SHA256/reset/115 3992s ok 1044 /checksum/SHA256/reset/116 3992s ok 1045 /checksum/SHA256/reset/117 3992s ok 1046 /checksum/SHA256/reset/118 3992s ok 1047 /checksum/SHA256/reset/119 3992s ok 1048 /checksum/SHA256/reset/120 3992s ok 1049 /checksum/SHA256/reset/121 3992s ok 1050 /checksum/SHA256/reset/122 3992s ok 1051 /checksum/SHA256/reset/123 3992s ok 1052 /checksum/SHA256/reset/124 3992s ok 1053 /checksum/SHA256/reset/125 3992s ok 1054 /checksum/SHA256/reset/126 3992s ok 1055 /checksum/SHA256/reset/127 3992s ok 1056 /checksum/SHA256/reset/128 3992s ok 1057 /checksum/SHA256/reset/129 3992s ok 1058 /checksum/SHA256/reset/130 3992s ok 1059 /checksum/SHA256/reset/131 3992s ok 1060 /checksum/SHA256/reset/132 3992s ok 1061 /checksum/SHA256/reset/133 3992s ok 1062 /checksum/SHA256/reset/134 3992s ok 1063 /checksum/SHA256/reset/135 3992s ok 1064 /checksum/SHA256/reset/136 3992s ok 1065 /checksum/SHA256/reset/137 3992s ok 1066 /checksum/SHA256/reset/138 3992s ok 1067 /checksum/SHA256/reset/139 3992s ok 1068 /checksum/SHA256/reset/140 3992s ok 1069 /checksum/SHA256/reset/141 3992s ok 1070 /checksum/SHA256/reset/142 3992s ok 1071 /checksum/SHA256/reset/143 3992s ok 1072 /checksum/SHA256/reset/144 3992s ok 1073 /checksum/SHA256/reset/145 3992s ok 1074 /checksum/SHA256/reset/146 3992s ok 1075 /checksum/SHA256/reset/147 3992s ok 1076 /checksum/SHA256/reset/148 3992s ok 1077 /checksum/SHA256/reset/149 3992s ok 1078 /checksum/SHA256/reset/150 3992s ok 1079 /checksum/SHA256/reset/151 3992s ok 1080 /checksum/SHA256/reset/152 3992s ok 1081 /checksum/SHA256/reset/153 3992s ok 1082 /checksum/SHA256/reset/154 3992s ok 1083 /checksum/SHA256/reset/155 3992s ok 1084 /checksum/SHA256/reset/156 3992s ok 1085 /checksum/SHA256/reset/157 3992s ok 1086 /checksum/SHA256/reset/158 3992s ok 1087 /checksum/SHA256/reset/159 3992s ok 1088 /checksum/SHA256/reset/160 3992s ok 1089 /checksum/SHA256/reset/161 3992s ok 1090 /checksum/SHA256/reset/162 3992s ok 1091 /checksum/SHA256/reset/163 3992s ok 1092 /checksum/SHA256/reset/164 3992s ok 1093 /checksum/SHA256/reset/165 3992s ok 1094 /checksum/SHA256/reset/166 3992s ok 1095 /checksum/SHA256/reset/167 3992s ok 1096 /checksum/SHA256/reset/168 3992s ok 1097 /checksum/SHA256/reset/169 3992s ok 1098 /checksum/SHA256/reset/170 3992s ok 1099 /checksum/SHA256/reset/171 3992s ok 1100 /checksum/SHA256/reset/172 3992s ok 1101 /checksum/SHA256/reset/173 3992s ok 1102 /checksum/SHA256/reset/174 3992s ok 1103 /checksum/SHA256/reset/175 3992s ok 1104 /checksum/SHA256/reset/176 3992s ok 1105 /checksum/SHA256/reset/177 3992s ok 1106 /checksum/SHA256/reset/178 3992s ok 1107 /checksum/SHA256/reset/179 3992s ok 1108 /checksum/SHA256/reset/180 3992s ok 1109 /checksum/SHA256/reset/181 3992s ok 1110 /checksum/SHA256/reset/182 3992s ok 1111 /checksum/SHA256/reset/183 3992s # End of reset tests 3992s # End of SHA256 tests 3992s # Start of SHA384 tests 3992s ok 1112 /checksum/SHA384/0 3992s ok 1113 /checksum/SHA384/1 3992s ok 1114 /checksum/SHA384/2 3992s ok 1115 /checksum/SHA384/3 3992s ok 1116 /checksum/SHA384/4 3992s ok 1117 /checksum/SHA384/5 3992s ok 1118 /checksum/SHA384/6 3992s ok 1119 /checksum/SHA384/7 3992s ok 1120 /checksum/SHA384/8 3992s ok 1121 /checksum/SHA384/9 3992s ok 1122 /checksum/SHA384/10 3992s ok 1123 /checksum/SHA384/11 3992s ok 1124 /checksum/SHA384/12 3992s ok 1125 /checksum/SHA384/13 3992s ok 1126 /checksum/SHA384/14 3992s ok 1127 /checksum/SHA384/15 3992s ok 1128 /checksum/SHA384/16 3992s ok 1129 /checksum/SHA384/17 3992s ok 1130 /checksum/SHA384/18 3992s ok 1131 /checksum/SHA384/19 3992s ok 1132 /checksum/SHA384/20 3992s ok 1133 /checksum/SHA384/21 3992s ok 1134 /checksum/SHA384/22 3992s ok 1135 /checksum/SHA384/23 3992s ok 1136 /checksum/SHA384/24 3992s ok 1137 /checksum/SHA384/25 3992s ok 1138 /checksum/SHA384/26 3992s ok 1139 /checksum/SHA384/27 3992s ok 1140 /checksum/SHA384/28 3992s ok 1141 /checksum/SHA384/29 3992s ok 1142 /checksum/SHA384/30 3992s ok 1143 /checksum/SHA384/31 3992s ok 1144 /checksum/SHA384/32 3992s ok 1145 /checksum/SHA384/33 3992s ok 1146 /checksum/SHA384/34 3992s ok 1147 /checksum/SHA384/35 3992s ok 1148 /checksum/SHA384/36 3992s ok 1149 /checksum/SHA384/37 3992s ok 1150 /checksum/SHA384/38 3992s ok 1151 /checksum/SHA384/39 3992s ok 1152 /checksum/SHA384/40 3992s ok 1153 /checksum/SHA384/41 3992s ok 1154 /checksum/SHA384/42 3992s ok 1155 /checksum/SHA384/43 3992s ok 1156 /checksum/SHA384/44 3992s ok 1157 /checksum/SHA384/45 3992s ok 1158 /checksum/SHA384/46 3992s ok 1159 /checksum/SHA384/47 3992s ok 1160 /checksum/SHA384/48 3992s ok 1161 /checksum/SHA384/49 3992s ok 1162 /checksum/SHA384/50 3992s ok 1163 /checksum/SHA384/51 3992s ok 1164 /checksum/SHA384/52 3992s ok 1165 /checksum/SHA384/53 3992s ok 1166 /checksum/SHA384/54 3992s ok 1167 /checksum/SHA384/55 3992s ok 1168 /checksum/SHA384/56 3992s ok 1169 /checksum/SHA384/57 3992s ok 1170 /checksum/SHA384/58 3992s ok 1171 /checksum/SHA384/59 3992s ok 1172 /checksum/SHA384/60 3992s ok 1173 /checksum/SHA384/61 3992s ok 1174 /checksum/SHA384/62 3992s ok 1175 /checksum/SHA384/63 3992s ok 1176 /checksum/SHA384/64 3992s ok 1177 /checksum/SHA384/65 3992s ok 1178 /checksum/SHA384/66 3992s ok 1179 /checksum/SHA384/67 3992s ok 1180 /checksum/SHA384/68 3992s ok 1181 /checksum/SHA384/69 3992s ok 1182 /checksum/SHA384/70 3992s ok 1183 /checksum/SHA384/71 3992s ok 1184 /checksum/SHA384/72 3992s ok 1185 /checksum/SHA384/73 3992s ok 1186 /checksum/SHA384/74 3992s ok 1187 /checksum/SHA384/75 3992s ok 1188 /checksum/SHA384/76 3992s ok 1189 /checksum/SHA384/77 3992s ok 1190 /checksum/SHA384/78 3992s ok 1191 /checksum/SHA384/79 3992s ok 1192 /checksum/SHA384/80 3992s ok 1193 /checksum/SHA384/81 3992s ok 1194 /checksum/SHA384/82 3992s ok 1195 /checksum/SHA384/83 3992s ok 1196 /checksum/SHA384/84 3992s ok 1197 /checksum/SHA384/85 3992s ok 1198 /checksum/SHA384/86 3992s ok 1199 /checksum/SHA384/87 3992s ok 1200 /checksum/SHA384/88 3992s ok 1201 /checksum/SHA384/89 3992s ok 1202 /checksum/SHA384/90 3992s ok 1203 /checksum/SHA384/91 3992s ok 1204 /checksum/SHA384/92 3992s ok 1205 /checksum/SHA384/93 3992s ok 1206 /checksum/SHA384/94 3992s ok 1207 /checksum/SHA384/95 3992s ok 1208 /checksum/SHA384/96 3992s ok 1209 /checksum/SHA384/97 3992s ok 1210 /checksum/SHA384/98 3992s ok 1211 /checksum/SHA384/99 3992s ok 1212 /checksum/SHA384/100 3992s ok 1213 /checksum/SHA384/101 3992s ok 1214 /checksum/SHA384/102 3992s ok 1215 /checksum/SHA384/103 3992s ok 1216 /checksum/SHA384/104 3992s ok 1217 /checksum/SHA384/105 3992s ok 1218 /checksum/SHA384/106 3992s ok 1219 /checksum/SHA384/107 3992s ok 1220 /checksum/SHA384/108 3992s ok 1221 /checksum/SHA384/109 3992s ok 1222 /checksum/SHA384/110 3992s ok 1223 /checksum/SHA384/111 3992s ok 1224 /checksum/SHA384/112 3992s ok 1225 /checksum/SHA384/113 3992s ok 1226 /checksum/SHA384/114 3992s ok 1227 /checksum/SHA384/115 3992s ok 1228 /checksum/SHA384/116 3992s ok 1229 /checksum/SHA384/117 3992s ok 1230 /checksum/SHA384/118 3992s ok 1231 /checksum/SHA384/119 3992s ok 1232 /checksum/SHA384/120 3992s ok 1233 /checksum/SHA384/121 3992s ok 1234 /checksum/SHA384/122 3992s ok 1235 /checksum/SHA384/123 3992s ok 1236 /checksum/SHA384/124 3992s ok 1237 /checksum/SHA384/125 3992s ok 1238 /checksum/SHA384/126 3992s ok 1239 /checksum/SHA384/127 3992s ok 1240 /checksum/SHA384/128 3992s ok 1241 /checksum/SHA384/129 3992s ok 1242 /checksum/SHA384/130 3992s ok 1243 /checksum/SHA384/131 3992s ok 1244 /checksum/SHA384/132 3992s ok 1245 /checksum/SHA384/133 3992s ok 1246 /checksum/SHA384/134 3992s ok 1247 /checksum/SHA384/135 3992s ok 1248 /checksum/SHA384/136 3992s ok 1249 /checksum/SHA384/137 3992s ok 1250 /checksum/SHA384/138 3992s ok 1251 /checksum/SHA384/139 3992s ok 1252 /checksum/SHA384/140 3992s ok 1253 /checksum/SHA384/141 3992s ok 1254 /checksum/SHA384/142 3992s ok 1255 /checksum/SHA384/143 3992s ok 1256 /checksum/SHA384/144 3992s ok 1257 /checksum/SHA384/145 3992s ok 1258 /checksum/SHA384/146 3992s ok 1259 /checksum/SHA384/147 3992s ok 1260 /checksum/SHA384/148 3992s ok 1261 /checksum/SHA384/149 3992s ok 1262 /checksum/SHA384/150 3992s ok 1263 /checksum/SHA384/151 3992s ok 1264 /checksum/SHA384/152 3992s ok 1265 /checksum/SHA384/153 3992s ok 1266 /checksum/SHA384/154 3992s ok 1267 /checksum/SHA384/155 3992s ok 1268 /checksum/SHA384/156 3992s ok 1269 /checksum/SHA384/157 3992s ok 1270 /checksum/SHA384/158 3992s ok 1271 /checksum/SHA384/159 3992s ok 1272 /checksum/SHA384/160 3992s ok 1273 /checksum/SHA384/161 3992s ok 1274 /checksum/SHA384/162 3992s ok 1275 /checksum/SHA384/163 3992s ok 1276 /checksum/SHA384/164 3992s ok 1277 /checksum/SHA384/165 3992s ok 1278 /checksum/SHA384/166 3992s ok 1279 /checksum/SHA384/167 3992s ok 1280 /checksum/SHA384/168 3992s ok 1281 /checksum/SHA384/169 3992s ok 1282 /checksum/SHA384/170 3992s ok 1283 /checksum/SHA384/171 3992s ok 1284 /checksum/SHA384/172 3992s ok 1285 /checksum/SHA384/173 3992s ok 1286 /checksum/SHA384/174 3992s ok 1287 /checksum/SHA384/175 3992s ok 1288 /checksum/SHA384/176 3992s ok 1289 /checksum/SHA384/177 3992s ok 1290 /checksum/SHA384/178 3992s ok 1291 /checksum/SHA384/179 3992s ok 1292 /checksum/SHA384/180 3992s ok 1293 /checksum/SHA384/181 3992s ok 1294 /checksum/SHA384/182 3992s ok 1295 /checksum/SHA384/183 3992s ok 1296 /checksum/SHA384/string 3992s ok 1297 /checksum/SHA384/bytes 3992s # Start of reset tests 3992s ok 1298 /checksum/SHA384/reset/0 3992s ok 1299 /checksum/SHA384/reset/1 3992s ok 1300 /checksum/SHA384/reset/2 3992s ok 1301 /checksum/SHA384/reset/3 3992s ok 1302 /checksum/SHA384/reset/4 3992s ok 1303 /checksum/SHA384/reset/5 3992s ok 1304 /checksum/SHA384/reset/6 3992s ok 1305 /checksum/SHA384/reset/7 3992s ok 1306 /checksum/SHA384/reset/8 3992s ok 1307 /checksum/SHA384/reset/9 3992s ok 1308 /checksum/SHA384/reset/10 3992s ok 1309 /checksum/SHA384/reset/11 3992s ok 1310 /checksum/SHA384/reset/12 3992s ok 1311 /checksum/SHA384/reset/13 3992s ok 1312 /checksum/SHA384/reset/14 3992s ok 1313 /checksum/SHA384/reset/15 3992s ok 1314 /checksum/SHA384/reset/16 3992s ok 1315 /checksum/SHA384/reset/17 3992s ok 1316 /checksum/SHA384/reset/18 3992s ok 1317 /checksum/SHA384/reset/19 3992s ok 1318 /checksum/SHA384/reset/20 3992s ok 1319 /checksum/SHA384/reset/21 3992s ok 1320 /checksum/SHA384/reset/22 3992s ok 1321 /checksum/SHA384/reset/23 3992s ok 1322 /checksum/SHA384/reset/24 3992s ok 1323 /checksum/SHA384/reset/25 3992s ok 1324 /checksum/SHA384/reset/26 3992s ok 1325 /checksum/SHA384/reset/27 3992s ok 1326 /checksum/SHA384/reset/28 3992s ok 1327 /checksum/SHA384/reset/29 3992s ok 1328 /checksum/SHA384/reset/30 3992s ok 1329 /checksum/SHA384/reset/31 3992s ok 1330 /checksum/SHA384/reset/32 3992s ok 1331 /checksum/SHA384/reset/33 3992s ok 1332 /checksum/SHA384/reset/34 3992s ok 1333 /checksum/SHA384/reset/35 3992s ok 1334 /checksum/SHA384/reset/36 3992s ok 1335 /checksum/SHA384/reset/37 3992s ok 1336 /checksum/SHA384/reset/38 3992s ok 1337 /checksum/SHA384/reset/39 3992s ok 1338 /checksum/SHA384/reset/40 3992s ok 1339 /checksum/SHA384/reset/41 3992s ok 1340 /checksum/SHA384/reset/42 3992s ok 1341 /checksum/SHA384/reset/43 3992s ok 1342 /checksum/SHA384/reset/44 3992s ok 1343 /checksum/SHA384/reset/45 3992s ok 1344 /checksum/SHA384/reset/46 3992s ok 1345 /checksum/SHA384/reset/47 3992s ok 1346 /checksum/SHA384/reset/48 3992s ok 1347 /checksum/SHA384/reset/49 3992s ok 1348 /checksum/SHA384/reset/50 3992s ok 1349 /checksum/SHA384/reset/51 3992s ok 1350 /checksum/SHA384/reset/52 3992s ok 1351 /checksum/SHA384/reset/53 3992s ok 1352 /checksum/SHA384/reset/54 3992s ok 1353 /checksum/SHA384/reset/55 3992s ok 1354 /checksum/SHA384/reset/56 3992s ok 1355 /checksum/SHA384/reset/57 3992s ok 1356 /checksum/SHA384/reset/58 3992s ok 1357 /checksum/SHA384/reset/59 3992s ok 1358 /checksum/SHA384/reset/60 3992s ok 1359 /checksum/SHA384/reset/61 3992s ok 1360 /checksum/SHA384/reset/62 3992s ok 1361 /checksum/SHA384/reset/63 3992s ok 1362 /checksum/SHA384/reset/64 3992s ok 1363 /checksum/SHA384/reset/65 3992s ok 1364 /checksum/SHA384/reset/66 3992s ok 1365 /checksum/SHA384/reset/67 3992s ok 1366 /checksum/SHA384/reset/68 3992s ok 1367 /checksum/SHA384/reset/69 3992s ok 1368 /checksum/SHA384/reset/70 3992s ok 1369 /checksum/SHA384/reset/71 3992s ok 1370 /checksum/SHA384/reset/72 3992s ok 1371 /checksum/SHA384/reset/73 3992s ok 1372 /checksum/SHA384/reset/74 3992s ok 1373 /checksum/SHA384/reset/75 3992s ok 1374 /checksum/SHA384/reset/76 3992s ok 1375 /checksum/SHA384/reset/77 3992s ok 1376 /checksum/SHA384/reset/78 3992s ok 1377 /checksum/SHA384/reset/79 3992s ok 1378 /checksum/SHA384/reset/80 3992s ok 1379 /checksum/SHA384/reset/81 3992s ok 1380 /checksum/SHA384/reset/82 3992s ok 1381 /checksum/SHA384/reset/83 3992s ok 1382 /checksum/SHA384/reset/84 3992s ok 1383 /checksum/SHA384/reset/85 3992s ok 1384 /checksum/SHA384/reset/86 3992s ok 1385 /checksum/SHA384/reset/87 3992s ok 1386 /checksum/SHA384/reset/88 3992s ok 1387 /checksum/SHA384/reset/89 3992s ok 1388 /checksum/SHA384/reset/90 3992s ok 1389 /checksum/SHA384/reset/91 3992s ok 1390 /checksum/SHA384/reset/92 3992s ok 1391 /checksum/SHA384/reset/93 3992s ok 1392 /checksum/SHA384/reset/94 3992s ok 1393 /checksum/SHA384/reset/95 3992s ok 1394 /checksum/SHA384/reset/96 3992s ok 1395 /checksum/SHA384/reset/97 3992s ok 1396 /checksum/SHA384/reset/98 3992s ok 1397 /checksum/SHA384/reset/99 3992s ok 1398 /checksum/SHA384/reset/100 3992s ok 1399 /checksum/SHA384/reset/101 3992s ok 1400 /checksum/SHA384/reset/102 3992s ok 1401 /checksum/SHA384/reset/103 3992s ok 1402 /checksum/SHA384/reset/104 3992s ok 1403 /checksum/SHA384/reset/105 3992s ok 1404 /checksum/SHA384/reset/106 3992s ok 1405 /checksum/SHA384/reset/107 3992s ok 1406 /checksum/SHA384/reset/108 3992s ok 1407 /checksum/SHA384/reset/109 3992s ok 1408 /checksum/SHA384/reset/110 3992s ok 1409 /checksum/SHA384/reset/111 3992s ok 1410 /checksum/SHA384/reset/112 3992s ok 1411 /checksum/SHA384/reset/113 3992s ok 1412 /checksum/SHA384/reset/114 3992s ok 1413 /checksum/SHA384/reset/115 3992s ok 1414 /checksum/SHA384/reset/116 3992s ok 1415 /checksum/SHA384/reset/117 3992s ok 1416 /checksum/SHA384/reset/118 3992s ok 1417 /checksum/SHA384/reset/119 3992s ok 1418 /checksum/SHA384/reset/120 3992s ok 1419 /checksum/SHA384/reset/121 3992s ok 1420 /checksum/SHA384/reset/122 3992s ok 1421 /checksum/SHA384/reset/123 3992s ok 1422 /checksum/SHA384/reset/124 3992s ok 1423 /checksum/SHA384/reset/125 3992s ok 1424 /checksum/SHA384/reset/126 3992s ok 1425 /checksum/SHA384/reset/127 3992s ok 1426 /checksum/SHA384/reset/128 3992s ok 1427 /checksum/SHA384/reset/129 3992s ok 1428 /checksum/SHA384/reset/130 3992s ok 1429 /checksum/SHA384/reset/131 3992s ok 1430 /checksum/SHA384/reset/132 3992s ok 1431 /checksum/SHA384/reset/133 3992s ok 1432 /checksum/SHA384/reset/134 3992s ok 1433 /checksum/SHA384/reset/135 3992s ok 1434 /checksum/SHA384/reset/136 3992s ok 1435 /checksum/SHA384/reset/137 3992s ok 1436 /checksum/SHA384/reset/138 3992s ok 1437 /checksum/SHA384/reset/139 3992s ok 1438 /checksum/SHA384/reset/140 3992s ok 1439 /checksum/SHA384/reset/141 3992s ok 1440 /checksum/SHA384/reset/142 3992s ok 1441 /checksum/SHA384/reset/143 3992s ok 1442 /checksum/SHA384/reset/144 3992s ok 1443 /checksum/SHA384/reset/145 3992s ok 1444 /checksum/SHA384/reset/146 3992s ok 1445 /checksum/SHA384/reset/147 3992s ok 1446 /checksum/SHA384/reset/148 3992s ok 1447 /checksum/SHA384/reset/149 3992s ok 1448 /checksum/SHA384/reset/150 3992s ok 1449 /checksum/SHA384/reset/151 3992s ok 1450 /checksum/SHA384/reset/152 3992s ok 1451 /checksum/SHA384/reset/153 3992s ok 1452 /checksum/SHA384/reset/154 3992s ok 1453 /checksum/SHA384/reset/155 3992s ok 1454 /checksum/SHA384/reset/156 3992s ok 1455 /checksum/SHA384/reset/157 3992s ok 1456 /checksum/SHA384/reset/158 3992s ok 1457 /checksum/SHA384/reset/159 3992s ok 1458 /checksum/SHA384/reset/160 3992s ok 1459 /checksum/SHA384/reset/161 3992s ok 1460 /checksum/SHA384/reset/162 3992s ok 1461 /checksum/SHA384/reset/163 3992s ok 1462 /checksum/SHA384/reset/164 3992s ok 1463 /checksum/SHA384/reset/165 3992s ok 1464 /checksum/SHA384/reset/166 3992s ok 1465 /checksum/SHA384/reset/167 3992s ok 1466 /checksum/SHA384/reset/168 3992s ok 1467 /checksum/SHA384/reset/169 3992s ok 1468 /checksum/SHA384/reset/170 3992s ok 1469 /checksum/SHA384/reset/171 3992s ok 1470 /checksum/SHA384/reset/172 3992s # Executing: glib/checksum.test 3992s ok 1471 /checksum/SHA384/reset/173 3992s ok 1472 /checksum/SHA384/reset/174 3992s ok 1473 /checksum/SHA384/reset/175 3992s ok 1474 /checksum/SHA384/reset/176 3992s ok 1475 /checksum/SHA384/reset/177 3992s ok 1476 /checksum/SHA384/reset/178 3992s ok 1477 /checksum/SHA384/reset/179 3992s ok 1478 /checksum/SHA384/reset/180 3992s ok 1479 /checksum/SHA384/reset/181 3992s ok 1480 /checksum/SHA384/reset/182 3992s ok 1481 /checksum/SHA384/reset/183 3992s # End of reset tests 3992s # End of SHA384 tests 3992s # Start of SHA512 tests 3992s ok 1482 /checksum/SHA512/0 3992s ok 1483 /checksum/SHA512/1 3992s ok 1484 /checksum/SHA512/2 3992s ok 1485 /checksum/SHA512/3 3992s ok 1486 /checksum/SHA512/4 3992s ok 1487 /checksum/SHA512/5 3992s ok 1488 /checksum/SHA512/6 3992s ok 1489 /checksum/SHA512/7 3992s ok 1490 /checksum/SHA512/8 3992s ok 1491 /checksum/SHA512/9 3992s ok 1492 /checksum/SHA512/10 3992s ok 1493 /checksum/SHA512/11 3992s ok 1494 /checksum/SHA512/12 3992s ok 1495 /checksum/SHA512/13 3992s ok 1496 /checksum/SHA512/14 3992s ok 1497 /checksum/SHA512/15 3992s ok 1498 /checksum/SHA512/16 3992s ok 1499 /checksum/SHA512/17 3992s ok 1500 /checksum/SHA512/18 3992s ok 1501 /checksum/SHA512/19 3992s ok 1502 /checksum/SHA512/20 3992s ok 1503 /checksum/SHA512/21 3992s ok 1504 /checksum/SHA512/22 3992s ok 1505 /checksum/SHA512/23 3992s ok 1506 /checksum/SHA512/24 3992s ok 1507 /checksum/SHA512/25 3992s ok 1508 /checksum/SHA512/26 3992s ok 1509 /checksum/SHA512/27 3992s ok 1510 /checksum/SHA512/28 3992s ok 1511 /checksum/SHA512/29 3992s ok 1512 /checksum/SHA512/30 3992s ok 1513 /checksum/SHA512/31 3992s ok 1514 /checksum/SHA512/32 3992s ok 1515 /checksum/SHA512/33 3992s ok 1516 /checksum/SHA512/34 3992s ok 1517 /checksum/SHA512/35 3992s ok 1518 /checksum/SHA512/36 3992s ok 1519 /checksum/SHA512/37 3992s ok 1520 /checksum/SHA512/38 3992s ok 1521 /checksum/SHA512/39 3992s ok 1522 /checksum/SHA512/40 3992s ok 1523 /checksum/SHA512/41 3992s ok 1524 /checksum/SHA512/42 3992s ok 1525 /checksum/SHA512/43 3992s ok 1526 /checksum/SHA512/44 3992s ok 1527 /checksum/SHA512/45 3992s ok 1528 /checksum/SHA512/46 3992s ok 1529 /checksum/SHA512/47 3992s ok 1530 /checksum/SHA512/48 3992s ok 1531 /checksum/SHA512/49 3992s ok 1532 /checksum/SHA512/50 3992s ok 1533 /checksum/SHA512/51 3992s ok 1534 /checksum/SHA512/52 3992s ok 1535 /checksum/SHA512/53 3992s ok 1536 /checksum/SHA512/54 3992s ok 1537 /checksum/SHA512/55 3992s ok 1538 /checksum/SHA512/56 3992s ok 1539 /checksum/SHA512/57 3992s ok 1540 /checksum/SHA512/58 3992s ok 1541 /checksum/SHA512/59 3992s ok 1542 /checksum/SHA512/60 3992s ok 1543 /checksum/SHA512/61 3992s ok 1544 /checksum/SHA512/62 3992s ok 1545 /checksum/SHA512/63 3992s ok 1546 /checksum/SHA512/64 3992s ok 1547 /checksum/SHA512/65 3992s ok 1548 /checksum/SHA512/66 3992s ok 1549 /checksum/SHA512/67 3992s ok 1550 /checksum/SHA512/68 3992s ok 1551 /checksum/SHA512/69 3992s ok 1552 /checksum/SHA512/70 3992s ok 1553 /checksum/SHA512/71 3992s ok 1554 /checksum/SHA512/72 3992s ok 1555 /checksum/SHA512/73 3992s ok 1556 /checksum/SHA512/74 3992s ok 1557 /checksum/SHA512/75 3992s ok 1558 /checksum/SHA512/76 3992s ok 1559 /checksum/SHA512/77 3992s ok 1560 /checksum/SHA512/78 3992s ok 1561 /checksum/SHA512/79 3992s ok 1562 /checksum/SHA512/80 3992s ok 1563 /checksum/SHA512/81 3992s ok 1564 /checksum/SHA512/82 3992s ok 1565 /checksum/SHA512/83 3992s ok 1566 /checksum/SHA512/84 3992s ok 1567 /checksum/SHA512/85 3992s ok 1568 /checksum/SHA512/86 3992s ok 1569 /checksum/SHA512/87 3992s ok 1570 /checksum/SHA512/88 3992s ok 1571 /checksum/SHA512/89 3992s ok 1572 /checksum/SHA512/90 3992s ok 1573 /checksum/SHA512/91 3992s ok 1574 /checksum/SHA512/92 3992s ok 1575 /checksum/SHA512/93 3992s ok 1576 /checksum/SHA512/94 3992s ok 1577 /checksum/SHA512/95 3992s ok 1578 /checksum/SHA512/96 3992s ok 1579 /checksum/SHA512/97 3992s ok 1580 /checksum/SHA512/98 3992s ok 1581 /checksum/SHA512/99 3992s ok 1582 /checksum/SHA512/100 3992s ok 1583 /checksum/SHA512/101 3992s ok 1584 /checksum/SHA512/102 3992s ok 1585 /checksum/SHA512/103 3992s ok 1586 /checksum/SHA512/104 3992s ok 1587 /checksum/SHA512/105 3992s ok 1588 /checksum/SHA512/106 3992s ok 1589 /checksum/SHA512/107 3992s ok 1590 /checksum/SHA512/108 3992s ok 1591 /checksum/SHA512/109 3992s ok 1592 /checksum/SHA512/110 3992s ok 1593 /checksum/SHA512/111 3992s ok 1594 /checksum/SHA512/112 3992s ok 1595 /checksum/SHA512/113 3992s ok 1596 /checksum/SHA512/114 3992s ok 1597 /checksum/SHA512/115 3992s ok 1598 /checksum/SHA512/116 3992s ok 1599 /checksum/SHA512/117 3992s ok 1600 /checksum/SHA512/118 3992s ok 1601 /checksum/SHA512/119 3992s ok 1602 /checksum/SHA512/120 3992s ok 1603 /checksum/SHA512/121 3992s ok 1604 /checksum/SHA512/122 3992s ok 1605 /checksum/SHA512/123 3992s ok 1606 /checksum/SHA512/124 3992s ok 1607 /checksum/SHA512/125 3992s ok 1608 /checksum/SHA512/126 3992s ok 1609 /checksum/SHA512/127 3992s ok 1610 /checksum/SHA512/128 3992s ok 1611 /checksum/SHA512/129 3992s ok 1612 /checksum/SHA512/130 3992s ok 1613 /checksum/SHA512/131 3992s ok 1614 /checksum/SHA512/132 3992s ok 1615 /checksum/SHA512/133 3992s ok 1616 /checksum/SHA512/134 3992s ok 1617 /checksum/SHA512/135 3992s ok 1618 /checksum/SHA512/136 3992s ok 1619 /checksum/SHA512/137 3992s ok 1620 /checksum/SHA512/138 3992s ok 1621 /checksum/SHA512/139 3992s ok 1622 /checksum/SHA512/140 3992s ok 1623 /checksum/SHA512/141 3992s ok 1624 /checksum/SHA512/142 3992s ok 1625 /checksum/SHA512/143 3992s ok 1626 /checksum/SHA512/144 3992s ok 1627 /checksum/SHA512/145 3992s ok 1628 /checksum/SHA512/146 3992s ok 1629 /checksum/SHA512/147 3992s ok 1630 /checksum/SHA512/148 3992s ok 1631 /checksum/SHA512/149 3992s ok 1632 /checksum/SHA512/150 3992s ok 1633 /checksum/SHA512/151 3992s ok 1634 /checksum/SHA512/152 3992s ok 1635 /checksum/SHA512/153 3992s ok 1636 /checksum/SHA512/154 3992s ok 1637 /checksum/SHA512/155 3992s ok 1638 /checksum/SHA512/156 3992s ok 1639 /checksum/SHA512/157 3992s ok 1640 /checksum/SHA512/158 3992s ok 1641 /checksum/SHA512/159 3992s ok 1642 /checksum/SHA512/160 3992s ok 1643 /checksum/SHA512/161 3992s ok 1644 /checksum/SHA512/162 3992s ok 1645 /checksum/SHA512/163 3992s ok 1646 /checksum/SHA512/164 3992s ok 1647 /checksum/SHA512/165 3992s ok 1648 /checksum/SHA512/166 3992s ok 1649 /checksum/SHA512/167 3992s ok 1650 /checksum/SHA512/168 3992s ok 1651 /checksum/SHA512/169 3992s ok 1652 /checksum/SHA512/170 3992s ok 1653 /checksum/SHA512/171 3992s ok 1654 /checksum/SHA512/172 3992s ok 1655 /checksum/SHA512/173 3992s ok 1656 /checksum/SHA512/174 3992s ok 1657 /checksum/SHA512/175 3992s ok 1658 /checksum/SHA512/176 3992s ok 1659 /checksum/SHA512/177 3992s ok 1660 /checksum/SHA512/178 3992s ok 1661 /checksum/SHA512/179 3992s ok 1662 /checksum/SHA512/180 3992s ok 1663 /checksum/SHA512/181 3992s ok 1664 /checksum/SHA512/182 3992s ok 1665 /checksum/SHA512/183 3992s ok 1666 /checksum/SHA512/string 3992s ok 1667 /checksum/SHA512/bytes 3992s # Start of reset tests 3992s ok 1668 /checksum/SHA512/reset/0 3992s ok 1669 /checksum/SHA512/reset/1 3992s ok 1670 /checksum/SHA512/reset/2 3992s ok 1671 /checksum/SHA512/reset/3 3992s ok 1672 /checksum/SHA512/reset/4 3992s ok 1673 /checksum/SHA512/reset/5 3992s ok 1674 /checksum/SHA512/reset/6 3992s ok 1675 /checksum/SHA512/reset/7 3992s ok 1676 /checksum/SHA512/reset/8 3992s ok 1677 /checksum/SHA512/reset/9 3992s ok 1678 /checksum/SHA512/reset/10 3992s ok 1679 /checksum/SHA512/reset/11 3992s ok 1680 /checksum/SHA512/reset/12 3992s ok 1681 /checksum/SHA512/reset/13 3992s ok 1682 /checksum/SHA512/reset/14 3992s ok 1683 /checksum/SHA512/reset/15 3992s ok 1684 /checksum/SHA512/reset/16 3992s ok 1685 /checksum/SHA512/reset/17 3992s ok 1686 /checksum/SHA512/reset/18 3992s ok 1687 /checksum/SHA512/reset/19 3992s ok 1688 /checksum/SHA512/reset/20 3992s ok 1689 /checksum/SHA512/reset/21 3992s ok 1690 /checksum/SHA512/reset/22 3992s ok 1691 /checksum/SHA512/reset/23 3992s ok 1692 /checksum/SHA512/reset/24 3992s ok 1693 /checksum/SHA512/reset/25 3992s ok 1694 /checksum/SHA512/reset/26 3992s ok 1695 /checksum/SHA512/reset/27 3992s ok 1696 /checksum/SHA512/reset/28 3992s ok 1697 /checksum/SHA512/reset/29 3992s ok 1698 /checksum/SHA512/reset/30 3992s ok 1699 /checksum/SHA512/reset/31 3992s ok 1700 /checksum/SHA512/reset/32 3992s ok 1701 /checksum/SHA512/reset/33 3992s ok 1702 /checksum/SHA512/reset/34 3992s ok 1703 /checksum/SHA512/reset/35 3992s ok 1704 /checksum/SHA512/reset/36 3992s ok 1705 /checksum/SHA512/reset/37 3992s ok 1706 /checksum/SHA512/reset/38 3992s ok 1707 /checksum/SHA512/reset/39 3992s ok 1708 /checksum/SHA512/reset/40 3992s ok 1709 /checksum/SHA512/reset/41 3992s ok 1710 /checksum/SHA512/reset/42 3992s ok 1711 /checksum/SHA512/reset/43 3992s ok 1712 /checksum/SHA512/reset/44 3992s ok 1713 /checksum/SHA512/reset/45 3992s ok 1714 /checksum/SHA512/reset/46 3992s ok 1715 /checksum/SHA512/reset/47 3992s ok 1716 /checksum/SHA512/reset/48 3992s ok 1717 /checksum/SHA512/reset/49 3992s ok 1718 /checksum/SHA512/reset/50 3992s ok 1719 /checksum/SHA512/reset/51 3992s ok 1720 /checksum/SHA512/reset/52 3992s ok 1721 /checksum/SHA512/reset/53 3992s ok 1722 /checksum/SHA512/reset/54 3992s ok 1723 /checksum/SHA512/reset/55 3992s ok 1724 /checksum/SHA512/reset/56 3992s ok 1725 /checksum/SHA512/reset/57 3992s ok 1726 /checksum/SHA512/reset/58 3992s ok 1727 /checksum/SHA512/reset/59 3992s ok 1728 /checksum/SHA512/reset/60 3992s ok 1729 /checksum/SHA512/reset/61 3992s ok 1730 /checksum/SHA512/reset/62 3992s ok 1731 /checksum/SHA512/reset/63 3992s ok 1732 /checksum/SHA512/reset/64 3992s ok 1733 /checksum/SHA512/reset/65 3992s ok 1734 /checksum/SHA512/reset/66 3992s ok 1735 /checksum/SHA512/reset/67 3992s ok 1736 /checksum/SHA512/reset/68 3992s ok 1737 /checksum/SHA512/reset/69 3992s ok 1738 /checksum/SHA512/reset/70 3992s ok 1739 /checksum/SHA512/reset/71 3992s ok 1740 /checksum/SHA512/reset/72 3992s ok 1741 /checksum/SHA512/reset/73 3992s ok 1742 /checksum/SHA512/reset/74 3992s ok 1743 /checksum/SHA512/reset/75 3992s ok 1744 /checksum/SHA512/reset/76 3992s ok 1745 /checksum/SHA512/reset/77 3992s ok 1746 /checksum/SHA512/reset/78 3992s ok 1747 /checksum/SHA512/reset/79 3992s ok 1748 /checksum/SHA512/reset/80 3992s ok 1749 /checksum/SHA512/reset/81 3992s ok 1750 /checksum/SHA512/reset/82 3992s ok 1751 /checksum/SHA512/reset/83 3992s ok 1752 /checksum/SHA512/reset/84 3992s ok 1753 /checksum/SHA512/reset/85 3992s ok 1754 /checksum/SHA512/reset/86 3992s ok 1755 /checksum/SHA512/reset/87 3992s ok 1756 /checksum/SHA512/reset/88 3992s ok 1757 /checksum/SHA512/reset/89 3992s ok 1758 /checksum/SHA512/reset/90 3992s ok 1759 /checksum/SHA512/reset/91 3992s ok 1760 /checksum/SHA512/reset/92 3992s ok 1761 /checksum/SHA512/reset/93 3992s ok 1762 /checksum/SHA512/reset/94 3992s ok 1763 /checksum/SHA512/reset/95 3992s ok 1764 /checksum/SHA512/reset/96 3992s ok 1765 /checksum/SHA512/reset/97 3992s ok 1766 /checksum/SHA512/reset/98 3992s ok 1767 /checksum/SHA512/reset/99 3992s ok 1768 /checksum/SHA512/reset/100 3992s ok 1769 /checksum/SHA512/reset/101 3992s ok 1770 /checksum/SHA512/reset/102 3992s ok 1771 /checksum/SHA512/reset/103 3992s ok 1772 /checksum/SHA512/reset/104 3992s ok 1773 /checksum/SHA512/reset/105 3992s ok 1774 /checksum/SHA512/reset/106 3992s ok 1775 /checksum/SHA512/reset/107 3992s ok 1776 /checksum/SHA512/reset/108 3992s ok 1777 /checksum/SHA512/reset/109 3992s ok 1778 /checksum/SHA512/reset/110 3992s ok 1779 /checksum/SHA512/reset/111 3992s ok 1780 /checksum/SHA512/reset/112 3992s ok 1781 /checksum/SHA512/reset/113 3992s ok 1782 /checksum/SHA512/reset/114 3992s ok 1783 /checksum/SHA512/reset/115 3992s ok 1784 /checksum/SHA512/reset/116 3992s ok 1785 /checksum/SHA512/reset/117 3992s ok 1786 /checksum/SHA512/reset/118 3992s ok 1787 /checksum/SHA512/reset/119 3992s ok 1788 /checksum/SHA512/reset/120 3992s ok 1789 /checksum/SHA512/reset/121 3992s ok 1790 /checksum/SHA512/reset/122 3992s ok 1791 /checksum/SHA512/reset/123 3992s ok 1792 /checksum/SHA512/reset/124 3992s ok 1793 /checksum/SHA512/reset/125 3992s ok 1794 /checksum/SHA512/reset/126 3992s ok 1795 /checksum/SHA512/reset/127 3992s ok 1796 /checksum/SHA512/reset/128 3992s ok 1797 /checksum/SHA512/reset/129 3992s ok 1798 /checksum/SHA512/reset/130 3992s ok 1799 /checksum/SHA512/reset/131 3992s ok 1800 /checksum/SHA512/reset/132 3992s ok 1801 /checksum/SHA512/reset/133 3992s ok 1802 /checksum/SHA512/reset/134 3992s ok 1803 /checksum/SHA512/reset/135 3992s ok 1804 /checksum/SHA512/reset/136 3992s ok 1805 /checksum/SHA512/reset/137 3992s ok 1806 /checksum/SHA512/reset/138 3992s ok 1807 /checksum/SHA512/reset/139 3992s ok 1808 /checksum/SHA512/reset/140 3992s ok 1809 /checksum/SHA512/reset/141 3992s ok 1810 /checksum/SHA512/reset/142 3992s ok 1811 /checksum/SHA512/reset/143 3992s ok 1812 /checksum/SHA512/reset/144 3992s ok 1813 /checksum/SHA512/reset/145 3992s ok 1814 /checksum/SHA512/reset/146 3992s ok 1815 /checksum/SHA512/reset/147 3992s ok 1816 /checksum/SHA512/reset/148 3992s ok 1817 /checksum/SHA512/reset/149 3992s ok 1818 /checksum/SHA512/reset/150 3992s ok 1819 /checksum/SHA512/reset/151 3992s ok 1820 /checksum/SHA512/reset/152 3992s ok 1821 /checksum/SHA512/reset/153 3992s ok 1822 /checksum/SHA512/reset/154 3992s ok 1823 /checksum/SHA512/reset/155 3992s ok 1824 /checksum/SHA512/reset/156 3992s ok 1825 /checksum/SHA512/reset/157 3992s ok 1826 /checksum/SHA512/reset/158 3992s ok 1827 /checksum/SHA512/reset/159 3992s ok 1828 /checksum/SHA512/reset/160 3992s ok 1829 /checksum/SHA512/reset/161 3992s ok 1830 /checksum/SHA512/reset/162 3992s ok 1831 /checksum/SHA512/reset/163 3992s ok 1832 /checksum/SHA512/reset/164 3992s ok 1833 /checksum/SHA512/reset/165 3992s ok 1834 /checksum/SHA512/reset/166 3992s ok 1835 /checksum/SHA512/reset/167 3992s ok 1836 /checksum/SHA512/reset/168 3992s ok 1837 /checksum/SHA512/reset/169 3992s ok 1838 /checksum/SHA512/reset/170 3992s ok 1839 /checksum/SHA512/reset/171 3992s ok 1840 /checksum/SHA512/reset/172 3992s ok 1841 /checksum/SHA512/reset/173 3992s ok 1842 /checksum/SHA512/reset/174 3992s ok 1843 /checksum/SHA512/reset/175 3992s ok 1844 /checksum/SHA512/reset/176 3992s ok 1845 /checksum/SHA512/reset/177 3992s ok 1846 /checksum/SHA512/reset/178 3992s ok 1847 /checksum/SHA512/reset/179 3992s ok 1848 /checksum/SHA512/reset/180 3992s ok 1849 /checksum/SHA512/reset/181 3992s ok 1850 /checksum/SHA512/reset/182 3992s ok 1851 /checksum/SHA512/reset/183 3992s # End of reset tests 3992s # End of SHA512 tests 3992s # End of checksum tests 3992s ok - glib/checksum.test 3992s # Running test: glib/testfilemonitor.test 3992s TAP version 13 3992s # random seed: R02Se53ff2c9a8ada50f29ee481ddc821909 3992s 1..8 3992s # Start of monitor tests 3992s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 3992s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 3992s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 3992s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 3992s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 3992s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 3992s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 3992s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 3992s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 3992s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 3992s # Start of file tests 3992s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 3992s # End of file tests 3992s # End of monitor tests 3992s ok - glib/testfilemonitor.test 3992s # Running test: glib/memchunk.test 3992s TAP version 13 3992s # random seed: R02S0c50cd12cda3c5a404915497e7c8c6f1 3992s 1..1 3992s # Start of memchunk tests 3992s ok 1 /memchunk/basic 3992s # End of memchunk tests 3992s ok - glib/memchunk.test 3992s # Running test: glib/gdbus-connection-flush.test 3992s TAP version 13 3992s # random seed: R02S731b2bd7602e77040f740832d11e6a0b 3992s 1..2 3992s # Start of gdbus tests 3992s # Start of connection tests 3992s # Start of flush tests 3992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/busy/.dirs/home 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/busy/.dirs/cache 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/busy/.dirs/system-config2 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/busy/.dirs/config 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/busy/.dirs/system-data2 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/busy/.dirs/data 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/busy/.dirs/state 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/busy/.dirs/runtime 3992s ok 1 /gdbus/connection/flush/busy 3992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/idle/.dirs/home 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/idle/.dirs/cache 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/idle/.dirs/system-config2 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/idle/.dirs/config 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/idle/.dirs/system-data2 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/idle/.dirs/data 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/idle/.dirs/state 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_UR2ZJ2/gdbus/connection/flush/idle/.dirs/runtime 3992s ok 2 /gdbus/connection/flush/idle 3992s # End of flush tests 3992s # End of connection tests 3992s # End of gdbus tests 3992s ok - glib/gdbus-connection-flush.test 3992s # Running test: glib/unicode-encoding.test 3992s TAP version 13 3992s # random seed: R02S98ceba8b50b01087a5cd0c4fe0a36d71 3992s 1..1 3992s # Start of unicode tests 3992s ok 1 /unicode/encoding 3992s # End of unicode tests 3992s ok - glib/unicode-encoding.test 3992s # Running test: glib/slist.test 3992s TAP version 13 3992s # random seed: R02S726b65931c7d1b8577ede48b4bf76b3b 3992s 1..14 3992s # Start of slist tests 3992s ok 1 /slist/sort 3992s ok 2 /slist/sort-with-data 3992s ok 3 /slist/insert-sorted 3992s ok 4 /slist/insert-sorted-with-data 3992s ok 5 /slist/reverse 3992s ok 6 /slist/nth 3992s ok 7 /slist/remove 3992s ok 8 /slist/remove-all 3992s ok 9 /slist/insert 3992s ok 10 /slist/position 3992s ok 11 /slist/concat 3992s ok 12 /slist/copy 3992s # Start of sort tests 3992s ok 13 /slist/sort/stable 3992s # End of sort tests 3992s # Start of copy tests 3992s ok 14 /slist/copy/deep 3992s # End of copy tests 3992s # End of slist tests 3992s ok - glib/slist.test 3992s # Running test: glib/string.test 3992s TAP version 13 3992s # random seed: R02S57cc4f654d42997fd037627f3449907f 3992s 1..23 3992s # Start of string tests 3992s ok 1 /string/test-string-chunks 3992s ok 2 /string/test-string-chunk-insert 3992s ok 3 /string/test-string-new 3992s ok 4 /string/test-string-printf 3992s ok 5 /string/test-string-assign 3992s ok 6 /string/test-string-append-c 3992s ok 7 /string/test-string-append 3992s ok 8 /string/test-string-append-vprintf 3992s ok 9 /string/test-string-prepend-c 3992s ok 10 /string/test-string-prepend 3992s ok 11 /string/test-string-insert 3992s ok 12 /string/test-string-insert-unichar 3992s ok 13 /string/test-string-equal 3992s ok 14 /string/test-string-truncate 3992s ok 15 /string/test-string-overwrite 3992s ok 16 /string/test-string-nul-handling 3992s ok 17 /string/test-string-up-down 3992s ok 18 /string/test-string-set-size 3992s ok 19 /string/test-string-to-bytes 3992s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 3992s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 3992s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 3992s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 3992s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 3992s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 3992s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 3992s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 3992s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 3992s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 3992s # 5: Replacing "o" with "" (limit 0) in "food for foals" 3992s # -> 4 replacements, "fd fr fals" 3992s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 3992s # -> 3 replacements, "aaaaaaaaa" 3992s # 7: Replacing "a" with "" (limit 0) in "aaa" 3992s # -> 3 replacements, "" 3992s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 3992s # -> 1 replacements, "bba" 3992s # 9: Replacing "" with "bar" (limit 0) in "foo" 3992s # -> 4 replacements, "barfbarobarobar" 3992s # 10: Replacing "" with "x" (limit 0) in "" 3992s # -> 1 replacements, "x" 3992s # 11: Replacing "" with "" (limit 0) in "" 3992s # -> 1 replacements, "" 3992s ok 20 /string/test-string-replace 3992s ok 21 /string/test-string-steal 3992s ok 22 /string/test-string-new-take 3992s # Start of test-string-new-take tests 3992s ok 23 /string/test-string-new-take/null 3992s # End of test-string-new-take tests 3992s # End of string tests 3992s ok - glib/string.test 3992s # Running test: glib/gdbus-close-pending.test 3992s TAP version 13 3992s # random seed: R02Sfbe2967522f6ff5d7b83d421e55e2c9d 3992s 1..2 3992s # Start of gdbus tests 3992s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/close-pending/.dirs/home 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/close-pending/.dirs/cache 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_OS4VJ2/gdbus/close-pending/.dirs/system-config2 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/close-pending/.dirs/config 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_OS4VJ2/gdbus/close-pending/.dirs/system-data2 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/close-pending/.dirs/data 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/close-pending/.dirs/state 3992s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/close-pending/.dirs/runtime 3993s ok 1 /gdbus/close-pending 3993s # slow test /gdbus/close-pending executed in 0.51 secs 3993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/unref-pending/.dirs/home 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/unref-pending/.dirs/cache 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_OS4VJ2/gdbus/unref-pending/.dirs/system-config2 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/unref-pending/.dirs/config 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_OS4VJ2/gdbus/unref-pending/.dirs/system-data2 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/unref-pending/.dirs/data 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/unref-pending/.dirs/state 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_OS4VJ2/gdbus/unref-pending/.dirs/runtime 3993s ok 2 /gdbus/unref-pending 3993s # slow test /gdbus/unref-pending executed in 0.52 secs 3993s # End of gdbus tests 3993s ok - glib/gdbus-close-pending.test 3993s # Running test: glib/gdbus-introspection.test 3993s TAP version 13 3993s # random seed: R02S962120896dea1eb5b9d45e43716ab50c 3993s 1..4 3993s # Start of gdbus tests 3993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-parser/.dirs/home 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-parser/.dirs/cache 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-parser/.dirs/system-config2 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-parser/.dirs/config 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-parser/.dirs/system-data2 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-parser/.dirs/data 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-parser/.dirs/state 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-parser/.dirs/runtime 3993s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 3993s ok 1 /gdbus/introspection-parser 3993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-generate/.dirs/home 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-generate/.dirs/cache 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-generate/.dirs/system-config2 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-generate/.dirs/config 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-generate/.dirs/system-data2 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-generate/.dirs/data 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-generate/.dirs/state 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-generate/.dirs/runtime 3993s ok 2 /gdbus/introspection-generate 3993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-default-direction/.dirs/home 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-default-direction/.dirs/cache 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-default-direction/.dirs/system-config2 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-default-direction/.dirs/config 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-default-direction/.dirs/system-data2 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-default-direction/.dirs/data 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-default-direction/.dirs/state 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-default-direction/.dirs/runtime 3993s ok 3 /gdbus/introspection-default-direction 3993s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-extra-data/.dirs/home 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-extra-data/.dirs/cache 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-extra-data/.dirs/system-config2 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-extra-data/.dirs/config 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-extra-data/.dirs/system-data2 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-extra-data/.dirs/data 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-extra-data/.dirs/state 3993s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_8HW5J2/gdbus/introspection-extra-data/.dirs/runtime 3993s ok 4 /gdbus/introspection-extra-data 3993s # End of gdbus tests 3993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3993s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 3993s ok - glib/gdbus-introspection.test 3993s cleaning up pid 10919 3993s # Running test: glib/references.test 3993s TAP version 13 3993s # random seed: R02S678ccfcacec7a62e7208dec09b818335 3993s 1..1 3993s # Start of gobject tests 3993s ok 1 /gobject/references 3993s # End of gobject tests 3993s ok - glib/references.test 3993s # Running test: glib/private.test 3993s TAP version 13 3993s # random seed: R02Sde8189cb3afa1772b0244ab8951e65ae 3993s 1..8 3993s # Start of thread tests 3993s ok 1 /thread/private1 3995s ok 2 /thread/private2 3995s # slow test /thread/private2 executed in 1.14 secs 3995s ok 3 /thread/private3 3995s ok 4 /thread/staticprivate1 3995s ok 5 /thread/staticprivate2 3995s ok 6 /thread/staticprivate3 3996s ok 7 /thread/staticprivate4 3996s # slow test /thread/staticprivate4 executed in 1.15 secs 3996s ok 8 /thread/staticprivate5 3996s # End of thread tests 3996s ok - glib/private.test 3996s # Running test: glib/genmarshal.py.test 3996s TAP version 13 3996s ok 1 __main__.TestGenmarshal.test_empty_list 3996s # tmpdir: /tmp/tmp41n80noy 3996s # genmarshal: /usr/bin/glib-genmarshal 3996s # /tmp/tmp41n80noy/tmpokjoncc4.list: 3996s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp41n80noy/tmpokjoncc4.list', '--header', '--quiet'] 3996s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3996s # 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. */ 3996s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 3996s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 3996s # 3996s # #include 3996s # 3996s # G_BEGIN_DECLS 3996s # 3996s # 3996s # G_END_DECLS 3996s # 3996s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 3996s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp41n80noy/tmpokjoncc4.list', '--body', '--quiet'] 3996s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3996s # 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. */ 3996s # #include 3996s # 3996s # #ifdef G_ENABLE_DEBUG 3996s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 3996s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 3996s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 3996s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 3996s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 3996s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 3996s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 3996s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 3996s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 3996s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 3996s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 3996s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 3996s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 3996s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 3996s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 3996s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 3996s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 3996s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 3996s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 3996s # #else /* !G_ENABLE_DEBUG */ 3996s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 3996s # * Do not access GValues directly in your code. Instead, use the 3996s # * g_value_get_*() functions 3996s # */ 3996s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 3996s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 3996s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 3996s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 3996s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 3996s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 3996s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 3996s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 3996s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 3996s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 3996s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 3996s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 3996s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 3996s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 3996s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 3996s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 3996s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 3996s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 3996s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 3996s # #endif /* !G_ENABLE_DEBUG */ 3996s ok 2 __main__.TestGenmarshal.test_help 3996s # tmpdir: /tmp/tmprcpum_bx 3996s # genmarshal: /usr/bin/glib-genmarshal 3996s # Running: ['/usr/bin/glib-genmarshal', '--help'] 3996s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3996s # Output: usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 3996s # [--internal] [--valist-marshallers] [-v] 3996s # [--g-fatal-warnings] [--include-header [HEADER]] 3996s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 3996s # [--prototypes] [--header] [--body] 3996s # [--stdinc | --nostdinc] [--quiet | --verbose] 3996s # [FILE ...] 3996s # 3996s # Generate signal marshallers for GObject 3996s # 3996s # positional arguments: 3996s # FILE Files with lists of marshallers to generate, or "-" 3996s # for standard input 3996s # 3996s # options: 3996s # -h, --help show this help message and exit 3996s # --prefix STRING Specify marshaller prefix 3996s # --output FILE Write output into the specified file 3996s # --skip-source Skip source location comments 3996s # --internal Mark generated functions as internal 3996s # --valist-marshallers Generate va_list marshallers 3996s # -v, --version Print version information, and exit 3996s # --g-fatal-warnings Make warnings fatal 3996s # --include-header [HEADER] 3996s # Include the specified header in the body 3996s # --pragma-once Use "pragma once" as the inclusion guard 3996s # -D CPP_DEFINES Pre-processor define 3996s # -U CPP_UNDEFINES Pre-processor undefine 3996s # --prototypes Generate the marshallers prototype in the C code 3996s # --header Generate C headers 3996s # --body Generate C code 3996s # --stdinc Include standard marshallers 3996s # --nostdinc Use standard marshallers 3996s # --quiet Only print warnings and errors 3996s # --verbose Be verbose, and include debugging information 3997s ok 3 __main__.TestGenmarshal.test_no_args 3997s # tmpdir: /tmp/tmp9onhn5us 3997s # genmarshal: /usr/bin/glib-genmarshal 3997s # Running: ['/usr/bin/glib-genmarshal'] 3997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3997s # Output: 3997s ok 4 __main__.TestGenmarshal.test_void_boolean 3997s # tmpdir: /tmp/tmp4g6bqgdh 3997s # genmarshal: /usr/bin/glib-genmarshal 3997s # /tmp/tmp4g6bqgdh/tmp9m8nzdvq.list: VOID:BOOLEAN 3997s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp4g6bqgdh/tmp9m8nzdvq.list', '--header', '--quiet'] 3997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3997s # 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. */ 3997s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 3997s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 3997s # 3997s # #include 3997s # 3997s # G_BEGIN_DECLS 3997s # 3997s # /* VOID:BOOLEAN (/tmp/tmp4g6bqgdh/tmp9m8nzdvq.list:1) */ 3997s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 3997s # 3997s # 3997s # G_END_DECLS 3997s # 3997s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 3997s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp4g6bqgdh/tmp9m8nzdvq.list', '--body', '--quiet'] 3997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3997s # 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. */ 3997s # #include 3997s # 3997s # #ifdef G_ENABLE_DEBUG 3997s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 3997s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 3997s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 3997s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 3997s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 3997s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 3997s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 3997s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 3997s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 3997s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 3997s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 3997s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 3997s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 3997s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 3997s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 3997s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 3997s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 3997s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 3997s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 3997s # #else /* !G_ENABLE_DEBUG */ 3997s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 3997s # * Do not access GValues directly in your code. Instead, use the 3997s # * g_value_get_*() functions 3997s # */ 3997s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 3997s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 3997s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 3997s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 3997s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 3997s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 3997s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 3997s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 3997s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 3997s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 3997s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 3997s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 3997s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 3997s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 3997s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 3997s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 3997s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 3997s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 3997s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 3997s # #endif /* !G_ENABLE_DEBUG */ 3997s # Executing: glib/genmarshal.py.test 3997s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 3997s # tmpdir: /tmp/tmpu3_9au1c 3997s # genmarshal: /usr/bin/glib-genmarshal 3997s # /tmp/tmpu3_9au1c/tmpcv846lio.list: VOID:BOOLEAN,INT64 3997s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpu3_9au1c/tmpcv846lio.list', '--header', '--quiet'] 3997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3997s # 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. */ 3997s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 3997s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 3997s # 3997s # #include 3997s # 3997s # G_BEGIN_DECLS 3997s # 3997s # /* VOID:BOOLEAN,INT64 (/tmp/tmpu3_9au1c/tmpcv846lio.list:1) */ 3997s # extern 3997s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 3997s # GValue *return_value, 3997s # guint n_param_values, 3997s # const GValue *param_values, 3997s # gpointer invocation_hint, 3997s # gpointer marshal_data); 3997s # 3997s # 3997s # G_END_DECLS 3997s # 3997s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 3997s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpu3_9au1c/tmpcv846lio.list', '--body', '--quiet'] 3997s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3997s # 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. */ 3997s # #include 3997s # 3997s # #ifdef G_ENABLE_DEBUG 3997s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 3997s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 3997s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 3997s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 3997s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 3997s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 3997s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 3997s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 3997s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 3997s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 3997s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 3997s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 3997s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 3997s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 3997s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 3997s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 3997s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 3997s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 3997s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 3997s # #else /* !G_ENABLE_DEBUG */ 3997s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 3997s # * Do not access GValues directly in your code. Instead, use the 3997s # * g_value_get_*() functions 3997s # */ 3997s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 3997s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 3997s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 3997s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 3997s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 3997s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 3997s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 3997s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 3997s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 3997s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 3997s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 3997s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 3997s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 3997s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 3997s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 3997s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 3997s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 3997s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 3997s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 3997s # #endif /* !G_ENABLE_DEBUG */ 3997s # 3997s # /* VOID:BOOLEAN,INT64 (/tmp/tmpu3_9au1c/tmpcv846lio.list:1) */ 3997s # void 3997s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 3997s # GValue *return_value G_GNUC_UNUSED, 3997s # guint n_param_values, 3997s # const GValue *param_values, 3997s # gpointer invocation_hint G_GNUC_UNUSED, 3997s # gpointer marshal_data) 3997s # { 3997s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 3997s # gboolean arg1, 3997s # gint64 arg2, 3997s # gpointer data2); 3997s # GCClosure *cc = (GCClosure *) closure; 3997s # gpointer data1, data2; 3997s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 3997s # 3997s # g_return_if_fail (n_param_values == 3); 3997s # 3997s # if (G_CCLOSURE_SWAP_DATA (closure)) 3997s # { 3997s # data1 = closure->data; 3997s # data2 = g_value_peek_pointer (param_values + 0); 3997s # } 3997s # else 3997s # { 3997s # data1 = g_value_peek_pointer (param_values + 0); 3997s # data2 = closure->data; 3997s # } 3997s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 3997s # 3997s # callback (data1, 3997s # g_marshal_value_peek_boolean (param_values + 1), 3997s # g_marshal_value_peek_int64 (param_values + 2), 3997s # data2); 3997s # } 3997s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 3998s # tmpdir: /tmp/tmphwu4wxd9 3998s # genmarshal: /usr/bin/glib-genmarshal 3998s # /tmp/tmphwu4wxd9/tmpiafdu_kl.list: VOID:PARAM 3998s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmphwu4wxd9/tmpiafdu_kl.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 3998s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3998s # 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. */ 3998s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 3998s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 3998s # 3998s # G_BEGIN_DECLS 3998s # 3998s # /* VOID:PARAM (/tmp/tmphwu4wxd9/tmpiafdu_kl.list:1) */ 3998s # extern 3998s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 3998s # GValue *return_value, 3998s # guint n_param_values, 3998s # const GValue *param_values, 3998s # gpointer invocation_hint, 3998s # gpointer marshal_data); 3998s # extern 3998s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 3998s # GValue *return_value, 3998s # gpointer instance, 3998s # va_list args, 3998s # gpointer marshal_data, 3998s # int n_params, 3998s # GType *param_types); 3998s # 3998s # 3998s # G_END_DECLS 3998s # 3998s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 3998s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmphwu4wxd9/tmpiafdu_kl.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 3998s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3998s # 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. */ 3998s # #ifdef G_ENABLE_DEBUG 3998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 3998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 3998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 3998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 3998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 3998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 3998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 3998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 3998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 3998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 3998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 3998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 3998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 3998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 3998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 3998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 3998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 3998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 3998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 3998s # #else /* !G_ENABLE_DEBUG */ 3998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 3998s # * Do not access GValues directly in your code. Instead, use the 3998s # * g_value_get_*() functions 3998s # */ 3998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 3998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 3998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 3998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 3998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 3998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 3998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 3998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 3998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 3998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 3998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 3998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 3998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 3998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 3998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 3998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 3998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 3998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 3998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 3998s # #endif /* !G_ENABLE_DEBUG */ 3998s # 3998s # /* VOID:PARAM (/tmp/tmphwu4wxd9/tmpiafdu_kl.list:1) */ 3998s # void 3998s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 3998s # GValue *return_value G_GNUC_UNUSED, 3998s # guint n_param_values, 3998s # const GValue *param_values, 3998s # gpointer invocation_hint G_GNUC_UNUSED, 3998s # gpointer marshal_data) 3998s # { 3998s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 3998s # gpointer arg1, 3998s # gpointer data2); 3998s # GCClosure *cc = (GCClosure *) closure; 3998s # gpointer data1, data2; 3998s # GMarshalFunc_VOID__PARAM callback; 3998s # 3998s # g_return_if_fail (n_param_values == 2); 3998s # 3998s # if (G_CCLOSURE_SWAP_DATA (closure)) 3998s # { 3998s # data1 = closure->data; 3998s # data2 = g_value_peek_pointer (param_values + 0); 3998s # } 3998s # else 3998s # { 3998s # data1 = g_value_peek_pointer (param_values + 0); 3998s # data2 = closure->data; 3998s # } 3998s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 3998s # 3998s # callback (data1, 3998s # g_marshal_value_peek_param (param_values + 1), 3998s # data2); 3998s # } 3998s # 3998s # void 3998s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 3998s # GValue *return_value G_GNUC_UNUSED, 3998s # gpointer instance, 3998s # va_list args, 3998s # gpointer marshal_data, 3998s # int n_params, 3998s # GType *param_types) 3998s # { 3998s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 3998s # gpointer arg1, 3998s # gpointer data2); 3998s # GCClosure *cc = (GCClosure *) closure; 3998s # gpointer data1, data2; 3998s # GMarshalFunc_VOID__PARAM callback; 3998s # gpointer arg0; 3998s # va_list args_copy; 3998s # 3998s # va_copy (args_copy, args); 3998s # arg0 = (gpointer) va_arg (args_copy, gpointer); 3998s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 3998s # arg0 = g_param_spec_ref (arg0); 3998s # va_end (args_copy); 3998s # 3998s # 3998s # if (G_CCLOSURE_SWAP_DATA (closure)) 3998s # { 3998s # data1 = closure->data; 3998s # data2 = instance; 3998s # } 3998s # else 3998s # { 3998s # data1 = instance; 3998s # data2 = closure->data; 3998s # } 3998s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 3998s # 3998s # callback (data1, 3998s # arg0, 3998s # data2); 3998s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 3998s # g_param_spec_unref (arg0); 3998s # } 3998s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 3998s # tmpdir: /tmp/tmpb13spqbq 3998s # genmarshal: /usr/bin/glib-genmarshal 3998s # /tmp/tmpb13spqbq/tmpmcqut0s2.list: VOID:STRING 3998s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpb13spqbq/tmpmcqut0s2.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 3998s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3998s # 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. */ 3998s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 3998s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 3998s # 3998s # G_BEGIN_DECLS 3998s # 3998s # /* VOID:STRING (/tmp/tmpb13spqbq/tmpmcqut0s2.list:1) */ 3998s # extern 3998s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 3998s # GValue *return_value, 3998s # guint n_param_values, 3998s # const GValue *param_values, 3998s # gpointer invocation_hint, 3998s # gpointer marshal_data); 3998s # extern 3998s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 3998s # GValue *return_value, 3998s # gpointer instance, 3998s # va_list args, 3998s # gpointer marshal_data, 3998s # int n_params, 3998s # GType *param_types); 3998s # 3998s # 3998s # G_END_DECLS 3998s # 3998s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 3998s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpb13spqbq/tmpmcqut0s2.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 3998s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3998s # 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. */ 3998s # #ifdef G_ENABLE_DEBUG 3998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 3998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 3998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 3998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 3998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 3998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 3998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 3998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 3998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 3998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 3998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 3998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 3998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 3998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 3998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 3998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 3998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 3998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 3998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 3998s # #else /* !G_ENABLE_DEBUG */ 3998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 3998s # * Do not access GValues directly in your code. Instead, use the 3998s # * g_value_get_*() functions 3998s # */ 3998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 3998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 3998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 3998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 3998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 3998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 3998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 3998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 3998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 3998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 3998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 3998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 3998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 3998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 3998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 3998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 3998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 3998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 3998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 3998s # #endif /* !G_ENABLE_DEBUG */ 3998s # 3998s # /* VOID:STRING (/tmp/tmpb13spqbq/tmpmcqut0s2.list:1) */ 3998s # void 3998s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 3998s # GValue *return_value G_GNUC_UNUSED, 3998s # guint n_param_values, 3998s # const GValue *param_values, 3998s # gpointer invocation_hint G_GNUC_UNUSED, 3998s # gpointer marshal_data) 3998s # { 3998s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 3998s # gpointer arg1, 3998s # gpointer data2); 3998s # GCClosure *cc = (GCClosure *) closure; 3998s # gpointer data1, data2; 3998s # GMarshalFunc_VOID__STRING callback; 3998s # 3998s # g_return_if_fail (n_param_values == 2); 3998s # 3998s # if (G_CCLOSURE_SWAP_DATA (closure)) 3998s # { 3998s # data1 = closure->data; 3998s # data2 = g_value_peek_pointer (param_values + 0); 3998s # } 3998s # else 3998s # { 3998s # data1 = g_value_peek_pointer (param_values + 0); 3998s # data2 = closure->data; 3998s # } 3998s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 3998s # 3998s # callback (data1, 3998s # g_marshal_value_peek_string (param_values + 1), 3998s # data2); 3998s # } 3998s # 3998s # void 3998s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 3998s # GValue *return_value G_GNUC_UNUSED, 3998s # gpointer instance, 3998s # va_list args, 3998s # gpointer marshal_data, 3998s # int n_params, 3998s # GType *param_types) 3998s # { 3998s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 3998s # gpointer arg1, 3998s # gpointer data2); 3998s # GCClosure *cc = (GCClosure *) closure; 3998s # gpointer data1, data2; 3998s # GMarshalFunc_VOID__STRING callback; 3998s # gpointer arg0; 3998s # va_list args_copy; 3998s # 3998s # va_copy (args_copy, args); 3998s # arg0 = (gpointer) va_arg (args_copy, gpointer); 3998s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 3998s # arg0 = g_strdup (arg0); 3998s # va_end (args_copy); 3998s # 3998s # 3998s # if (G_CCLOSURE_SWAP_DATA (closure)) 3998s # { 3998s # data1 = closure->data; 3998s # data2 = instance; 3998s # } 3998s # else 3998s # { 3998s # data1 = instance; 3998s # data2 = closure->data; 3998s # } 3998s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 3998s # 3998s # callback (data1, 3998s # arg0, 3998s # data2); 3998s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 3998s # g_free (arg0); 3998s # } 3998s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 3998s # tmpdir: /tmp/tmpoaz8g5iv 3998s # genmarshal: /usr/bin/glib-genmarshal 3998s # /tmp/tmpoaz8g5iv/tmpq_1kvspj.list: VOID:VARIANT 3998s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpoaz8g5iv/tmpq_1kvspj.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 3998s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3998s # 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. */ 3998s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 3998s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 3998s # 3998s # G_BEGIN_DECLS 3998s # 3998s # /* VOID:VARIANT (/tmp/tmpoaz8g5iv/tmpq_1kvspj.list:1) */ 3998s # extern 3998s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 3998s # GValue *return_value, 3998s # guint n_param_values, 3998s # const GValue *param_values, 3998s # gpointer invocation_hint, 3998s # gpointer marshal_data); 3998s # extern 3998s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 3998s # GValue *return_value, 3998s # gpointer instance, 3998s # va_list args, 3998s # gpointer marshal_data, 3998s # int n_params, 3998s # GType *param_types); 3998s # 3998s # 3998s # G_END_DECLS 3998s # 3998s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 3998s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpoaz8g5iv/tmpq_1kvspj.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 3998s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 3998s # 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. */ 3998s # #ifdef G_ENABLE_DEBUG 3998s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 3998s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 3998s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 3998s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 3998s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 3998s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 3998s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 3998s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 3998s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 3998s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 3998s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 3998s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 3998s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 3998s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 3998s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 3998s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 3998s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 3998s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 3998s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 3998s # #else /* !G_ENABLE_DEBUG */ 3998s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 3998s # * Do not access GValues directly in your code. Instead, use the 3998s # * g_value_get_*() functions 3998s # */ 3998s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 3998s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 3998s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 3998s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 3998s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 3998s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 3998s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 3998s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 3998s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 3998s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 3998s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 3998s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 3998s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 3998s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 3998s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 3998s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 3998s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 3998s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 3998s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 3998s # #endif /* !G_ENABLE_DEBUG */ 3998s # 3998s # /* VOID:VARIANT (/tmp/tmpoaz8g5iv/tmpq_1kvspj.list:1) */ 3998s # void 3998s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 3998s # GValue *return_value G_GNUC_UNUSED, 3998s # guint n_param_values, 3998s # const GValue *param_values, 3998s # gpointer invocation_hint G_GNUC_UNUSED, 3998s # gpointer marshal_data) 3998s # { 3998s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 3998s # gpointer arg1, 3998s # gpointer data2); 3998s # GCClosure *cc = (GCClosure *) closure; 3998s # gpointer data1, data2; 3998s # GMarshalFunc_VOID__VARIANT callback; 3998s # 3998s # g_return_if_fail (n_param_values == 2); 3998s # 3998s # if (G_CCLOSURE_SWAP_DATA (closure)) 3998s # { 3998s # data1 = closure->data; 3998s # data2 = g_value_peek_pointer (param_values + 0); 3998s # } 3998s # else 3998s # { 3998s # data1 = g_value_peek_pointer (param_values + 0); 3998s # data2 = closure->data; 3998s # } 3998s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 3998s # 3998s # callback (data1, 3998s # g_marshal_value_peek_variant (param_values + 1), 3998s # data2); 3998s # } 3998s # 3998s # void 3998s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 3998s # GValue *return_value G_GNUC_UNUSED, 3998s # gpointer instance, 3998s # va_list args, 3998s # gpointer marshal_data, 3998s # int n_params, 3998s # GType *param_types) 3998s # { 3998s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 3998s # gpointer arg1, 3998s # gpointer data2); 3998s # GCClosure *cc = (GCClosure *) closure; 3998s # gpointer data1, data2; 3998s # GMarshalFunc_VOID__VARIANT callback; 3998s # gpointer arg0; 3998s # va_list args_copy; 3998s # 3998s # va_copy (args_copy, args); 3998s # arg0 = (gpointer) va_arg (args_copy, gpointer); 3998s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 3998s # arg0 = g_variant_ref_sink (arg0); 3998s # va_end (args_copy); 3998s # 3998s # 3998s # if (G_CCLOSURE_SWAP_DATA (closure)) 3998s # { 3998s # data1 = closure->data; 3998s # data2 = instance; 3998s # } 3998s # else 3998s # { 3998s # data1 = instance; 3998s # data2 = closure->data; 3998s # } 3998s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 3998s # 3998s # callback (data1, 3998s # arg0, 3998s # data2); 3998s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 3998s # g_variant_unref (arg0); 3998s # } 3998s 1..8 3998s ok - glib/genmarshal.py.test 3998s # Running test: glib/contenttype.test 3998s TAP version 13 3998s # random seed: R02S2761a5758bdaa719bdad39fb5b6fcdef 3998s 1..13 3998s # Start of contenttype tests 3998s ok 1 /contenttype/guess 3998s ok 2 /contenttype/guess_svg_from_data 3998s ok 3 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 3998s ok 4 /contenttype/unknown 3998s ok 5 /contenttype/subtype 3998s ok 6 /contenttype/list 3998s ok 7 /contenttype/executable 3998s ok 8 /contenttype/description 3998s ok 9 /contenttype/icon 3998s ok 10 /contenttype/symbolic-icon 3998s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 3998s ok 11 /contenttype/tree 3998s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 3998s ok 12 /contenttype/tree_invalid_encoding 3998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 3998s ok 13 /contenttype/test_type_is_a_special_case 3998s # End of contenttype tests 3998s ok - glib/contenttype.test 3998s # Running test: glib/642026.test 3998s TAP version 13 3998s # random seed: R02Scb12b3c115ba234b1f2b6398af1eb78c 3998s 1..1 3998s # Start of glib tests 3998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 3998s ok 1 /glib/642026 3998s # End of glib tests 3998s ok - glib/642026.test 3998s # Running test: glib/gobject-private.test 3998s TAP version 13 3998s # random seed: R02Seb9873a8f815970b736a6af1a178142c 3998s 1..3 3998s # Start of private tests 3998s ok 1 /private/instance 3998s ok 2 /private/derived-instance 3998s ok 3 /private/mixed-derived-instance 3998s # End of private tests 3998s ok - glib/gobject-private.test 3998s # Running test: glib/properties.test 3998s TAP version 13 3998s # random seed: R02S73b16363e49d893eb259cad2c7493e29 3998s 1..13 3998s # Start of properties tests 3998s ok 1 /properties/install 3998s ok 2 /properties/install-many 3998s ok 3 /properties/notify 3998s ok 4 /properties/notify-queue 3998s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 3998s ok 5 /properties/construct 3998s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 3998s # Test g_object_get_property with an initialized value 3998s # Test g_object_get_property with an uninitialized value 3998s # Test g_object_get_property with a transformable value 3998s ok 6 /properties/get-property 3998s ok 7 /properties/testv_with_no_properties 3998s ok 8 /properties/testv_with_valid_properties 3998s ok 9 /properties/testv_with_invalid_property_type 3998s ok 10 /properties/testv_with_invalid_property_names 3998s ok 11 /properties/testv_getv 3998s ok 12 /properties/testv_notify_queue 3998s # Start of set-property tests 3998s # Start of variant tests 3998s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 3998s ok 13 /properties/set-property/variant/floating 3998s # End of variant tests 3998s # End of set-property tests 3998s # End of properties tests 3998s ok - glib/properties.test 3998s # Running test: glib/sequence.test 3998s TAP version 13 3998s # random seed: R02S495f2528debbb5a6ae2292e90fc288fa 3998s 1..16 3998s # Start of sequence tests 3998s ok 1 /sequence/out-of-range-jump 3998s ok 2 /sequence/iter-move 3999s ok 3 /sequence/insert-sorted-non-pointer 3999s ok 4 /sequence/stable-sort 3999s ok 5 /sequence/is_empty 3999s # Start of random tests 4000s ok 6 /sequence/random/seed:825541564 4000s # slow test /sequence/random/seed:825541564 executed in 1.34 secs 4001s ok 7 /sequence/random/seed:801678400 4001s # slow test /sequence/random/seed:801678400 executed in 1.26 secs 4002s # Executing: glib/sequence.test 4003s ok 8 /sequence/random/seed:1477639090 4003s # slow test /sequence/random/seed:1477639090 executed in 1.32 secs 4004s ok 9 /sequence/random/seed:3369132895 4004s # slow test /sequence/random/seed:3369132895 executed in 1.20 secs 4005s ok 10 /sequence/random/seed:1192944867 4005s # slow test /sequence/random/seed:1192944867 executed in 1.28 secs 4007s ok 11 /sequence/random/seed:770458294 4007s # slow test /sequence/random/seed:770458294 executed in 1.34 secs 4007s # Executing: glib/sequence.test 4008s ok 12 /sequence/random/seed:1099575817 4008s # slow test /sequence/random/seed:1099575817 executed in 1.28 secs 4009s ok 13 /sequence/random/seed:590523467 4009s # slow test /sequence/random/seed:590523467 executed in 1.33 secs 4010s ok 14 /sequence/random/seed:3583571454 4010s # slow test /sequence/random/seed:3583571454 executed in 1.32 secs 4012s ok 15 /sequence/random/seed:579241222 4012s # slow test /sequence/random/seed:579241222 executed in 1.34 secs 4012s # Executing: glib/sequence.test 4013s ok 16 /sequence/random/seed:1157766809 4013s # slow test /sequence/random/seed:1157766809 executed in 1.32 secs 4013s # End of random tests 4013s # End of sequence tests 4013s ok - glib/sequence.test 4013s # Running test: glib/gdbus-peer-object-manager.test 4013s TAP version 13 4013s # random seed: R02Sd35342570b2b01f62944dab96e4f64ec 4013s 1..2 4013s # Start of gdbus tests 4013s # Start of peer-object-manager tests 4013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/normal/.dirs/home 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/normal/.dirs/cache 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/normal/.dirs/system-config2 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/normal/.dirs/config 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/normal/.dirs/system-data2 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/normal/.dirs/data 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/normal/.dirs/state 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/normal/.dirs/runtime 4013s ok 1 /gdbus/peer-object-manager/normal 4013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/root/.dirs/home 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/root/.dirs/cache 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/root/.dirs/system-config2 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/root/.dirs/config 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/root/.dirs/system-data2 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/root/.dirs/data 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/root/.dirs/state 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_C6QYJ2/gdbus/peer-object-manager/root/.dirs/runtime 4013s ok 2 /gdbus/peer-object-manager/root 4013s # End of peer-object-manager tests 4013s # End of gdbus tests 4013s ok - glib/gdbus-peer-object-manager.test 4013s # Running test: glib/debugcontroller.test 4013s TAP version 13 4013s # random seed: R02S8a661821416d9856c0c5c99cc582c3fb 4013s 1..3 4013s # Start of debug-controller tests 4013s # Start of dbus tests 4013s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 4013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4013s # GLib-GIO-DEBUG: Debug output enabled 4013s # GLib-GIO-DEBUG: Debug output disabled 4013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4013s ok 1 /debug-controller/dbus/basic 4013s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 4013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4013s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4013s ok 2 /debug-controller/dbus/duplicate 4013s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 4013s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 4013s # End of dbus tests 4013s # End of debug-controller tests 4013s ok - glib/debugcontroller.test 4013s # Running test: glib/tls-bindings.test 4013s TAP version 13 4013s # random seed: R02S2e2ac0c9621770c4c862e28e5c4442a6 4013s 1..2 4013s # Start of tls-connection tests 4013s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 4013s ok 1 /tls-connection/get-tls-channel-binding 4013s ok 2 /tls-connection/get-dtls-channel-binding 4013s # End of tls-connection tests 4013s ok - glib/tls-bindings.test 4013s # Running test: glib/gdbus-proxy.test 4013s TAP version 13 4013s # random seed: R02Sb4f0d6d78f94e2ef12d9dac1066c7351 4013s 1..5 4013s # Start of gdbus tests 4013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/.dirs/home 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/.dirs/cache 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/.dirs/system-config2 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/.dirs/config 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/.dirs/system-data2 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/.dirs/data 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/.dirs/state 4013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/.dirs/runtime 4013s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4015s ok 1 /gdbus/proxy 4015s # slow test /gdbus/proxy executed in 1.78 secs 4015s # Start of proxy tests 4015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-properties/.dirs/home 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-properties/.dirs/cache 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-properties/.dirs/system-config2 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-properties/.dirs/config 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-properties/.dirs/system-data2 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-properties/.dirs/data 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-properties/.dirs/state 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-properties/.dirs/runtime 4015s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4015s ok 2 /gdbus/proxy/no-properties 4015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/wellknown-noauto/.dirs/home 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/wellknown-noauto/.dirs/cache 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/wellknown-noauto/.dirs/system-config2 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/wellknown-noauto/.dirs/config 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/wellknown-noauto/.dirs/system-data2 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/wellknown-noauto/.dirs/data 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/wellknown-noauto/.dirs/state 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/wellknown-noauto/.dirs/runtime 4015s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4015s ok 3 /gdbus/proxy/wellknown-noauto 4015s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/async/.dirs/home 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/async/.dirs/cache 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/async/.dirs/system-config2 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/async/.dirs/config 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/async/.dirs/system-data2 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/async/.dirs/data 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/async/.dirs/state 4015s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/async/.dirs/runtime 4015s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4017s ok 4 /gdbus/proxy/async 4017s # slow test /gdbus/proxy/async executed in 1.77 secs 4017s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-match-rule/.dirs/home 4017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-match-rule/.dirs/cache 4017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-match-rule/.dirs/system-config2 4017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-match-rule/.dirs/config 4017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-match-rule/.dirs/system-data2 4017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-match-rule/.dirs/data 4017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-match-rule/.dirs/state 4017s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_L87VJ2/gdbus/proxy/no-match-rule/.dirs/runtime 4017s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 4017s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 4017s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4017s # Executing: glib/gdbus-proxy.test 4019s ok 5 /gdbus/proxy/no-match-rule 4019s # slow test /gdbus/proxy/no-match-rule executed in 1.79 secs 4019s # End of proxy tests 4019s # End of gdbus tests 4019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4019s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4019s ok - glib/gdbus-proxy.test 4019s # Running test: glib/closure-refcount.test 4019s TAP version 13 4019s # random seed: R02S986f754eb49197dbb8c52749619786cf 4019s 1..1 4019s # Start of closure tests 4019s # Init 0xb66b554251d0 4019s # Yielding from main thread 4019s # Yielding from main thread 4019s # Yielding from main thread 4019s # Yielding from thread1 4019s # Yielding from thread2 4019s # Yielding from main thread 4019s # Yielding from main thread 4019s # Yielding from main thread 4019s # Yielding from thread1 4019s # Yielding from thread2 4019s # Yielding from main thread 4019s # Yielding from main thread 4019s # Yielding from main thread 4019s # Yielding from thread1 4019s # Yielding from thread2 4019s # Stopping 4019s # Stopped 4019s ok 1 /closure/refcount 4019s # slow test /closure/refcount executed in 0.80 secs 4019s # End of closure tests 4019s ok - glib/closure-refcount.test 4019s # Running test: glib/performance.test 4020s Running test simple-construction 4022s # Executing: glib/performance.test 4026s Millions of constructed objects per second: 3.653 4026s Running test simple-construction1 4027s # Executing: glib/performance.test 4032s Millions of constructed objects per second: 28.202 4032s Running test complex-construction 4032s # Executing: glib/performance.test 4036s Millions of constructed objects per second: 1.704 4036s Running test complex-construction1 4037s # Executing: glib/performance.test 4042s Millions of constructed objects per second: 2.753 4042s Running test complex-construction2 4042s # Executing: glib/performance.test 4047s # Executing: glib/performance.test 4047s Millions of constructed objects per second: 2.901 4047s Running test finalization 4049s Millions of finalized objects per second: 0.849 4049s Running test type-check 4049s Million type checks per second: inf 4049s Running test emit-unhandled 4051s Emissions per second: 1176874 4051s Running test emit-unhandled-empty 4052s # Executing: glib/performance.test 4052s Emissions per second: 6936850 4052s Running test emit-unhandled-generic 4053s Emissions per second: 1619617 4053s Running test emit-unhandled-generic-empty 4055s Emissions per second: 7032511 4055s Running test emit-unhandled-args 4056s Emissions per second: 1019128 4056s Running test emit-handled 4057s # Executing: glib/performance.test 4058s Emissions per second: 822976 4058s Running test emit-handled-empty 4060s Emissions per second: 849370 4060s Running test emit-handled-generic 4061s Emissions per second: 832366 4061s Running test emit-handled-generic-empty 4062s # Executing: glib/performance.test 4063s Emissions per second: 1436657 4063s Running test emit-handled-args 4064s Emissions per second: 751050 4064s Running test notify-unhandled 4066s Notify (unhandled) per second: 7037539 4066s Running test notify-by-pspec-unhandled 4067s Notify (unhandled) per second: 26524058 4067s Running test notify-handled 4067s # Executing: glib/performance.test 4069s Notify per second: 465880 4069s Running test notify-by-pspec-handled 4071s Notify per second: 515236 4071s Running test property-set 4072s # Executing: glib/performance.test 4072s Property set per second: 2569965 4072s Running test property-get 4073s Property get per second: 2505631 4073s Running test refcount 4077s # Executing: glib/performance.test 4078s Million refs+unref per second: 7.39 4078s ok - glib/performance.test 4078s # Running test: glib/gdbus-message.test 4078s TAP version 13 4078s # random seed: R02S89e21cfed9fe384b4a1394838ab38b46 4078s 1..3 4078s # Start of gdbus tests 4078s # Start of message tests 4078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/lock/.dirs/home 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/lock/.dirs/cache 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_4HKWJ2/gdbus/message/lock/.dirs/system-config2 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/lock/.dirs/config 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_4HKWJ2/gdbus/message/lock/.dirs/system-data2 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/lock/.dirs/data 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/lock/.dirs/state 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/lock/.dirs/runtime 4078s ok 1 /gdbus/message/lock 4078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/copy/.dirs/home 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/copy/.dirs/cache 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_4HKWJ2/gdbus/message/copy/.dirs/system-config2 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/copy/.dirs/config 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_4HKWJ2/gdbus/message/copy/.dirs/system-data2 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/copy/.dirs/data 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/copy/.dirs/state 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/copy/.dirs/runtime 4078s ok 2 /gdbus/message/copy 4078s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/bytes-needed/.dirs/home 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/bytes-needed/.dirs/cache 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_4HKWJ2/gdbus/message/bytes-needed/.dirs/system-config2 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/bytes-needed/.dirs/config 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_4HKWJ2/gdbus/message/bytes-needed/.dirs/system-data2 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/bytes-needed/.dirs/data 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/bytes-needed/.dirs/state 4078s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_4HKWJ2/gdbus/message/bytes-needed/.dirs/runtime 4078s # Vector: 0 4078s # Vector: 1 4078s # Vector: 2 4078s # Vector: 3 4078s # Vector: 4 4078s # Vector: 5 4078s ok 3 /gdbus/message/bytes-needed 4078s # End of message tests 4078s # End of gdbus tests 4078s ok - glib/gdbus-message.test 4078s # Running test: glib/memory-output-stream.test 4078s TAP version 13 4078s # random seed: R02S7d821b83f8625e87120ec61b157b0c0c 4078s 1..10 4078s # Start of memory-output-stream tests 4078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 4078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 4078s ok 1 /memory-output-stream/truncate 4078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 4078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 4078s ok 2 /memory-output-stream/get-data-size 4078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 4078s ok 3 /memory-output-stream/properties 4078s ok 4 /memory-output-stream/write-bytes 4078s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 4078s ok 5 /memory-output-stream/write-null 4078s ok 6 /memory-output-stream/writev 4078s ok 7 /memory-output-stream/writev_nonblocking 4078s ok 8 /memory-output-stream/steal_as_bytes 4078s # Start of seek tests 4078s ok 9 /memory-output-stream/seek/fixed 4078s ok 10 /memory-output-stream/seek/resizable 4078s # End of seek tests 4078s # End of memory-output-stream tests 4078s ok - glib/memory-output-stream.test 4078s # Running test: glib/buffered-output-stream.test 4078s TAP version 13 4078s # random seed: R02Sbb31c8ba19196d3196a212168493f22d 4078s 1..5 4078s # Start of buffered-output-stream tests 4078s ok 1 /buffered-output-stream/write 4078s ok 2 /buffered-output-stream/grow 4078s ok 3 /buffered-output-stream/seek 4078s ok 4 /buffered-output-stream/truncate 4078s # End of buffered-output-stream tests 4078s # Start of filter-output-stream tests 4078s ok 5 /filter-output-stream/close 4078s # End of filter-output-stream tests 4078s ok - glib/buffered-output-stream.test 4078s # Running test: glib/hash.test 4078s TAP version 13 4078s # random seed: R02S66e6025d5a8cd78dee2b930f5f9e7b60 4078s 1..34 4078s # Start of hash tests 4078s ok 1 /hash/misc 4078s ok 2 /hash/one 4078s ok 3 /hash/honeyman 4078s ok 4 /hash/direct 4078s ok 5 /hash/direct2 4078s ok 6 /hash/int 4078s ok 7 /hash/int64 4078s ok 8 /hash/double 4078s ok 9 /hash/string 4078s ok 10 /hash/set 4078s ok 11 /hash/set-ref 4078s ok 12 /hash/ref 4078s ok 13 /hash/remove-all 4078s ok 14 /hash/recursive-remove-all 4078s ok 15 /hash/find 4078s ok 16 /hash/foreach 4078s ok 17 /hash/foreach-steal 4078s ok 18 /hash/steal-extended 4078s ok 19 /hash/steal-all-keys 4078s ok 20 /hash/steal-all-values 4078s ok 21 /hash/lookup-extended 4078s ok 22 /hash/new-similar 4078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 4078s ok 23 /hash/lookup-null-key 4078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 4078s ok 24 /hash/destroy-modify 4078s ok 25 /hash/consistency 4078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 4078s ok 26 /hash/iter-replace 4078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 4078s ok 27 /hash/set-insert-corruption 4078s ok 28 /hash/set-to-strv 4078s ok 29 /hash/get-keys-as-ptr-array 4078s ok 30 /hash/get-values-as-ptr-array 4078s ok 31 /hash/primes 4078s # Start of int64 tests 4078s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 4078s ok 32 /hash/int64/collisions 4078s # End of int64 tests 4078s # Start of double tests 4078s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 4078s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 4078s ok 33 /hash/double/collisions 4078s # End of double tests 4078s # Start of recursive-remove-all tests 4078s # End of recursive-remove-all tests 4078s # Start of steal-extended tests 4078s ok 34 /hash/steal-extended/optional 4078s # End of steal-extended tests 4078s # End of hash tests 4078s ok - glib/hash.test 4078s # Running test: glib/cxx-03.test 4078s TAP version 13 4078s # random seed: R02S920f6c0b3a3ea4457938f7485e58388c 4078s 1..2 4078s # Start of gtask tests 4078s # 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. 4078s ok 1 /gtask/name 4078s # Start of name tests 4078s # 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. 4078s ok 2 /gtask/name/macro-wrapper 4078s # End of name tests 4078s # End of gtask tests 4078s ok - glib/cxx-03.test 4078s # Running test: glib/regex.test 4078s TAP version 13 4078s # random seed: R02S69420e90ed444029a27fbd0ae71a1886 4078s 1..848 4078s # Start of regex tests 4078s ok 1 /regex/properties 4078s ok 2 /regex/class 4078s ok 3 /regex/lookahead 4078s ok 4 /regex/lookbehind 4078s ok 5 /regex/subpattern 4078s ok 6 /regex/condition 4078s ok 7 /regex/recursion 4078s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 4078s ok 8 /regex/multiline 4078s ok 9 /regex/explicit-crlf 4078s ok 10 /regex/max-lookbehind 4078s ok 11 /regex/compile-errors 4078s ok 12 /regex/jit-unsupported-matching 4078s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 4078s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 4078s ok 13 /regex/unmatched-named-subpattern 4078s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 4078s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 4078s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 4079s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 4079s ok 14 /regex/compiled-regex-after-jit-failure 4079s # Start of new tests 4079s ok 15 /regex/new/1 4079s ok 16 /regex/new/2 4079s ok 17 /regex/new/3 4079s ok 18 /regex/new/4 4079s ok 19 /regex/new/5 4079s ok 20 /regex/new/6 4079s ok 21 /regex/new/7 4079s ok 22 /regex/new/8 4079s ok 23 /regex/new/9 4079s ok 24 /regex/new/10 4079s ok 25 /regex/new/11 4079s ok 26 /regex/new/12 4079s ok 27 /regex/new/13 4079s ok 28 /regex/new/14 4079s ok 29 /regex/new/15 4079s ok 30 /regex/new/16 4079s ok 31 /regex/new/17 4079s ok 32 /regex/new/18 4079s ok 33 /regex/new/19 4079s ok 34 /regex/new/71 4079s ok 35 /regex/new/80 4079s ok 36 /regex/new/82 4079s # End of new tests 4079s # Start of new-check-flags tests 4079s ok 37 /regex/new-check-flags/20 4079s ok 38 /regex/new-check-flags/21 4079s ok 39 /regex/new-check-flags/22 4079s ok 40 /regex/new-check-flags/23 4079s ok 41 /regex/new-check-flags/24 4079s ok 42 /regex/new-check-flags/25 4079s ok 43 /regex/new-check-flags/26 4079s ok 44 /regex/new-check-flags/27 4079s ok 45 /regex/new-check-flags/28 4079s ok 46 /regex/new-check-flags/29 4079s ok 47 /regex/new-check-flags/30 4079s ok 48 /regex/new-check-flags/31 4079s ok 49 /regex/new-check-flags/32 4079s ok 50 /regex/new-check-flags/33 4079s ok 51 /regex/new-check-flags/34 4079s ok 52 /regex/new-check-flags/35 4079s ok 53 /regex/new-check-flags/36 4079s # End of new-check-flags tests 4079s # Start of new-fail tests 4079s ok 54 /regex/new-fail/37 4079s ok 55 /regex/new-fail/38 4079s ok 56 /regex/new-fail/39 4079s ok 57 /regex/new-fail/40 4079s ok 58 /regex/new-fail/41 4079s ok 59 /regex/new-fail/42 4079s ok 60 /regex/new-fail/43 4079s ok 61 /regex/new-fail/44 4079s ok 62 /regex/new-fail/45 4079s ok 63 /regex/new-fail/46 4079s ok 64 /regex/new-fail/47 4079s ok 65 /regex/new-fail/48 4079s ok 66 /regex/new-fail/49 4079s ok 67 /regex/new-fail/50 4079s ok 68 /regex/new-fail/51 4079s ok 69 /regex/new-fail/52 4079s ok 70 /regex/new-fail/53 4079s ok 71 /regex/new-fail/54 4079s ok 72 /regex/new-fail/55 4079s ok 73 /regex/new-fail/56 4079s ok 74 /regex/new-fail/57 4079s ok 75 /regex/new-fail/58 4079s ok 76 /regex/new-fail/59 4079s ok 77 /regex/new-fail/60 4079s ok 78 /regex/new-fail/61 4079s ok 79 /regex/new-fail/62 4079s ok 80 /regex/new-fail/63 4079s ok 81 /regex/new-fail/64 4079s ok 82 /regex/new-fail/65 4079s ok 83 /regex/new-fail/66 4079s ok 84 /regex/new-fail/67 4079s ok 85 /regex/new-fail/68 4079s ok 86 /regex/new-fail/69 4079s ok 87 /regex/new-fail/70 4079s ok 88 /regex/new-fail/72 4079s ok 89 /regex/new-fail/73 4079s ok 90 /regex/new-fail/74 4079s ok 91 /regex/new-fail/75 4079s ok 92 /regex/new-fail/76 4079s ok 93 /regex/new-fail/77 4079s ok 94 /regex/new-fail/78 4079s ok 95 /regex/new-fail/79 4079s ok 96 /regex/new-fail/81 4079s ok 97 /regex/new-fail/83 4079s ok 98 /regex/new-fail/84 4079s ok 99 /regex/new-fail/85 4079s ok 100 /regex/new-fail/86 4079s ok 101 /regex/new-fail/87 4079s ok 102 /regex/new-fail/88 4079s ok 103 /regex/new-fail/89 4079s ok 104 /regex/new-fail/90 4079s ok 105 /regex/new-fail/91 4079s # End of new-fail tests 4079s # Start of match-simple tests 4079s ok 106 /regex/match-simple/92 4079s ok 107 /regex/match-simple/93 4079s ok 108 /regex/match-simple/94 4079s ok 109 /regex/match-simple/95 4079s ok 110 /regex/match-simple/96 4079s ok 111 /regex/match-simple/97 4079s ok 112 /regex/match-simple/98 4079s ok 113 /regex/match-simple/99 4079s ok 114 /regex/match-simple/100 4079s ok 115 /regex/match-simple/101 4079s ok 116 /regex/match-simple/102 4079s ok 117 /regex/match-simple/103 4079s ok 118 /regex/match-simple/104 4079s ok 119 /regex/match-simple/105 4079s ok 120 /regex/match-simple/106 4079s ok 121 /regex/match-simple/107 4079s ok 122 /regex/match-simple/108 4079s ok 123 /regex/match-simple/109 4079s ok 124 /regex/match-simple/110 4079s ok 125 /regex/match-simple/111 4079s ok 126 /regex/match-simple/112 4079s ok 127 /regex/match-simple/113 4079s ok 128 /regex/match-simple/114 4079s ok 129 /regex/match-simple/115 4079s ok 130 /regex/match-simple/116 4079s ok 131 /regex/match-simple/117 4079s ok 132 /regex/match-simple/118 4079s ok 133 /regex/match-simple/119 4079s ok 134 /regex/match-simple/120 4079s ok 135 /regex/match-simple/121 4079s ok 136 /regex/match-simple/122 4079s ok 137 /regex/match-simple/123 4079s ok 138 /regex/match-simple/124 4079s ok 139 /regex/match-simple/125 4079s ok 140 /regex/match-simple/126 4079s ok 141 /regex/match-simple/127 4079s ok 142 /regex/match-simple/128 4079s ok 143 /regex/match-simple/129 4079s ok 144 /regex/match-simple/130 4079s ok 145 /regex/match-simple/131 4079s ok 146 /regex/match-simple/132 4079s ok 147 /regex/match-simple/133 4079s ok 148 /regex/match-simple/134 4079s ok 149 /regex/match-simple/135 4079s ok 150 /regex/match-simple/136 4079s ok 151 /regex/match-simple/137 4079s ok 152 /regex/match-simple/138 4079s ok 153 /regex/match-simple/139 4079s ok 154 /regex/match-simple/140 4079s ok 155 /regex/match-simple/141 4079s ok 156 /regex/match-simple/142 4079s ok 157 /regex/match-simple/143 4079s ok 158 /regex/match-simple/144 4079s ok 159 /regex/match-simple/145 4079s ok 160 /regex/match-simple/146 4079s ok 161 /regex/match-simple/147 4079s ok 162 /regex/match-simple/148 4079s ok 163 /regex/match-simple/149 4079s ok 164 /regex/match-simple/150 4079s ok 165 /regex/match-simple/151 4079s ok 166 /regex/match-simple/152 4079s ok 167 /regex/match-simple/153 4079s ok 168 /regex/match-simple/154 4079s ok 169 /regex/match-simple/155 4079s ok 170 /regex/match-simple/156 4079s ok 171 /regex/match-simple/157 4079s ok 172 /regex/match-simple/158 4079s ok 173 /regex/match-simple/159 4079s ok 174 /regex/match-simple/160 4079s ok 175 /regex/match-simple/161 4079s ok 176 /regex/match-simple/162 4079s ok 177 /regex/match-simple/163 4079s ok 178 /regex/match-simple/164 4079s # End of match-simple tests 4079s # Start of match-simple-optimized tests 4079s ok 179 /regex/match-simple-optimized/92 4079s ok 180 /regex/match-simple-optimized/93 4079s ok 181 /regex/match-simple-optimized/94 4079s ok 182 /regex/match-simple-optimized/95 4079s ok 183 /regex/match-simple-optimized/96 4079s ok 184 /regex/match-simple-optimized/97 4079s ok 185 /regex/match-simple-optimized/98 4079s ok 186 /regex/match-simple-optimized/99 4079s ok 187 /regex/match-simple-optimized/100 4079s ok 188 /regex/match-simple-optimized/101 4079s ok 189 /regex/match-simple-optimized/102 4079s ok 190 /regex/match-simple-optimized/103 4079s ok 191 /regex/match-simple-optimized/104 4079s ok 192 /regex/match-simple-optimized/105 4079s ok 193 /regex/match-simple-optimized/106 4079s ok 194 /regex/match-simple-optimized/107 4079s ok 195 /regex/match-simple-optimized/108 4079s ok 196 /regex/match-simple-optimized/109 4079s ok 197 /regex/match-simple-optimized/110 4079s ok 198 /regex/match-simple-optimized/111 4079s ok 199 /regex/match-simple-optimized/112 4079s ok 200 /regex/match-simple-optimized/113 4079s ok 201 /regex/match-simple-optimized/114 4079s ok 202 /regex/match-simple-optimized/115 4079s ok 203 /regex/match-simple-optimized/116 4079s ok 204 /regex/match-simple-optimized/117 4079s ok 205 /regex/match-simple-optimized/118 4079s ok 206 /regex/match-simple-optimized/119 4079s ok 207 /regex/match-simple-optimized/120 4079s ok 208 /regex/match-simple-optimized/121 4079s ok 209 /regex/match-simple-optimized/122 4079s ok 210 /regex/match-simple-optimized/123 4079s ok 211 /regex/match-simple-optimized/124 4079s ok 212 /regex/match-simple-optimized/125 4079s ok 213 /regex/match-simple-optimized/126 4079s ok 214 /regex/match-simple-optimized/127 4079s ok 215 /regex/match-simple-optimized/128 4079s ok 216 /regex/match-simple-optimized/129 4079s ok 217 /regex/match-simple-optimized/130 4079s ok 218 /regex/match-simple-optimized/131 4079s ok 219 /regex/match-simple-optimized/132 4079s ok 220 /regex/match-simple-optimized/133 4079s ok 221 /regex/match-simple-optimized/134 4079s ok 222 /regex/match-simple-optimized/135 4079s ok 223 /regex/match-simple-optimized/136 4079s ok 224 /regex/match-simple-optimized/137 4079s ok 225 /regex/match-simple-optimized/138 4079s ok 226 /regex/match-simple-optimized/139 4079s ok 227 /regex/match-simple-optimized/140 4079s ok 228 /regex/match-simple-optimized/141 4079s ok 229 /regex/match-simple-optimized/142 4079s ok 230 /regex/match-simple-optimized/143 4079s ok 231 /regex/match-simple-optimized/144 4079s ok 232 /regex/match-simple-optimized/145 4079s ok 233 /regex/match-simple-optimized/146 4079s ok 234 /regex/match-simple-optimized/147 4079s ok 235 /regex/match-simple-optimized/148 4079s ok 236 /regex/match-simple-optimized/149 4079s ok 237 /regex/match-simple-optimized/150 4079s ok 238 /regex/match-simple-optimized/151 4079s ok 239 /regex/match-simple-optimized/152 4079s ok 240 /regex/match-simple-optimized/153 4079s ok 241 /regex/match-simple-optimized/154 4079s ok 242 /regex/match-simple-optimized/155 4079s ok 243 /regex/match-simple-optimized/156 4079s ok 244 /regex/match-simple-optimized/157 4079s ok 245 /regex/match-simple-optimized/158 4079s ok 246 /regex/match-simple-optimized/159 4079s ok 247 /regex/match-simple-optimized/160 4079s ok 248 /regex/match-simple-optimized/161 4079s ok 249 /regex/match-simple-optimized/162 4079s ok 250 /regex/match-simple-optimized/163 4079s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 4079s ok 251 /regex/match-simple-optimized/164 4079s # End of match-simple-optimized tests 4079s # Start of match tests 4079s ok 252 /regex/match/165 4079s ok 253 /regex/match/166 4079s ok 254 /regex/match/167 4079s ok 255 /regex/match/168 4079s ok 256 /regex/match/169 4079s ok 257 /regex/match/170 4079s ok 258 /regex/match/171 4079s ok 259 /regex/match/172 4079s ok 260 /regex/match/173 4079s ok 261 /regex/match/174 4079s ok 262 /regex/match/175 4079s ok 263 /regex/match/176 4079s ok 264 /regex/match/177 4079s ok 265 /regex/match/178 4079s ok 266 /regex/match/179 4079s ok 267 /regex/match/180 4079s ok 268 /regex/match/181 4079s ok 269 /regex/match/182 4079s ok 270 /regex/match/183 4079s ok 271 /regex/match/184 4079s ok 272 /regex/match/185 4079s ok 273 /regex/match/186 4079s ok 274 /regex/match/187 4079s ok 275 /regex/match/188 4079s ok 276 /regex/match/189 4079s ok 277 /regex/match/190 4079s ok 278 /regex/match/191 4079s ok 279 /regex/match/192 4079s ok 280 /regex/match/193 4079s ok 281 /regex/match/194 4079s ok 282 /regex/match/195 4079s ok 283 /regex/match/196 4079s ok 284 /regex/match/197 4079s ok 285 /regex/match/198 4079s ok 286 /regex/match/199 4079s ok 287 /regex/match/200 4079s ok 288 /regex/match/201 4079s ok 289 /regex/match/202 4079s ok 290 /regex/match/203 4079s ok 291 /regex/match/204 4079s ok 292 /regex/match/205 4079s ok 293 /regex/match/206 4079s ok 294 /regex/match/207 4079s ok 295 /regex/match/208 4079s ok 296 /regex/match/209 4079s ok 297 /regex/match/210 4079s ok 298 /regex/match/211 4079s ok 299 /regex/match/212 4079s ok 300 /regex/match/213 4079s ok 301 /regex/match/214 4079s ok 302 /regex/match/215 4079s ok 303 /regex/match/216 4079s ok 304 /regex/match/217 4079s ok 305 /regex/match/218 4079s ok 306 /regex/match/219 4079s ok 307 /regex/match/220 4079s ok 308 /regex/match/221 4079s ok 309 /regex/match/222 4079s ok 310 /regex/match/223 4079s ok 311 /regex/match/224 4079s ok 312 /regex/match/225 4079s ok 313 /regex/match/226 4079s ok 314 /regex/match/227 4079s ok 315 /regex/match/228 4079s ok 316 /regex/match/229 4079s ok 317 /regex/match/230 4079s ok 318 /regex/match/231 4079s ok 319 /regex/match/232 4079s ok 320 /regex/match/233 4079s ok 321 /regex/match/234 4079s ok 322 /regex/match/235 4079s ok 323 /regex/match/236 4079s ok 324 /regex/match/237 4079s ok 325 /regex/match/238 4079s ok 326 /regex/match/239 4079s ok 327 /regex/match/240 4079s ok 328 /regex/match/241 4079s ok 329 /regex/match/242 4079s ok 330 /regex/match/243 4079s ok 331 /regex/match/244 4079s ok 332 /regex/match/245 4079s ok 333 /regex/match/246 4079s ok 334 /regex/match/partial281 4079s ok 335 /regex/match/partial282 4079s ok 336 /regex/match/partial283 4079s ok 337 /regex/match/partial284 4079s ok 338 /regex/match/partial285 4079s ok 339 /regex/match/partial286 4079s ok 340 /regex/match/partial287 4079s ok 341 /regex/match/partial288 4079s ok 342 /regex/match/partial289 4079s ok 343 /regex/match/partial290 4079s ok 344 /regex/match/partial291 4079s ok 345 /regex/match/partial292 4079s ok 346 /regex/match/partial293 4079s ok 347 /regex/match/partial294 4079s ok 348 /regex/match/partial295 4079s ok 349 /regex/match/partial296 4079s ok 350 /regex/match/partial297 4079s ok 351 /regex/match/partial298 4079s ok 352 /regex/match/partial299 4079s ok 353 /regex/match/partial300 4079s ok 354 /regex/match/partial301 4079s ok 355 /regex/match/partial302 4079s # Start of next0 tests 4079s ok 356 /regex/match/next0/247 4079s ok 357 /regex/match/next0/248 4079s ok 358 /regex/match/next0/249 4079s ok 359 /regex/match/next0/250 4079s # End of next0 tests 4079s # Start of next1 tests 4079s ok 360 /regex/match/next1/251 4079s ok 361 /regex/match/next1/252 4079s ok 362 /regex/match/next1/253 4079s ok 363 /regex/match/next1/254 4079s ok 364 /regex/match/next1/255 4079s # End of next1 tests 4079s # Start of next2 tests 4079s ok 365 /regex/match/next2/256 4079s ok 366 /regex/match/next2/257 4079s ok 367 /regex/match/next2/258 4079s ok 368 /regex/match/next2/259 4079s ok 369 /regex/match/next2/260 4079s ok 370 /regex/match/next2/261 4079s ok 371 /regex/match/next2/262 4079s ok 372 /regex/match/next2/263 4079s # End of next2 tests 4079s # Start of next3 tests 4079s ok 373 /regex/match/next3/264 4079s ok 374 /regex/match/next3/265 4079s ok 375 /regex/match/next3/266 4079s ok 376 /regex/match/next3/267 4079s ok 377 /regex/match/next3/268 4079s ok 378 /regex/match/next3/269 4079s # End of next3 tests 4079s # Start of next4 tests 4079s ok 379 /regex/match/next4/270 4079s # End of next4 tests 4079s # Start of count tests 4079s ok 380 /regex/match/count/271 4079s ok 381 /regex/match/count/272 4079s ok 382 /regex/match/count/273 4079s ok 383 /regex/match/count/274 4079s ok 384 /regex/match/count/275 4079s ok 385 /regex/match/count/276 4079s ok 386 /regex/match/count/277 4079s ok 387 /regex/match/count/278 4079s ok 388 /regex/match/count/279 4079s ok 389 /regex/match/count/280 4079s # End of count tests 4079s # Start of count-optimized tests 4079s ok 390 /regex/match/count-optimized/271 4079s ok 391 /regex/match/count-optimized/272 4079s ok 392 /regex/match/count-optimized/273 4079s ok 393 /regex/match/count-optimized/274 4079s ok 394 /regex/match/count-optimized/275 4079s ok 395 /regex/match/count-optimized/276 4079s ok 396 /regex/match/count-optimized/277 4079s ok 397 /regex/match/count-optimized/278 4079s ok 398 /regex/match/count-optimized/279 4079s ok 399 /regex/match/count-optimized/280 4079s # End of count-optimized tests 4079s # Start of partial-optimized tests 4079s ok 400 /regex/match/partial-optimized/281 4079s ok 401 /regex/match/partial-optimized/282 4079s ok 402 /regex/match/partial-optimized/283 4079s ok 403 /regex/match/partial-optimized/284 4079s ok 404 /regex/match/partial-optimized/285 4079s ok 405 /regex/match/partial-optimized/286 4079s ok 406 /regex/match/partial-optimized/287 4079s ok 407 /regex/match/partial-optimized/288 4079s ok 408 /regex/match/partial-optimized/289 4079s ok 409 /regex/match/partial-optimized/290 4079s ok 410 /regex/match/partial-optimized/291 4079s ok 411 /regex/match/partial-optimized/292 4079s ok 412 /regex/match/partial-optimized/293 4079s ok 413 /regex/match/partial-optimized/294 4079s ok 414 /regex/match/partial-optimized/295 4079s ok 415 /regex/match/partial-optimized/296 4079s ok 416 /regex/match/partial-optimized/297 4079s ok 417 /regex/match/partial-optimized/298 4079s ok 418 /regex/match/partial-optimized/299 4079s ok 419 /regex/match/partial-optimized/300 4079s ok 420 /regex/match/partial-optimized/301 4079s ok 421 /regex/match/partial-optimized/302 4079s # End of partial-optimized tests 4079s # Start of subpattern tests 4079s ok 422 /regex/match/subpattern/303 4079s ok 423 /regex/match/subpattern/304 4079s ok 424 /regex/match/subpattern/305 4079s ok 425 /regex/match/subpattern/306 4079s ok 426 /regex/match/subpattern/307 4079s ok 427 /regex/match/subpattern/308 4079s ok 428 /regex/match/subpattern/309 4079s ok 429 /regex/match/subpattern/310 4079s ok 430 /regex/match/subpattern/311 4079s ok 431 /regex/match/subpattern/312 4079s ok 432 /regex/match/subpattern/313 4079s ok 433 /regex/match/subpattern/314 4079s ok 434 /regex/match/subpattern/315 4079s # Start of named tests 4079s # Start of dupnames tests 4079s ok 435 /regex/match/subpattern/named/dupnames/325 4079s ok 436 /regex/match/subpattern/named/dupnames/326 4079s ok 437 /regex/match/subpattern/named/dupnames/327 4079s ok 438 /regex/match/subpattern/named/dupnames/328 4079s ok 439 /regex/match/subpattern/named/dupnames/329 4079s # End of dupnames tests 4079s # End of named tests 4079s # End of subpattern tests 4079s # Start of subpattern-optimized tests 4079s ok 440 /regex/match/subpattern-optimized/303 4079s ok 441 /regex/match/subpattern-optimized/304 4079s ok 442 /regex/match/subpattern-optimized/305 4079s ok 443 /regex/match/subpattern-optimized/306 4079s ok 444 /regex/match/subpattern-optimized/307 4079s ok 445 /regex/match/subpattern-optimized/308 4079s ok 446 /regex/match/subpattern-optimized/309 4079s ok 447 /regex/match/subpattern-optimized/310 4079s ok 448 /regex/match/subpattern-optimized/311 4079s ok 449 /regex/match/subpattern-optimized/312 4079s ok 450 /regex/match/subpattern-optimized/313 4079s ok 451 /regex/match/subpattern-optimized/314 4079s ok 452 /regex/match/subpattern-optimized/315 4079s # End of subpattern-optimized tests 4079s # Start of named tests 4079s # Start of subpattern tests 4079s ok 453 /regex/match/named/subpattern/316 4079s ok 454 /regex/match/named/subpattern/317 4079s ok 455 /regex/match/named/subpattern/318 4079s ok 456 /regex/match/named/subpattern/319 4079s ok 457 /regex/match/named/subpattern/320 4079s ok 458 /regex/match/named/subpattern/321 4079s ok 459 /regex/match/named/subpattern/322 4079s ok 460 /regex/match/named/subpattern/323 4079s ok 461 /regex/match/named/subpattern/324 4079s ok 462 /regex/match/named/subpattern/330 4079s ok 463 /regex/match/named/subpattern/331 4079s ok 464 /regex/match/named/subpattern/332 4079s ok 465 /regex/match/named/subpattern/333 4079s ok 466 /regex/match/named/subpattern/334 4079s # End of subpattern tests 4079s # End of named tests 4079s # End of match tests 4079s # Start of match-optimized tests 4079s ok 467 /regex/match-optimized/165 4079s ok 468 /regex/match-optimized/166 4079s ok 469 /regex/match-optimized/167 4079s ok 470 /regex/match-optimized/168 4079s ok 471 /regex/match-optimized/169 4079s ok 472 /regex/match-optimized/170 4079s ok 473 /regex/match-optimized/171 4079s ok 474 /regex/match-optimized/172 4079s ok 475 /regex/match-optimized/173 4079s ok 476 /regex/match-optimized/174 4079s ok 477 /regex/match-optimized/175 4079s ok 478 /regex/match-optimized/176 4079s ok 479 /regex/match-optimized/177 4079s ok 480 /regex/match-optimized/178 4079s ok 481 /regex/match-optimized/179 4079s ok 482 /regex/match-optimized/180 4079s ok 483 /regex/match-optimized/181 4079s ok 484 /regex/match-optimized/182 4079s ok 485 /regex/match-optimized/183 4079s ok 486 /regex/match-optimized/184 4079s ok 487 /regex/match-optimized/185 4079s ok 488 /regex/match-optimized/186 4079s ok 489 /regex/match-optimized/187 4079s ok 490 /regex/match-optimized/188 4079s ok 491 /regex/match-optimized/189 4079s ok 492 /regex/match-optimized/190 4079s ok 493 /regex/match-optimized/191 4079s ok 494 /regex/match-optimized/192 4079s ok 495 /regex/match-optimized/193 4079s ok 496 /regex/match-optimized/194 4079s ok 497 /regex/match-optimized/195 4079s ok 498 /regex/match-optimized/196 4079s ok 499 /regex/match-optimized/197 4079s ok 500 /regex/match-optimized/198 4079s ok 501 /regex/match-optimized/199 4079s ok 502 /regex/match-optimized/200 4079s ok 503 /regex/match-optimized/201 4079s ok 504 /regex/match-optimized/202 4079s ok 505 /regex/match-optimized/203 4079s ok 506 /regex/match-optimized/204 4079s ok 507 /regex/match-optimized/205 4079s ok 508 /regex/match-optimized/206 4079s ok 509 /regex/match-optimized/207 4079s ok 510 /regex/match-optimized/208 4079s ok 511 /regex/match-optimized/209 4079s ok 512 /regex/match-optimized/210 4079s ok 513 /regex/match-optimized/211 4079s ok 514 /regex/match-optimized/212 4079s ok 515 /regex/match-optimized/213 4079s ok 516 /regex/match-optimized/214 4079s ok 517 /regex/match-optimized/215 4079s ok 518 /regex/match-optimized/216 4079s ok 519 /regex/match-optimized/217 4079s ok 520 /regex/match-optimized/218 4079s ok 521 /regex/match-optimized/219 4079s ok 522 /regex/match-optimized/220 4079s ok 523 /regex/match-optimized/221 4079s ok 524 /regex/match-optimized/222 4079s ok 525 /regex/match-optimized/223 4079s ok 526 /regex/match-optimized/224 4079s ok 527 /regex/match-optimized/225 4079s ok 528 /regex/match-optimized/226 4079s ok 529 /regex/match-optimized/227 4079s ok 530 /regex/match-optimized/228 4079s ok 531 /regex/match-optimized/229 4079s ok 532 /regex/match-optimized/230 4079s ok 533 /regex/match-optimized/231 4079s ok 534 /regex/match-optimized/232 4079s ok 535 /regex/match-optimized/233 4079s ok 536 /regex/match-optimized/234 4079s ok 537 /regex/match-optimized/235 4079s ok 538 /regex/match-optimized/236 4079s ok 539 /regex/match-optimized/237 4079s ok 540 /regex/match-optimized/238 4079s ok 541 /regex/match-optimized/239 4079s ok 542 /regex/match-optimized/240 4079s ok 543 /regex/match-optimized/241 4079s ok 544 /regex/match-optimized/242 4079s ok 545 /regex/match-optimized/243 4079s ok 546 /regex/match-optimized/244 4079s ok 547 /regex/match-optimized/245 4079s ok 548 /regex/match-optimized/246 4079s # End of match-optimized tests 4079s # Start of fetch-all0 tests 4079s ok 549 /regex/fetch-all0/335 4079s ok 550 /regex/fetch-all0/336 4079s # End of fetch-all0 tests 4079s # Start of fetch-all1 tests 4079s ok 551 /regex/fetch-all1/337 4079s ok 552 /regex/fetch-all1/338 4079s ok 553 /regex/fetch-all1/339 4079s # End of fetch-all1 tests 4079s # Start of fetch-all2 tests 4079s ok 554 /regex/fetch-all2/340 4079s ok 555 /regex/fetch-all2/341 4079s ok 556 /regex/fetch-all2/342 4079s # End of fetch-all2 tests 4079s # Start of fetch-all3 tests 4079s ok 557 /regex/fetch-all3/343 4079s ok 558 /regex/fetch-all3/344 4079s ok 559 /regex/fetch-all3/345 4079s ok 560 /regex/fetch-all3/346 4079s ok 561 /regex/fetch-all3/347 4079s # End of fetch-all3 tests 4079s # Start of split tests 4079s # Start of simple0 tests 4079s ok 562 /regex/split/simple0/348 4079s ok 563 /regex/split/simple0/349 4079s ok 564 /regex/split/simple0/364 4079s ok 565 /regex/split/simple0/365 4079s # End of simple0 tests 4079s # Start of simple1 tests 4079s ok 566 /regex/split/simple1/350 4079s ok 567 /regex/split/simple1/351 4079s # End of simple1 tests 4079s # Start of simple2 tests 4079s ok 568 /regex/split/simple2/352 4079s ok 569 /regex/split/simple2/358 4079s ok 570 /regex/split/simple2/360 4079s # End of simple2 tests 4079s # Start of simple3 tests 4079s ok 571 /regex/split/simple3/353 4079s ok 572 /regex/split/simple3/354 4079s ok 573 /regex/split/simple3/355 4079s ok 574 /regex/split/simple3/356 4079s ok 575 /regex/split/simple3/357 4079s ok 576 /regex/split/simple3/359 4079s ok 577 /regex/split/simple3/361 4079s ok 578 /regex/split/simple3/362 4079s ok 579 /regex/split/simple3/363 4079s # End of simple3 tests 4079s # End of split tests 4079s # Start of split0 tests 4079s ok 580 /regex/split0/366 4079s ok 581 /regex/split0/368 4079s # End of split0 tests 4079s # Start of full-split0 tests 4079s ok 582 /regex/full-split0/367 4079s ok 583 /regex/full-split0/369 4079s ok 584 /regex/full-split0/370 4079s ok 585 /regex/full-split0/371 4079s ok 586 /regex/full-split0/372 4079s # End of full-split0 tests 4079s # Start of split1 tests 4079s ok 587 /regex/split1/373 4079s ok 588 /regex/split1/376 4079s # End of split1 tests 4079s # Start of full-split1 tests 4079s ok 589 /regex/full-split1/374 4079s ok 590 /regex/full-split1/375 4079s ok 591 /regex/full-split1/377 4079s ok 592 /regex/full-split1/378 4079s ok 593 /regex/full-split1/404 4079s # End of full-split1 tests 4079s # Start of split2 tests 4079s ok 594 /regex/split2/379 4079s ok 595 /regex/split2/383 4079s ok 596 /regex/split2/395 4079s # End of split2 tests 4079s # Start of full-split2 tests 4079s ok 597 /regex/full-split2/380 4079s ok 598 /regex/full-split2/381 4079s ok 599 /regex/full-split2/382 4079s ok 600 /regex/full-split2/384 4079s ok 601 /regex/full-split2/396 4079s ok 602 /regex/full-split2/399 4079s ok 603 /regex/full-split2/405 4079s # End of full-split2 tests 4079s # Start of split3 tests 4079s ok 604 /regex/split3/385 4079s ok 605 /regex/split3/387 4079s ok 606 /regex/split3/389 4079s ok 607 /regex/split3/391 4079s ok 608 /regex/split3/393 4079s ok 609 /regex/split3/397 4079s ok 610 /regex/split3/400 4079s ok 611 /regex/split3/402 4079s # End of split3 tests 4079s # Start of full-split3 tests 4079s ok 612 /regex/full-split3/386 4079s ok 613 /regex/full-split3/388 4079s ok 614 /regex/full-split3/390 4079s ok 615 /regex/full-split3/392 4079s ok 616 /regex/full-split3/394 4079s ok 617 /regex/full-split3/398 4079s ok 618 /regex/full-split3/401 4079s ok 619 /regex/full-split3/403 4079s ok 620 /regex/full-split3/406 4079s ok 621 /regex/full-split3/407 4079s # End of full-split3 tests 4079s # Start of check-repacement tests 4079s ok 622 /regex/check-repacement/408 4079s ok 623 /regex/check-repacement/409 4079s ok 624 /regex/check-repacement/410 4079s ok 625 /regex/check-repacement/411 4079s ok 626 /regex/check-repacement/412 4079s ok 627 /regex/check-repacement/413 4079s ok 628 /regex/check-repacement/414 4079s ok 629 /regex/check-repacement/415 4079s # End of check-repacement tests 4079s # Start of expand tests 4079s ok 630 /regex/expand/416 4079s ok 631 /regex/expand/417 4079s ok 632 /regex/expand/418 4079s ok 633 /regex/expand/419 4079s ok 634 /regex/expand/420 4079s ok 635 /regex/expand/421 4079s ok 636 /regex/expand/422 4079s ok 637 /regex/expand/423 4079s ok 638 /regex/expand/424 4079s ok 639 /regex/expand/425 4079s ok 640 /regex/expand/426 4079s ok 641 /regex/expand/427 4079s ok 642 /regex/expand/428 4079s ok 643 /regex/expand/429 4079s ok 644 /regex/expand/430 4079s ok 645 /regex/expand/431 4079s ok 646 /regex/expand/432 4079s ok 647 /regex/expand/433 4079s ok 648 /regex/expand/434 4079s ok 649 /regex/expand/435 4079s ok 650 /regex/expand/436 4079s ok 651 /regex/expand/437 4079s ok 652 /regex/expand/438 4079s ok 653 /regex/expand/439 4079s ok 654 /regex/expand/440 4079s ok 655 /regex/expand/441 4079s ok 656 /regex/expand/442 4079s ok 657 /regex/expand/443 4079s ok 658 /regex/expand/444 4079s ok 659 /regex/expand/445 4079s ok 660 /regex/expand/446 4079s ok 661 /regex/expand/447 4079s ok 662 /regex/expand/448 4079s ok 663 /regex/expand/449 4079s ok 664 /regex/expand/450 4079s ok 665 /regex/expand/451 4079s ok 666 /regex/expand/452 4079s ok 667 /regex/expand/453 4079s ok 668 /regex/expand/454 4079s ok 669 /regex/expand/455 4079s ok 670 /regex/expand/456 4079s ok 671 /regex/expand/457 4079s ok 672 /regex/expand/458 4079s ok 673 /regex/expand/459 4079s ok 674 /regex/expand/460 4079s ok 675 /regex/expand/461 4079s ok 676 /regex/expand/462 4079s ok 677 /regex/expand/463 4079s ok 678 /regex/expand/464 4079s ok 679 /regex/expand/465 4079s ok 680 /regex/expand/466 4079s ok 681 /regex/expand/467 4079s ok 682 /regex/expand/468 4079s ok 683 /regex/expand/469 4079s ok 684 /regex/expand/470 4079s ok 685 /regex/expand/471 4079s ok 686 /regex/expand/472 4079s ok 687 /regex/expand/473 4079s ok 688 /regex/expand/474 4079s ok 689 /regex/expand/475 4079s ok 690 /regex/expand/476 4079s ok 691 /regex/expand/477 4079s ok 692 /regex/expand/478 4079s ok 693 /regex/expand/479 4079s ok 694 /regex/expand/480 4079s ok 695 /regex/expand/481 4079s # End of expand tests 4079s # Start of replace tests 4079s ok 696 /regex/replace/482 4079s ok 697 /regex/replace/483 4079s ok 698 /regex/replace/484 4079s ok 699 /regex/replace/485 4079s ok 700 /regex/replace/486 4079s ok 701 /regex/replace/487 4079s ok 702 /regex/replace/488 4079s ok 703 /regex/replace/489 4079s ok 704 /regex/replace/490 4079s ok 705 /regex/replace/491 4079s ok 706 /regex/replace/492 4079s ok 707 /regex/replace/493 4079s ok 708 /regex/replace/494 4079s ok 709 /regex/replace/495 4079s ok 710 /regex/replace/496 4079s ok 711 /regex/replace/497 4079s ok 712 /regex/replace/498 4079s ok 713 /regex/replace/499 4079s ok 714 /regex/replace/500 4079s ok 715 /regex/replace/501 4079s ok 716 /regex/replace/502 4079s ok 717 /regex/replace/503 4079s ok 718 /regex/replace/504 4079s ok 719 /regex/replace/505 4079s ok 720 /regex/replace/506 4079s ok 721 /regex/replace/507 4079s ok 722 /regex/replace/508 4079s ok 723 /regex/replace/509 4079s # End of replace tests 4079s # Start of replace-optimized tests 4079s ok 724 /regex/replace-optimized/482 4079s ok 725 /regex/replace-optimized/483 4079s ok 726 /regex/replace-optimized/484 4079s ok 727 /regex/replace-optimized/485 4079s ok 728 /regex/replace-optimized/486 4079s ok 729 /regex/replace-optimized/487 4079s ok 730 /regex/replace-optimized/488 4079s ok 731 /regex/replace-optimized/489 4079s ok 732 /regex/replace-optimized/490 4079s ok 733 /regex/replace-optimized/491 4079s ok 734 /regex/replace-optimized/492 4079s ok 735 /regex/replace-optimized/493 4079s ok 736 /regex/replace-optimized/494 4079s ok 737 /regex/replace-optimized/495 4079s ok 738 /regex/replace-optimized/496 4079s ok 739 /regex/replace-optimized/497 4079s ok 740 /regex/replace-optimized/498 4079s ok 741 /regex/replace-optimized/499 4079s ok 742 /regex/replace-optimized/500 4079s ok 743 /regex/replace-optimized/501 4079s ok 744 /regex/replace-optimized/502 4079s ok 745 /regex/replace-optimized/503 4079s ok 746 /regex/replace-optimized/504 4079s ok 747 /regex/replace-optimized/505 4079s ok 748 /regex/replace-optimized/506 4079s ok 749 /regex/replace-optimized/507 4079s ok 750 /regex/replace-optimized/508 4079s ok 751 /regex/replace-optimized/509 4079s # End of replace-optimized tests 4079s # Start of replace-literally tests 4079s ok 752 /regex/replace-literally/510 4079s ok 753 /regex/replace-literally/511 4079s ok 754 /regex/replace-literally/512 4079s ok 755 /regex/replace-literally/513 4079s ok 756 /regex/replace-literally/514 4079s ok 757 /regex/replace-literally/515 4079s ok 758 /regex/replace-literally/516 4079s ok 759 /regex/replace-literally/517 4079s ok 760 /regex/replace-literally/518 4079s ok 761 /regex/replace-literally/519 4079s ok 762 /regex/replace-literally/520 4079s ok 763 /regex/replace-literally/521 4079s ok 764 /regex/replace-literally/522 4079s ok 765 /regex/replace-literally/523 4079s ok 766 /regex/replace-literally/524 4079s ok 767 /regex/replace-literally/525 4079s ok 768 /regex/replace-literally/526 4079s ok 769 /regex/replace-literally/527 4079s ok 770 /regex/replace-literally/528 4079s ok 771 /regex/replace-literally/529 4079s # End of replace-literally tests 4079s # Start of string-number tests 4079s ok 772 /regex/string-number/530 4079s ok 773 /regex/string-number/531 4079s ok 774 /regex/string-number/532 4079s ok 775 /regex/string-number/533 4079s ok 776 /regex/string-number/534 4079s ok 777 /regex/string-number/535 4079s ok 778 /regex/string-number/536 4079s ok 779 /regex/string-number/537 4079s ok 780 /regex/string-number/538 4079s ok 781 /regex/string-number/539 4079s ok 782 /regex/string-number/540 4079s ok 783 /regex/string-number/541 4079s ok 784 /regex/string-number/542 4079s ok 785 /regex/string-number/543 4079s ok 786 /regex/string-number/544 4079s # End of string-number tests 4079s # Start of escape_nul tests 4079s ok 787 /regex/escape_nul/545 4079s ok 788 /regex/escape_nul/546 4079s ok 789 /regex/escape_nul/547 4079s ok 790 /regex/escape_nul/548 4079s ok 791 /regex/escape_nul/549 4079s ok 792 /regex/escape_nul/550 4079s ok 793 /regex/escape_nul/551 4079s ok 794 /regex/escape_nul/552 4079s ok 795 /regex/escape_nul/553 4079s ok 796 /regex/escape_nul/554 4079s ok 797 /regex/escape_nul/555 4079s ok 798 /regex/escape_nul/556 4079s ok 799 /regex/escape_nul/557 4079s ok 800 /regex/escape_nul/558 4079s ok 801 /regex/escape_nul/559 4079s # End of escape_nul tests 4079s # Start of escape tests 4079s ok 802 /regex/escape/560 4079s ok 803 /regex/escape/561 4079s ok 804 /regex/escape/562 4079s ok 805 /regex/escape/563 4079s ok 806 /regex/escape/564 4079s ok 807 /regex/escape/565 4079s ok 808 /regex/escape/566 4079s ok 809 /regex/escape/567 4079s ok 810 /regex/escape/568 4079s ok 811 /regex/escape/569 4079s ok 812 /regex/escape/570 4079s ok 813 /regex/escape/571 4079s ok 814 /regex/escape/572 4079s ok 815 /regex/escape/573 4079s ok 816 /regex/escape/574 4079s ok 817 /regex/escape/575 4079s ok 818 /regex/escape/576 4079s ok 819 /regex/escape/577 4079s # End of escape tests 4079s # Start of match-all0 tests 4079s ok 820 /regex/match-all0/578 4079s ok 821 /regex/match-all0/580 4079s # End of match-all0 tests 4079s # Start of match-all-full0 tests 4079s ok 822 /regex/match-all-full0/579 4079s ok 823 /regex/match-all-full0/581 4079s ok 824 /regex/match-all-full0/582 4079s ok 825 /regex/match-all-full0/583 4079s # End of match-all-full0 tests 4079s # Start of match-all1 tests 4079s ok 826 /regex/match-all1/584 4079s ok 827 /regex/match-all1/586 4079s ok 828 /regex/match-all1/591 4079s # End of match-all1 tests 4079s # Start of match-all-full1 tests 4079s ok 829 /regex/match-all-full1/585 4079s ok 830 /regex/match-all-full1/587 4079s ok 831 /regex/match-all-full1/588 4079s ok 832 /regex/match-all-full1/589 4079s ok 833 /regex/match-all-full1/590 4079s ok 834 /regex/match-all-full1/592 4079s # End of match-all-full1 tests 4079s # Start of match-all2 tests 4079s ok 835 /regex/match-all2/593 4079s ok 836 /regex/match-all2/595 4079s ok 837 /regex/match-all2/597 4079s # End of match-all2 tests 4079s # Start of match-all-full2 tests 4079s ok 838 /regex/match-all-full2/594 4079s ok 839 /regex/match-all-full2/596 4079s ok 840 /regex/match-all-full2/598 4079s # End of match-all-full2 tests 4079s # Start of match-all3 tests 4079s ok 841 /regex/match-all3/599 4079s ok 842 /regex/match-all3/601 4079s # End of match-all3 tests 4079s # Start of match-all-full3 tests 4079s ok 843 /regex/match-all-full3/600 4079s ok 844 /regex/match-all-full3/602 4079s # End of match-all-full3 tests 4079s # Start of match-notempty tests 4079s ok 845 /regex/match-notempty/603 4079s # End of match-notempty tests 4079s # Start of match-notempty-optimized tests 4079s ok 846 /regex/match-notempty-optimized/603 4079s # End of match-notempty-optimized tests 4079s # Start of match-notempty-atstart tests 4079s ok 847 /regex/match-notempty-atstart/604 4079s # End of match-notempty-atstart tests 4079s # Start of match-notempty-atstart-optimized tests 4079s ok 848 /regex/match-notempty-atstart-optimized/604 4079s # End of match-notempty-atstart-optimized tests 4079s # End of regex tests 4079s ok - glib/regex.test 4079s # Running test: glib/mapping.test 4079s TAP version 13 4079s # random seed: R02S1c795a68ad88dea489dc1bdb5eb2f15f 4079s 1..3 4079s # Start of mapping tests 4079s # test_mapping: ok 4079s ok 1 /mapping/flags 4079s ok 2 /mapping/private 4079s # test_child_private: child spawned 4079s # Subtest: /usr/libexec/installed-tests/glib/mapping 4079s # # random seed: R02Sbd4ef71331e5cc6bb6ae70afdcce0272 4079s # test_child_private: received first child signal 4079s # # test_child_private: received parent signal 4079s # test_child_private: received second child signal 4079s ok 3 /mapping/private-child 4079s # End of mapping tests 4079s ok - glib/mapping.test 4079s # Running test: glib/portal-support-flatpak-none.test 4079s TAP version 13 4079s # random seed: R02S320c44eea6ff7785d085cf40e802ff49 4079s 1..1 4079s # Start of portal-support tests 4079s # Start of flatpak tests 4079s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_KVEZJ2/portal-support/flatpak/none/.dirs/home 4079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_KVEZJ2/portal-support/flatpak/none/.dirs/cache 4079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_KVEZJ2/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_KVEZJ2/portal-support/flatpak/none/.dirs/system-config2 4079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_KVEZJ2/portal-support/flatpak/none/.dirs/config 4079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_KVEZJ2/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_KVEZJ2/portal-support/flatpak/none/.dirs/system-data2 4079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_KVEZJ2/portal-support/flatpak/none/.dirs/data 4079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_KVEZJ2/portal-support/flatpak/none/.dirs/state 4079s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_KVEZJ2/portal-support/flatpak/none/.dirs/runtime 4079s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_KVEZJ2/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 4079s ok 1 /portal-support/flatpak/none 4079s # End of flatpak tests 4079s # End of portal-support tests 4079s ok - glib/portal-support-flatpak-none.test 4079s # Running test: glib/overflow.test 4079s TAP version 13 4079s # random seed: R02S4dc94ee77ac5cafabd4639d5da78c97c 4079s 1..6 4079s # Start of glib tests 4079s # Start of checked-math tests 4079s ok 1 /glib/checked-math/guint-add 4079s ok 2 /glib/checked-math/guint-mul 4079s ok 3 /glib/checked-math/guint64-add 4079s ok 4 /glib/checked-math/guint64-mul 4079s ok 5 /glib/checked-math/gsize-add 4079s ok 6 /glib/checked-math/gsize-mul 4079s # End of checked-math tests 4079s # End of glib tests 4079s ok - glib/overflow.test 4079s # Running test: glib/ifaceproperties.test 4079s TAP version 13 4079s # random seed: R02S0d9aa283eae2392fa98d34b4fd6423d3 4079s 1..7 4079s # Start of interface tests 4079s # Start of properties tests 4079s ok 1 /interface/properties/set 4079s ok 2 /interface/properties/notify 4079s ok 3 /interface/properties/find-overridden 4079s ok 4 /interface/properties/list-overridden 4079s ok 5 /interface/properties/find-interface 4079s ok 6 /interface/properties/list-interface 4079s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 4079s ok 7 /interface/properties/not-overridden 4079s # End of properties tests 4079s # End of interface tests 4079s ok - glib/ifaceproperties.test 4079s # Running test: glib/list.test 4079s TAP version 13 4079s # random seed: R02S1fb7f4e43fb2af39ffef5c220436d699 4079s 1..20 4079s # Start of list tests 4079s ok 1 /list/sort 4079s ok 2 /list/sort-with-data 4079s ok 3 /list/insert-before-link 4079s ok 4 /list/insert-sorted 4079s ok 5 /list/insert-sorted-with-data 4079s ok 6 /list/reverse 4079s ok 7 /list/nth 4079s ok 8 /list/concat 4079s ok 9 /list/remove 4079s ok 10 /list/remove-all 4079s ok 11 /list/first-last 4079s ok 12 /list/insert 4079s ok 13 /list/free-full 4079s ok 14 /list/copy 4079s ok 15 /list/copy-deep 4079s ok 16 /list/delete-link 4079s ok 17 /list/prepend 4079s ok 18 /list/position 4079s ok 19 /list/double-free 4079s # Start of sort tests 4079s ok 20 /list/sort/stable 4079s # End of sort tests 4079s # End of list tests 4079s ok - glib/list.test 4079s # Running test: glib/scannerapi.test 4079s TAP version 13 4079s # random seed: R02S6d17b25d976a7c81003b961f9c32ab2e 4079s 1..4 4079s # Start of scanner tests 4079s ok 1 /scanner/warn 4079s ok 2 /scanner/error 4079s ok 3 /scanner/symbols 4079s ok 4 /scanner/tokens 4079s # End of scanner tests 4079s ok - glib/scannerapi.test 4079s # Running test: glib/hostutils.test 4079s TAP version 13 4079s # random seed: R02S7090cff7a3c2e5896856536b64ed7a08 4079s 1..3 4079s # Start of hostutils tests 4079s ok 1 /hostutils/to_ascii 4079s ok 2 /hostutils/to_unicode 4079s ok 3 /hostutils/is_ip_addr 4079s # End of hostutils tests 4079s ok - glib/hostutils.test 4079s # Running test: glib/object.test 4079s TAP version 13 4079s # random seed: R02S048c4a815dc3eb9947f42ef58aa54f50 4079s 1..2 4079s # Start of object tests 4079s # Start of constructor tests 4079s ok 1 /object/constructor/singleton 4079s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 4079s # End of constructor tests 4079s # End of object tests 4079s ok - glib/object.test 4079s # Running test: glib/defaultiface.test 4079s TAP version 13 4079s # random seed: R02S40b00db0733e7bb97f024923644ae7b6 4079s 1..2 4079s # Start of gobject tests 4079s ok 1 /gobject/static-iface 4079s ok 2 /gobject/dynamic-iface 4079s # End of gobject tests 4079s ok - glib/defaultiface.test 4079s # Running test: glib/memory-settings-backend.test 4079s TAP version 13 4079s # random seed: R02S5906a8a10a742d4976362c71f9071d69 4079s 1..1 4079s # Start of memory-settings-backend tests 4079s ok 1 /memory-settings-backend/extension-point-registered 4079s # End of memory-settings-backend tests 4079s ok - glib/memory-settings-backend.test 4079s # Running test: glib/gthash.test 4079s TAP version 13 4079s # random seed: R02Sa2ca43bd59e433ea19c50d5095510c81 4079s 1..1 4079s # Start of gthash tests 4079s ok 1 /gthash/build-retrieve 4079s # End of gthash tests 4079s ok - glib/gthash.test 4079s # Running test: glib/relation.test 4079s TAP version 13 4079s # random seed: R02S101c7580a2901cadc0ebf526c9a5f0c9 4079s 1..1 4079s # Start of glib tests 4079s ok 1 /glib/relation 4079s # End of glib tests 4079s ok - glib/relation.test 4079s # Running test: glib/rec-mutex.test 4079s TAP version 13 4079s # random seed: R02S3be593e36001515b1b8fb6cd84360d66 4079s 1..29 4079s # Start of thread tests 4079s ok 1 /thread/rec-mutex1 4079s ok 2 /thread/rec-mutex2 4079s ok 3 /thread/rec-mutex3 4080s ok 4 /thread/rec-mutex4 4080s # Start of rec-mutex tests 4080s # Start of perf tests 4080s # Start of uncontended tests 4080s # max perf: 0.250000 mips 4080s ok 5 /thread/rec-mutex/perf/uncontended/depth1 4080s # max perf: 1.000000 mips 4080s ok 6 /thread/rec-mutex/perf/uncontended/depth2 4080s # max perf: 1.000000 mips 4080s ok 7 /thread/rec-mutex/perf/uncontended/depth3 4080s # max perf: 1.000000 mips 4080s ok 8 /thread/rec-mutex/perf/uncontended/depth4 4080s # max perf: 1.000000 mips 4080s ok 9 /thread/rec-mutex/perf/uncontended/depth5 4080s # End of uncontended tests 4080s # Start of contended1 tests 4080s # max perf: inf mips 4080s ok 10 /thread/rec-mutex/perf/contended1/depth1 4080s # max perf: inf mips 4080s ok 11 /thread/rec-mutex/perf/contended1/depth2 4080s # max perf: 2.000000 mips 4080s ok 12 /thread/rec-mutex/perf/contended1/depth3 4080s # max perf: 2.000000 mips 4080s ok 13 /thread/rec-mutex/perf/contended1/depth4 4080s # max perf: 2.000000 mips 4080s ok 14 /thread/rec-mutex/perf/contended1/depth5 4080s # End of contended1 tests 4080s # Start of contended2 tests 4080s # max perf: 1.500000 mips 4080s ok 15 /thread/rec-mutex/perf/contended2/depth1 4080s # max perf: 3.000000 mips 4080s ok 16 /thread/rec-mutex/perf/contended2/depth2 4080s # max perf: 3.000000 mips 4080s ok 17 /thread/rec-mutex/perf/contended2/depth3 4080s # max perf: 3.000000 mips 4080s ok 18 /thread/rec-mutex/perf/contended2/depth4 4080s # max perf: 1.500000 mips 4080s ok 19 /thread/rec-mutex/perf/contended2/depth5 4080s # End of contended2 tests 4080s # Start of contended3 tests 4080s # max perf: 4.000000 mips 4080s ok 20 /thread/rec-mutex/perf/contended3/depth1 4080s # max perf: 2.000000 mips 4080s ok 21 /thread/rec-mutex/perf/contended3/depth2 4080s # max perf: 2.000000 mips 4080s ok 22 /thread/rec-mutex/perf/contended3/depth3 4080s # max perf: 2.000000 mips 4080s ok 23 /thread/rec-mutex/perf/contended3/depth4 4080s # max perf: 2.000000 mips 4080s ok 24 /thread/rec-mutex/perf/contended3/depth5 4080s # End of contended3 tests 4080s # Start of contended4 tests 4080s # max perf: 5.000000 mips 4080s ok 25 /thread/rec-mutex/perf/contended4/depth1 4080s # max perf: 5.000000 mips 4080s ok 26 /thread/rec-mutex/perf/contended4/depth2 4080s # max perf: 2.500000 mips 4080s ok 27 /thread/rec-mutex/perf/contended4/depth3 4080s # max perf: 2.500000 mips 4080s ok 28 /thread/rec-mutex/perf/contended4/depth4 4080s # max perf: 2.500000 mips 4080s ok 29 /thread/rec-mutex/perf/contended4/depth5 4080s # End of contended4 tests 4080s # End of perf tests 4080s # End of rec-mutex tests 4080s # End of thread tests 4080s ok - glib/rec-mutex.test 4080s # Running test: glib/performance-threaded.test 4080s Running test "liststore-is-a" 4081s 3872 runs, min/avg/max = 0.252/0.258/4.368 ms 4081s Running test "liststore-interface-peek" 4082s 6615 runs, min/avg/max = 0.148/0.151/0.733 ms 4082s Running test "liststore-interface-peek-same" 4082s # Executing: glib/performance-threaded.test 4083s 6583 runs, min/avg/max = 0.148/0.152/2.282 ms 4083s ok - glib/performance-threaded.test 4083s # Running test: glib/memory-monitor-portal.test 4084s TAP version 13 4084s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 4084s 1..1 4084s ok - glib/memory-monitor-portal.test 4084s # Running test: glib/gnotification.test 4084s TAP version 13 4084s # random seed: R02S9f0a0d99ef5838bc99785513ae944e52 4084s 1..2 4084s # Start of gnotification tests 4084s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4084s ok 1 /gnotification/basic 4084s ok 2 /gnotification/properties 4084s # End of gnotification tests 4084s ok - glib/gnotification.test 4084s # Running test: glib/spawn-multithreaded.test 4084s TAP version 13 4084s # random seed: R02S7eaa1dd0f56e4ace66816d2f31e86381 4084s 1..4 4084s # Start of gthread tests 4085s # Child 12148 (ttl 1) exited, status 0 4086s # Child 12149 (ttl 2) exited, status 0 4086s ok 1 /gthread/spawn-childs 4086s # slow test /gthread/spawn-childs executed in 2.00 secs 4086s # Created pid: 12153 (ttl 1) 4086s # Created pid: 12154 (ttl 2) 4087s # Executing: glib/spawn-multithreaded.test 4087s # Child 12153 (ttl 1) exited, status 0 4088s # Child 12154 (ttl 2) exited, status 0 4088s ok 2 /gthread/spawn-childs-threads 4088s # slow test /gthread/spawn-childs-threads executed in 2.01 secs 4088s ok 3 /gthread/spawn-sync 4088s ok 4 /gthread/spawn-async 4088s # End of gthread tests 4088s ok - glib/spawn-multithreaded.test 4088s # Running test: glib/defaultvalue.test 4088s TAP version 13 4088s # random seed: R02Seb5157e2c42a695614ec334d4adec2a6 4088s 1..84 4088s # Start of Default Values tests 4088s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 4088s ok 2 /Default Values/GAppLaunchContext 4088s ok 3 /Default Values/GApplicationCommandLine 4088s # skipping GApplication:is-remote 4088s ok 4 /Default Values/GApplication 4088s ok 5 /Default Values/GBinding # SKIP mandatory construct params 4088s ok 6 /Default Values/GBindingGroup 4088s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 4088s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 4088s ok 9 /Default Values/GBytesIcon 4088s ok 10 /Default Values/GCancellable 4088s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 4088s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 4088s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 4088s ok 14 /Default Values/GCredentials 4088s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 4088s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 4088s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 4088s ok 18 /Default Values/GDBusAuthObserver 4088s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 4088s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 4088s ok 21 /Default Values/GDBusMessage 4088s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 4088s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 4088s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 4088s ok 25 /Default Values/GDBusObjectProxy 4088s ok 26 /Default Values/GDBusObjectSkeleton 4088s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 4088s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 4088s ok 29 /Default Values/GEmblem 4088s ok 30 /Default Values/GEmblemedIcon 4088s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 4088s ok 32 /Default Values/GFileInfo 4088s ok 33 /Default Values/GFileInputStream 4088s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 4088s ok 35 /Default Values/GFileOutputStream 4088s ok 36 /Default Values/GFilenameCompleter 4088s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 4088s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 4088s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 4088s ok 40 /Default Values/GInitiallyUnowned 4088s ok 41 /Default Values/GIOModule 4088s ok 42 /Default Values/GListStore 4088s ok 43 /Default Values/GMemoryInputStream 4088s ok 44 /Default Values/GMemoryOutputStream 4088s ok 45 /Default Values/GMenu 4088s ok 46 /Default Values/GMenuItem 4088s ok 47 /Default Values/GMountOperation 4088s ok 48 /Default Values/GNativeSocketAddress 4088s ok 49 /Default Values/GNetworkAddress 4088s ok 50 /Default Values/GNetworkService 4088s ok 51 /Default Values/GNotification 4088s ok 52 /Default Values/GObject 4088s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 4088s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 4088s # skipping GProxyAddressEnumerator:proxy-resolver 4088s ok 54 /Default Values/GProxyAddressEnumerator 4088s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 4088s ok 56 /Default Values/GSettings # SKIP mandatory construct params 4088s ok 57 /Default Values/GSignalGroup 4088s ok 58 /Default Values/GSimpleAction 4088s ok 59 /Default Values/GSimpleActionGroup 4088s ok 60 /Default Values/GSimpleAsyncResult 4088s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 4088s ok 62 /Default Values/GSimplePermission 4088s ok 63 /Default Values/GSimpleProxyResolver 4088s # skipping GSocketClient:proxy-resolver 4088s ok 64 /Default Values/GSocketClient 4088s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 4088s ok 66 /Default Values/GSocket # SKIP initialization failed 4088s ok 67 /Default Values/GSocketListener 4088s ok 68 /Default Values/GSocketService 4088s ok 69 /Default Values/GSubprocess # SKIP initialization failed 4088s ok 70 /Default Values/GSubprocessLauncher 4088s # GLib-GIO-DEBUG: GTask 0xb832a57e5f40 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 4088s ok 71 /Default Values/GTask 4088s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 4088s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 4088s ok 74 /Default Values/GTestDBus 4088s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 4088s ok 76 /Default Values/GThreadedSocketService 4088s ok 77 /Default Values/GTlsInteraction 4088s ok 78 /Default Values/GTlsPassword 4088s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 4088s ok 80 /Default Values/GUnixFDList 4088s ok 81 /Default Values/GVfs 4088s ok 82 /Default Values/GVolumeMonitor 4088s ok 83 /Default Values/GZlibCompressor 4088s ok 84 /Default Values/GZlibDecompressor 4088s # End of Default Values tests 4088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4088s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4088s ok - glib/defaultvalue.test 4088s # Running test: glib/gio-tool.py.test 4088s TAP version 13 4088s ok 1 __main__.TestGioTool.test_help 4088s # tmpdir: /tmp/tmpl_0jvl1j 4088s # gio: /usr/bin/gio 4088s # Running: ['/usr/bin/gio', '--help'] 4088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4088s # Output: Usage: 4088s # gio COMMAND [ARGS…] 4088s # 4088s # Commands: 4088s # help Print help 4088s # version Print version 4088s # cat Concatenate files to standard output 4088s # copy Copy one or more files 4088s # info Show information about locations 4088s # launch Launch an application from a desktop file 4088s # list List the contents of locations 4088s # mime Get or set the handler for a mimetype 4088s # mkdir Create directories 4088s # monitor Monitor files and directories for changes 4088s # mount Mount or unmount the locations 4088s # move Move one or more files 4088s # open Open files with the default application 4088s # rename Rename a file 4088s # remove Delete one or more files 4088s # save Read from standard input and save 4088s # set Set a file attribute 4088s # trash Move files or directories to the trash 4088s # tree Lists the contents of locations in a tree 4088s # 4088s # Use “gio help COMMAND” to get detailed help. 4088s # Running: ['/usr/bin/gio', 'help'] 4088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4088s # Output: Usage: 4088s # gio COMMAND [ARGS…] 4088s # 4088s # Commands: 4088s # help Print help 4088s # version Print version 4088s # cat Concatenate files to standard output 4088s # copy Copy one or more files 4088s # info Show information about locations 4088s # launch Launch an application from a desktop file 4088s # list List the contents of locations 4088s # mime Get or set the handler for a mimetype 4088s # mkdir Create directories 4088s # monitor Monitor files and directories for changes 4088s # mount Mount or unmount the locations 4088s # move Move one or more files 4088s # open Open files with the default application 4088s # rename Rename a file 4088s # remove Delete one or more files 4088s # save Read from standard input and save 4088s # set Set a file attribute 4088s # trash Move files or directories to the trash 4088s # tree Lists the contents of locations in a tree 4088s # 4088s # Use “gio help COMMAND” to get detailed help. 4088s ok 2 __main__.TestGioTool.test_info_non_default_attributes 4088s # tmpdir: /tmp/tmpgyia87al 4088s # gio: /usr/bin/gio 4088s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpgyia87al/tmpcv7rck0e'] 4088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4088s # Output: uri: file:///tmp/tmpgyia87al/tmpcv7rck0e 4088s # local path: /tmp/tmpgyia87al/tmpcv7rck0e 4088s # unix mount: /dev/sda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30 4088s # attributes: 4088s # standard::content-type: application/x-zerosize 4088s ok 3 __main__.TestGioTool.test_no_args 4088s # tmpdir: /tmp/tmp2rpt8vm8 4088s # gio: /usr/bin/gio 4088s # Running: ['/usr/bin/gio'] 4088s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4088s 1..3 4088s ok - glib/gio-tool.py.test 4088s # Running test: glib/signalgroup.test 4088s TAP version 13 4088s # random seed: R02S176b880e45fb91375af680ce66516fda 4088s 1..9 4088s # Start of GObject tests 4088s # Start of SignalGroup tests 4088s ok 1 /GObject/SignalGroup/invalid 4088s ok 2 /GObject/SignalGroup/simple 4088s ok 3 /GObject/SignalGroup/changing-target 4088s ok 4 /GObject/SignalGroup/blocking 4088s ok 5 /GObject/SignalGroup/weak-ref-target 4088s ok 6 /GObject/SignalGroup/connect-object 4088s ok 7 /GObject/SignalGroup/signal-parsing 4088s ok 8 /GObject/SignalGroup/properties 4088s ok 9 /GObject/SignalGroup/interface 4088s # Start of signal-parsing tests 4088s # End of signal-parsing tests 4088s # End of SignalGroup tests 4088s # End of GObject tests 4088s ok - glib/signalgroup.test 4088s # Running test: glib/gdbus-proxy-threads.test 4088s TAP version 13 4088s # random seed: R02S5d4e60ce59508b322b97daac568815b6 4088s 1..1 4088s # Start of gdbus tests 4088s # Start of proxy tests 4088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_LZR5J2/gdbus/proxy/vs-threads/.dirs/home 4088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_LZR5J2/gdbus/proxy/vs-threads/.dirs/cache 4088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_LZR5J2/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_LZR5J2/gdbus/proxy/vs-threads/.dirs/system-config2 4088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_LZR5J2/gdbus/proxy/vs-threads/.dirs/config 4088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_LZR5J2/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_LZR5J2/gdbus/proxy/vs-threads/.dirs/system-data2 4088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_LZR5J2/gdbus/proxy/vs-threads/.dirs/data 4088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_LZR5J2/gdbus/proxy/vs-threads/.dirs/state 4088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_LZR5J2/gdbus/proxy/vs-threads/.dirs/runtime 4088s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4092s # Executing: glib/gdbus-proxy-threads.test 4096s ok 1 /gdbus/proxy/vs-threads 4096s # slow test /gdbus/proxy/vs-threads executed in 7.83 secs 4096s # End of proxy tests 4096s # End of gdbus tests 4096s cleaning up pid 12180 4096s ok - glib/gdbus-proxy-threads.test 4096s # Running test: glib/file-thumbnail.test 4096s TAP version 13 4096s # random seed: R02S10d980fa3b8e23546aba26df109cd771 4096s 1..7 4096s # Start of file-thumbnail tests 4096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/fail/.dirs/home 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/fail/.dirs/cache 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/fail/.dirs/system-config2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/fail/.dirs/config 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/fail/.dirs/system-data2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/fail/.dirs/data 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/fail/.dirs/state 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/fail/.dirs/runtime 4096s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 4096s # Created test thumbnail at /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 4096s ok 1 /file-thumbnail/fail 4096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/size-priority/.dirs/home 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/size-priority/.dirs/cache 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/size-priority/.dirs/system-config2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/size-priority/.dirs/config 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/size-priority/.dirs/system-data2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/size-priority/.dirs/data 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/size-priority/.dirs/state 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/size-priority/.dirs/runtime 4096s # Created test thumbnail at /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 4096s # Created test thumbnail at /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 4096s # Created test thumbnail at /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 4096s # Created test thumbnail at /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 4096s # Created test thumbnail at /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 4096s ok 2 /file-thumbnail/size-priority 4096s # Start of valid tests 4096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/normal/.dirs/home 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/normal/.dirs/cache 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/normal/.dirs/system-config2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/normal/.dirs/config 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/normal/.dirs/system-data2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/normal/.dirs/data 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/normal/.dirs/state 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/normal/.dirs/runtime 4096s # Created test thumbnail at /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 4096s ok 3 /file-thumbnail/valid/normal 4096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/large/.dirs/home 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/large/.dirs/cache 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/large/.dirs/system-config2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/large/.dirs/config 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/large/.dirs/system-data2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/large/.dirs/data 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/large/.dirs/state 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/large/.dirs/runtime 4096s # Created test thumbnail at /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 4096s ok 4 /file-thumbnail/valid/large 4096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/x-large/.dirs/home 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/x-large/.dirs/cache 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/x-large/.dirs/system-config2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/x-large/.dirs/config 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/x-large/.dirs/system-data2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/x-large/.dirs/data 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/x-large/.dirs/state 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/x-large/.dirs/runtime 4096s # Created test thumbnail at /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 4096s ok 5 /file-thumbnail/valid/x-large 4096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/xx-large/.dirs/home 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/xx-large/.dirs/cache 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/xx-large/.dirs/system-config2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/xx-large/.dirs/config 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/xx-large/.dirs/system-data2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/xx-large/.dirs/data 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/xx-large/.dirs/state 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/xx-large/.dirs/runtime 4096s # Created test thumbnail at /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 4096s ok 6 /file-thumbnail/valid/xx-large 4096s # End of valid tests 4096s # Start of unknown tests 4096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/unknown/super-large/.dirs/home 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/unknown/super-large/.dirs/cache 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/unknown/super-large/.dirs/system-config2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/unknown/super-large/.dirs/config 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/unknown/super-large/.dirs/system-data2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/unknown/super-large/.dirs/data 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/unknown/super-large/.dirs/state 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/unknown/super-large/.dirs/runtime 4096s # Created test thumbnail at /tmp/test_file-thumbnail_RMZXJ2/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 4096s ok 7 /file-thumbnail/unknown/super-large 4096s # End of unknown tests 4096s # End of file-thumbnail tests 4096s ok - glib/file-thumbnail.test 4096s # Running test: glib/trash.test 4096s TAP version 13 4096s # random seed: R02S6e3c5e6822b26270c6d15031a69164b7 4096s 1..2 4096s # Start of trash tests 4096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 4096s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 4096s # File: /tmp/test-trashSC1VJ2 (parent st_dev: 2049) 4096s # Home: /home/ubuntu (st_dev: 2049) 4096s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 4096s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 4096s # Target: /home/ubuntu/.local (mount: /) 4096s # Tmp: /tmp/test-trashEJ4VJ2 (mount: /) 4096s ok 2 /trash/symlinks # SKIP The tmp has to be on another mount than the home to run this test 4096s # End of trash tests 4096s ok - glib/trash.test 4096s # Running test: glib/gdbus-error.test 4096s TAP version 13 4096s # random seed: R02Scbeef86adea9cdc9d277058613ac9ff6 4096s 1..4 4096s # Start of gdbus tests 4096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/registered-errors/.dirs/home 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/registered-errors/.dirs/cache 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_B3AXJ2/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_B3AXJ2/gdbus/registered-errors/.dirs/system-config2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/registered-errors/.dirs/config 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_B3AXJ2/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_B3AXJ2/gdbus/registered-errors/.dirs/system-data2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/registered-errors/.dirs/data 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/registered-errors/.dirs/state 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_B3AXJ2/gdbus/registered-errors/.dirs/runtime 4096s ok 1 /gdbus/registered-errors 4096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/unregistered-errors/.dirs/home 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/unregistered-errors/.dirs/cache 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_B3AXJ2/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_B3AXJ2/gdbus/unregistered-errors/.dirs/system-config2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/unregistered-errors/.dirs/config 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_B3AXJ2/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_B3AXJ2/gdbus/unregistered-errors/.dirs/system-data2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/unregistered-errors/.dirs/data 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/unregistered-errors/.dirs/state 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_B3AXJ2/gdbus/unregistered-errors/.dirs/runtime 4096s ok 2 /gdbus/unregistered-errors 4096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/transparent-gerror/.dirs/home 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/transparent-gerror/.dirs/cache 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_B3AXJ2/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_B3AXJ2/gdbus/transparent-gerror/.dirs/system-config2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/transparent-gerror/.dirs/config 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_B3AXJ2/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_B3AXJ2/gdbus/transparent-gerror/.dirs/system-data2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/transparent-gerror/.dirs/data 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/transparent-gerror/.dirs/state 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_B3AXJ2/gdbus/transparent-gerror/.dirs/runtime 4096s ok 3 /gdbus/transparent-gerror 4096s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/register-error/.dirs/home 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/register-error/.dirs/cache 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_B3AXJ2/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_B3AXJ2/gdbus/register-error/.dirs/system-config2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/register-error/.dirs/config 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_B3AXJ2/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_B3AXJ2/gdbus/register-error/.dirs/system-data2 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/register-error/.dirs/data 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_B3AXJ2/gdbus/register-error/.dirs/state 4096s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_B3AXJ2/gdbus/register-error/.dirs/runtime 4096s ok 4 /gdbus/register-error 4096s # End of gdbus tests 4096s ok - glib/gdbus-error.test 4096s # Running test: glib/codegen.py.test 4097s # Executing: glib/codegen.py.test 4097s TAP version 13 4097s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 4097s # tmpdir: /tmp/tmpedh4l7wp 4097s # codegen: /usr/bin/gdbus-codegen 4097s # /tmp/tmpedh4l7wp/tmpb20p28th.xml: 4097s # 4097s # 4097s # 4097s # 4097s # 4097s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpedh4l7wp/tmpb20p28th.xml', '--output', '-', '--header'] 4097s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4097s # Output: /* 4097s # * This file is generated by gdbus-codegen, do not modify it. 4097s # * 4097s # * The license of this code is the same as for the D-Bus interface description 4097s # * it was derived from. Note that it links to GLib, so must comply with the 4097s # * LGPL linking clauses. 4097s # */ 4097s # 4097s # #ifndef __STDOUT__ 4097s # #define __STDOUT__ 4097s # 4097s # #include 4097s # 4097s # G_BEGIN_DECLS 4097s # 4097s # 4097s # /* ------------------------------------------------------------------------ */ 4097s # /* Declarations for org.project.UsefulInterface */ 4097s # 4097s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 4097s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 4097s # 4097s # struct _OrgProjectUsefulInterface; 4097s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 4097s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 4097s # 4097s # struct _OrgProjectUsefulInterfaceIface 4097s # { 4097s # GTypeInterface parent_iface; 4097s # 4097s # gboolean (*handle_useful_method) ( 4097s # OrgProjectUsefulInterface *object, 4097s # GDBusMethodInvocation *invocation); 4097s # 4097s # }; 4097s # 4097s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 4097s # 4097s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 4097s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 4097s # 4097s # 4097s # /* D-Bus method call completion functions: */ 4097s # void org_project_useful_interface_complete_useful_method ( 4097s # OrgProjectUsefulInterface *object, 4097s # GDBusMethodInvocation *invocation); 4097s # 4097s # 4097s # 4097s # /* D-Bus method calls: */ 4097s # void org_project_useful_interface_call_useful_method ( 4097s # OrgProjectUsefulInterface *proxy, 4097s # GCancellable *cancellable, 4097s # GAsyncReadyCallback callback, 4097s # gpointer user_data); 4097s # 4097s # gboolean org_project_useful_interface_call_useful_method_finish ( 4097s # OrgProjectUsefulInterface *proxy, 4097s # GAsyncResult *res, 4097s # GError **error); 4097s # 4097s # gboolean org_project_useful_interface_call_useful_method_sync ( 4097s # OrgProjectUsefulInterface *proxy, 4097s # GCancellable *cancellable, 4097s # GError **error); 4097s # 4097s # 4097s # 4097s # /* ---- */ 4097s # 4097s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 4097s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 4097s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 4097s # 4097s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 4097s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 4097s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 4097s # 4097s # struct _OrgProjectUsefulInterfaceProxy 4097s # { 4097s # /*< private >*/ 4097s # GDBusProxy parent_instance; 4097s # OrgProjectUsefulInterfaceProxyPrivate *priv; 4097s # }; 4097s # 4097s # struct _OrgProjectUsefulInterfaceProxyClass 4097s # { 4097s # GDBusProxyClass parent_class; 4097s # }; 4097s # 4097s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 4097s # 4097s # #if GLIB_CHECK_VERSION(2, 44, 0) 4097s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 4097s # #endif 4097s # 4097s # void org_project_useful_interface_proxy_new ( 4097s # GDBusConnection *connection, 4097s # GDBusProxyFlags flags, 4097s # const gchar *name, 4097s # const gchar *object_path, 4097s # GCancellable *cancellable, 4097s # GAsyncReadyCallback callback, 4097s # gpointer user_data); 4097s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 4097s # GAsyncResult *res, 4097s # GError **error); 4097s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 4097s # GDBusConnection *connection, 4097s # GDBusProxyFlags flags, 4097s # const gchar *name, 4097s # const gchar *object_path, 4097s # GCancellable *cancellable, 4097s # GError **error); 4097s # 4097s # void org_project_useful_interface_proxy_new_for_bus ( 4097s # GBusType bus_type, 4097s # GDBusProxyFlags flags, 4097s # const gchar *name, 4097s # const gchar *object_path, 4097s # GCancellable *cancellable, 4097s # GAsyncReadyCallback callback, 4097s # gpointer user_data); 4097s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 4097s # GAsyncResult *res, 4097s # GError **error); 4097s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 4097s # GBusType bus_type, 4097s # GDBusProxyFlags flags, 4097s # const gchar *name, 4097s # const gchar *object_path, 4097s # GCancellable *cancellable, 4097s # GError **error); 4097s # 4097s # 4097s # /* ---- */ 4097s # 4097s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 4097s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 4097s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 4097s # 4097s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 4097s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 4097s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 4097s # 4097s # struct _OrgProjectUsefulInterfaceSkeleton 4097s # { 4097s # /*< private >*/ 4097s # GDBusInterfaceSkeleton parent_instance; 4097s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 4097s # }; 4097s # 4097s # struct _OrgProjectUsefulInterfaceSkeletonClass 4097s # { 4097s # GDBusInterfaceSkeletonClass parent_class; 4097s # }; 4097s # 4097s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 4097s # 4097s # #if GLIB_CHECK_VERSION(2, 44, 0) 4097s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 4097s # #endif 4097s # 4097s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 4097s # 4097s # 4097s # G_END_DECLS 4097s # 4097s # #endif /* __STDOUT__ */ 4097s # /tmp/tmpedh4l7wp/tmprs84pexd.xml: 4097s # 4097s # 4097s # 4097s # 4097s # 4097s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpedh4l7wp/tmprs84pexd.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 4097s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4097s # Output: /* 4097s # * This file is generated by gdbus-codegen, do not modify it. 4097s # * 4097s # * The license of this code is the same as for the D-Bus interface description 4097s # * it was derived from. Note that it links to GLib, so must comply with the 4097s # * LGPL linking clauses. 4097s # */ 4097s # 4097s # #ifndef __STDOUT__ 4097s # #define __STDOUT__ 4097s # 4097s # #include 4097s # 4097s # G_BEGIN_DECLS 4097s # 4097s # 4097s # /* ------------------------------------------------------------------------ */ 4097s # /* Declarations for org.project.UsefulInterface */ 4097s # 4097s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 4097s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 4097s # 4097s # struct _OrgProjectUsefulInterface; 4097s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 4097s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 4097s # 4097s # struct _OrgProjectUsefulInterfaceIface 4097s # { 4097s # GTypeInterface parent_iface; 4097s # 4097s # gboolean (*handle_useful_method) ( 4097s # OrgProjectUsefulInterface *object, 4097s # GDBusMethodInvocation *invocation); 4097s # 4097s # }; 4097s # 4097s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 4097s # 4097s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 4097s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 4097s # 4097s # 4097s # /* D-Bus method call completion functions: */ 4097s # void org_project_useful_interface_complete_useful_method ( 4097s # OrgProjectUsefulInterface *object, 4097s # GDBusMethodInvocation *invocation); 4097s # 4097s # 4097s # 4097s # /* D-Bus method calls: */ 4097s # void org_project_useful_interface_call_useful_method ( 4097s # OrgProjectUsefulInterface *proxy, 4097s # GCancellable *cancellable, 4097s # GAsyncReadyCallback callback, 4097s # gpointer user_data); 4097s # 4097s # gboolean org_project_useful_interface_call_useful_method_finish ( 4097s # OrgProjectUsefulInterface *proxy, 4097s # GAsyncResult *res, 4097s # GError **error); 4097s # 4097s # gboolean org_project_useful_interface_call_useful_method_sync ( 4097s # OrgProjectUsefulInterface *proxy, 4097s # GCancellable *cancellable, 4097s # GError **error); 4097s # 4097s # 4097s # 4097s # /* ---- */ 4097s # 4097s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 4097s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 4097s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 4097s # 4097s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 4097s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 4097s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 4097s # 4097s # struct _OrgProjectUsefulInterfaceProxy 4097s # { 4097s # /*< private >*/ 4097s # GDBusProxy parent_instance; 4097s # OrgProjectUsefulInterfaceProxyPrivate *priv; 4097s # }; 4097s # 4097s # struct _OrgProjectUsefulInterfaceProxyClass 4097s # { 4097s # GDBusProxyClass parent_class; 4097s # }; 4097s # 4097s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 4097s # 4097s # #if GLIB_CHECK_VERSION(2, 44, 0) 4097s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 4097s # #endif 4097s # 4097s # void org_project_useful_interface_proxy_new ( 4097s # GDBusConnection *connection, 4097s # GDBusProxyFlags flags, 4097s # const gchar *name, 4097s # const gchar *object_path, 4097s # GCancellable *cancellable, 4097s # GAsyncReadyCallback callback, 4097s # gpointer user_data); 4097s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 4097s # GAsyncResult *res, 4097s # GError **error); 4097s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 4097s # GDBusConnection *connection, 4097s # GDBusProxyFlags flags, 4097s # const gchar *name, 4097s # const gchar *object_path, 4097s # GCancellable *cancellable, 4097s # GError **error); 4097s # 4097s # void org_project_useful_interface_proxy_new_for_bus ( 4097s # GBusType bus_type, 4097s # GDBusProxyFlags flags, 4097s # const gchar *name, 4097s # const gchar *object_path, 4097s # GCancellable *cancellable, 4097s # GAsyncReadyCallback callback, 4097s # gpointer user_data); 4097s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 4097s # GAsyncResult *res, 4097s # GError **error); 4097s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 4097s # GBusType bus_type, 4097s # GDBusProxyFlags flags, 4097s # const gchar *name, 4097s # const gchar *object_path, 4097s # GCancellable *cancellable, 4097s # GError **error); 4097s # 4097s # 4097s # /* ---- */ 4097s # 4097s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 4097s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 4097s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 4097s # 4097s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 4097s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 4097s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 4097s # 4097s # struct _OrgProjectUsefulInterfaceSkeleton 4097s # { 4097s # /*< private >*/ 4097s # GDBusInterfaceSkeleton parent_instance; 4097s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 4097s # }; 4097s # 4097s # struct _OrgProjectUsefulInterfaceSkeletonClass 4097s # { 4097s # GDBusInterfaceSkeletonClass parent_class; 4097s # }; 4097s # 4097s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 4097s # 4097s # #if GLIB_CHECK_VERSION(2, 44, 0) 4097s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 4097s # #endif 4097s # 4097s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 4097s # 4097s # 4097s # G_END_DECLS 4097s # 4097s # #endif /* __STDOUT__ */ 4097s # /tmp/tmpedh4l7wp/tmpuh0h4vl1.xml: 4097s # 4097s # 4097s # 4097s # 4097s # 4097s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpedh4l7wp/tmpuh0h4vl1.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 4097s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4097s # Output: /* 4097s # * This file is generated by gdbus-codegen, do not modify it. 4097s # * 4097s # * The license of this code is the same as for the D-Bus interface description 4097s # * it was derived from. Note that it links to GLib, so must comply with the 4097s # * LGPL linking clauses. 4097s # */ 4097s # 4097s # #ifndef __STDOUT__ 4097s # #define __STDOUT__ 4097s # 4097s # #include 4097s # 4097s # G_BEGIN_DECLS 4097s # 4097s # 4097s # /* ------------------------------------------------------------------------ */ 4097s # /* Declarations for org.project.UsefulInterface */ 4097s # 4097s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 4097s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 4097s # 4097s # struct _OrgProjectUsefulInterface; 4097s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 4097s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 4097s # 4097s # struct _OrgProjectUsefulInterfaceIface 4097s # { 4097s # GTypeInterface parent_iface; 4097s # 4097s # gboolean (*handle_useful_method) ( 4097s # OrgProjectUsefulInterface *object, 4097s # GDBusMethodInvocation *invocation); 4097s # 4097s # }; 4097s # 4097s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 4097s # 4097s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 4097s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 4097s # 4097s # 4097s # /* D-Bus method call completion functions: */ 4097s # void org_project_useful_interface_complete_useful_method ( 4097s # OrgProjectUsefulInterface *object, 4097s # GDBusMethodInvocation *invocation); 4097s # 4097s # 4097s # 4097s # /* D-Bus method calls: */ 4097s # void org_project_useful_interface_call_useful_method ( 4097s # OrgProjectUsefulInterface *proxy, 4097s # GDBusCallFlags call_flags, 4097s # gint timeout_msec, 4097s # GCancellable *cancellable, 4097s # GAsyncReadyCallback callback, 4097s # gpointer user_data); 4097s # 4097s # gboolean org_project_useful_interface_call_useful_method_finish ( 4097s # OrgProjectUsefulInterface *proxy, 4097s # GAsyncResult *res, 4097s # GError **error); 4097s # 4097s # gboolean org_project_useful_interface_call_useful_method_sync ( 4097s # OrgProjectUsefulInterface *proxy, 4097s # GDBusCallFlags call_flags, 4097s # gint timeout_msec, 4097s # GCancellable *cancellable, 4097s # GError **error); 4097s # 4097s # 4097s # 4097s # /* ---- */ 4097s # 4097s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 4097s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 4097s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 4097s # 4097s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 4097s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 4097s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 4097s # 4097s # struct _OrgProjectUsefulInterfaceProxy 4097s # { 4097s # /*< private >*/ 4097s # GDBusProxy parent_instance; 4097s # OrgProjectUsefulInterfaceProxyPrivate *priv; 4097s # }; 4097s # 4097s # struct _OrgProjectUsefulInterfaceProxyClass 4097s # { 4097s # GDBusProxyClass parent_class; 4097s # }; 4097s # 4097s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 4097s # 4097s # #if GLIB_CHECK_VERSION(2, 44, 0) 4097s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 4097s # #endif 4097s # 4097s # void org_project_useful_interface_proxy_new ( 4097s # GDBusConnection *connection, 4097s # GDBusProxyFlags flags, 4097s # const gchar *name, 4097s # const gchar *object_path, 4097s # GCancellable *cancellable, 4097s # GAsyncReadyCallback callback, 4097s # gpointer user_data); 4097s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 4097s # GAsyncResult *res, 4097s # GError **error); 4097s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 4097s # GDBusConnection *connection, 4097s # GDBusProxyFlags flags, 4097s # const gchar *name, 4097s # const gchar *object_path, 4097s # GCancellable *cancellable, 4097s # GError **error); 4097s # 4097s # void org_project_useful_interface_proxy_new_for_bus ( 4097s # GBusType bus_type, 4097s # GDBusProxyFlags flags, 4097s # const gchar *name, 4097s # const gchar *object_path, 4097s # GCancellable *cancellable, 4097s # GAsyncReadyCallback callback, 4097s # gpointer user_data); 4097s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 4097s # GAsyncResult *res, 4097s # GError **error); 4097s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 4097s # GBusType bus_type, 4097s # GDBusProxyFlags flags, 4097s # const gchar *name, 4097s # const gchar *object_path, 4097s # GCancellable *cancellable, 4097s # GError **error); 4097s # 4097s # 4097s # /* ---- */ 4097s # 4097s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 4097s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 4097s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 4097s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 4097s # 4097s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 4097s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 4097s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 4097s # 4097s # struct _OrgProjectUsefulInterfaceSkeleton 4097s # { 4097s # /*< private >*/ 4097s # GDBusInterfaceSkeleton parent_instance; 4097s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 4097s # }; 4097s # 4097s # struct _OrgProjectUsefulInterfaceSkeletonClass 4097s # { 4097s # GDBusInterfaceSkeletonClass parent_class; 4097s # }; 4097s # 4097s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 4097s # 4097s # #if GLIB_CHECK_VERSION(2, 44, 0) 4097s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 4097s # #endif 4097s # 4097s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 4097s # 4097s # 4097s # G_END_DECLS 4097s # 4097s # #endif /* __STDOUT__ */ 4100s ok 2 __main__.TestCodegen.test_dbus_types 4100s # tmpdir: /tmp/tmpj1gdj275 4100s # codegen: /usr/bin/gdbus-codegen 4100s # /tmp/tmpj1gdj275/tmpb50whewy.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmpb50whewy.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # /tmp/tmpj1gdj275/tmp711bd0q3.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmp711bd0q3.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # /tmp/tmpj1gdj275/tmpg0xe9or_.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmpg0xe9or_.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # /tmp/tmpj1gdj275/tmp32kc6e7h.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmp32kc6e7h.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # /tmp/tmpj1gdj275/tmpizuljeg1.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmpizuljeg1.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # /tmp/tmpj1gdj275/tmp0_b9neo7.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmp0_b9neo7.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # /tmp/tmpj1gdj275/tmpbmmssf07.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmpbmmssf07.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # /tmp/tmpj1gdj275/tmpsxpclg3k.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmpsxpclg3k.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # /tmp/tmpj1gdj275/tmp7kfqd6tk.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmp7kfqd6tk.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # /tmp/tmpj1gdj275/tmp6pzbko3a.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmp6pzbko3a.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # /tmp/tmpj1gdj275/tmpjx76d76r.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmpjx76d76r.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # /tmp/tmpj1gdj275/tmpk_lgrpvi.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmpk_lgrpvi.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # /tmp/tmpj1gdj275/tmpf91l7cq2.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmpf91l7cq2.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # /tmp/tmpj1gdj275/tmpir49933q.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmpir49933q.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # Output: /* 4100s # * This file is generated by gdbus-codegen, do not modify it. 4100s # * 4100s # * The license of this code is the same as for the D-Bus interface description 4100s # * it was derived from. Note that it links to GLib, so must comply with the 4100s # * LGPL linking clauses. 4100s # */ 4100s # 4100s # #ifdef HAVE_CONFIG_H 4100s # # include "config.h" 4100s # #endif 4100s # 4100s # #include 4100s # #ifdef G_OS_UNIX 4100s # # include 4100s # #endif 4100s # 4100s # #ifdef G_ENABLE_DEBUG 4100s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4100s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4100s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4100s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4100s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4100s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4100s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4100s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4100s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4100s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4100s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4100s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4100s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4100s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4100s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4100s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4100s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4100s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4100s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4100s # #else /* !G_ENABLE_DEBUG */ 4100s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4100s # * Do not access GValues directly in your code. Instead, use the 4100s # * g_value_get_*() functions 4100s # */ 4100s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4100s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4100s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4100s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4100s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4100s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4100s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4100s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4100s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4100s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4100s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4100s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4100s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4100s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4100s # #endif /* !G_ENABLE_DEBUG */ 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusArgInfo parent_struct; 4100s # gboolean use_gvariant; 4100s # } _ExtendedGDBusArgInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusMethodInfo parent_struct; 4100s # const gchar *signal_name; 4100s # gboolean pass_fdlist; 4100s # } _ExtendedGDBusMethodInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusSignalInfo parent_struct; 4100s # const gchar *signal_name; 4100s # } _ExtendedGDBusSignalInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusPropertyInfo parent_struct; 4100s # const gchar *hyphen_name; 4100s # guint use_gvariant : 1; 4100s # guint emits_changed_signal : 1; 4100s # } _ExtendedGDBusPropertyInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusInterfaceInfo parent_struct; 4100s # const gchar *hyphen_name; 4100s # } _ExtendedGDBusInterfaceInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info; 4100s # guint prop_id; 4100s # GValue orig_value; /* the value before the change */ 4100s # } ChangedProperty; 4100s # 4100s # static void 4100s # _changed_property_free (ChangedProperty *data) 4100s # { 4100s # g_value_unset (&data->orig_value); 4100s # g_free (data); 4100s # } 4100s # 4100s # static gboolean 4100s # _g_strv_equal0 (gchar **a, gchar **b) 4100s # { 4100s # gboolean ret = FALSE; 4100s # guint n; 4100s # if (a == NULL && b == NULL) 4100s # { 4100s # ret = TRUE; 4100s # goto out; 4100s # } 4100s # if (a == NULL || b == NULL) 4100s # goto out; 4100s # if (g_strv_length (a) != g_strv_length (b)) 4100s # goto out; 4100s # for (n = 0; a[n] != NULL; n++) 4100s # if (g_strcmp0 (a[n], b[n]) != 0) 4100s # goto out; 4100s # ret = TRUE; 4100s # out: 4100s # return ret; 4100s # } 4100s # 4100s # static gboolean 4100s # _g_variant_equal0 (GVariant *a, GVariant *b) 4100s # { 4100s # gboolean ret = FALSE; 4100s # if (a == NULL && b == NULL) 4100s # { 4100s # ret = TRUE; 4100s # goto out; 4100s # } 4100s # if (a == NULL || b == NULL) 4100s # goto out; 4100s # ret = g_variant_equal (a, b); 4100s # out: 4100s # return ret; 4100s # } 4100s # 4100s # G_GNUC_UNUSED static gboolean 4100s # _g_value_equal (const GValue *a, const GValue *b) 4100s # { 4100s # gboolean ret = FALSE; 4100s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4100s # switch (G_VALUE_TYPE (a)) 4100s # { 4100s # case G_TYPE_BOOLEAN: 4100s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4100s # break; 4100s # case G_TYPE_UCHAR: 4100s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4100s # break; 4100s # case G_TYPE_INT: 4100s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4100s # break; 4100s # case G_TYPE_UINT: 4100s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4100s # break; 4100s # case G_TYPE_INT64: 4100s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4100s # break; 4100s # case G_TYPE_UINT64: 4100s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4100s # break; 4100s # case G_TYPE_DOUBLE: 4100s # { 4100s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4100s # gdouble da = g_value_get_double (a); 4100s # gdouble db = g_value_get_double (b); 4100s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4100s # } 4100s # break; 4100s # case G_TYPE_STRING: 4100s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4100s # break; 4100s # case G_TYPE_VARIANT: 4100s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4100s # break; 4100s # default: 4100s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4100s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4100s # else 4100s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4100s # break; 4100s # } 4100s # return ret; 4100s # } 4100s # 4100s # /* ------------------------------------------------------------------------ 4100s # * Code for interface GoodTypes 4100s # * ------------------------------------------------------------------------ 4100s # */ 4100s # 4100s # /** 4100s # * SECTION:GoodTypes 4100s # * @title: GoodTypes 4100s # * @short_description: Generated C code for the GoodTypes D-Bus interface 4100s # * 4100s # * This section contains code for working with the GoodTypes D-Bus interface in C. 4100s # */ 4100s # 4100s # /* ---- Introspection data for GoodTypes ---- */ 4100s # 4100s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 4100s # { 4100s # { 4100s # -1, 4100s # (gchar *) "GoodPropertyType", 4100s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 4100s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 4100s # NULL 4100s # }, 4100s # "good-property-type", 4100s # FALSE, 4100s # TRUE 4100s # }; 4100s # 4100s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 4100s # { 4100s # &_good_types_property_info_good_property_type.parent_struct, 4100s # NULL 4100s # }; 4100s # 4100s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 4100s # { 4100s # { 4100s # -1, 4100s # (gchar *) "GoodTypes", 4100s # NULL, 4100s # NULL, 4100s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 4100s # NULL 4100s # }, 4100s # "good-types", 4100s # }; 4100s # 4100s # 4100s # /** 4100s # * good_types_interface_info: 4100s # * 4100s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 4100s # * 4100s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4100s # */ 4100s # GDBusInterfaceInfo * 4100s # good_types_interface_info (void) 4100s # { 4100s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 4100s # } 4100s # 4100s # /** 4100s # * good_types_override_properties: 4100s # * @klass: The class structure for a #GObject derived class. 4100s # * @property_id_begin: The property id to assign to the first overridden property. 4100s # * 4100s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 4100s # * The properties are overridden in the order they are defined. 4100s # * 4100s # * Returns: The last property id. 4100s # */ 4100s # guint 4100s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 4100s # { 4100s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 4100s # return property_id_begin - 1; 4100s # } 4100s # 4100s # 4100s # 4100s # /** 4100s # * GoodTypes: 4100s # * 4100s # * Abstract interface type for the D-Bus interface GoodTypes. 4100s # */ 4100s # 4100s # /** 4100s # * GoodTypesIface: 4100s # * @parent_iface: The parent interface. 4100s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 4100s # * 4100s # * Virtual table for the D-Bus interface GoodTypes. 4100s # */ 4100s # 4100s # typedef GoodTypesIface GoodTypesInterface; 4100s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 4100s # 4100s # static void 4100s # good_types_default_init (GoodTypesIface *iface) 4100s # { 4100s # /* GObject properties for D-Bus properties: */ 4100s # /** 4100s # * GoodTypes:good-property-type: 4100s # * 4100s # * Represents the D-Bus property "GoodPropertyType". 4100s # * 4100s # * 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. 4100s # */ 4100s # g_object_interface_install_property (iface, 4100s # 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)); 4100s # } 4100s # 4100s # /** 4100s # * good_types_get_good_property_type: (skip) 4100s # * @object: A GoodTypes. 4100s # * 4100s # * Gets the value of the "GoodPropertyType" D-Bus property. 4100s # * 4100s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 4100s # * 4100s # * 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. 4100s # * 4100s # * 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. 4100s # */ 4100s # GVariant * 4100s # good_types_get_good_property_type (GoodTypes *object) 4100s # { 4100s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 4100s # 4100s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 4100s # } 4100s # 4100s # /** 4100s # * good_types_dup_good_property_type: (skip) 4100s # * @object: A GoodTypes. 4100s # * 4100s # * Gets a copy of the "GoodPropertyType" D-Bus property. 4100s # * 4100s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 4100s # * 4100s # * 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(). 4100s # */ 4100s # GVariant * 4100s # good_types_dup_good_property_type (GoodTypes *object) 4100s # { 4100s # GVariant *value; 4100s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 4100s # return value; 4100s # } 4100s # 4100s # /** 4100s # * good_types_set_good_property_type: (skip) 4100s # * @object: A GoodTypes. 4100s # * @value: The value to set. 4100s # * 4100s # * Sets the "GoodPropertyType" D-Bus property to @value. 4100s # * 4100s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 4100s # */ 4100s # void 4100s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 4100s # { 4100s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 4100s # } 4100s # 4100s # /* ------------------------------------------------------------------------ */ 4100s # 4100s # /** 4100s # * GoodTypesProxy: 4100s # * 4100s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 4100s # */ 4100s # 4100s # /** 4100s # * GoodTypesProxyClass: 4100s # * @parent_class: The parent class. 4100s # * 4100s # * Class structure for GoodTypesProxy. 4100s # */ 4100s # 4100s # struct _GoodTypesProxyPrivate 4100s # { 4100s # GData *qdata; 4100s # }; 4100s # 4100s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 4100s # 4100s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4100s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 4100s # G_ADD_PRIVATE (GoodTypesProxy) 4100s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 4100s # 4100s # #else 4100s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 4100s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 4100s # 4100s # #endif 4100s # static void 4100s # good_types_proxy_finalize (GObject *object) 4100s # { 4100s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 4100s # g_datalist_clear (&proxy->priv->qdata); 4100s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_get_property (GObject *object, 4100s # guint prop_id, 4100s # GValue *value, 4100s # GParamSpec *pspec G_GNUC_UNUSED) 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info; 4100s # GVariant *variant; 4100s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4100s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 4100s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 4100s # if (info->use_gvariant) 4100s # { 4100s # g_value_set_variant (value, variant); 4100s # } 4100s # else 4100s # { 4100s # if (variant != NULL) 4100s # g_dbus_gvariant_to_gvalue (variant, value); 4100s # } 4100s # if (variant != NULL) 4100s # g_variant_unref (variant); 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 4100s # GAsyncResult *res, 4100s # gpointer user_data) 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info = user_data; 4100s # GError *error; 4100s # GVariant *_ret; 4100s # error = NULL; 4100s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 4100s # if (!_ret) 4100s # { 4100s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 4100s # info->parent_struct.name, 4100s # error->message, g_quark_to_string (error->domain), error->code); 4100s # g_error_free (error); 4100s # } 4100s # else 4100s # { 4100s # g_variant_unref (_ret); 4100s # } 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_set_property (GObject *object, 4100s # guint prop_id, 4100s # const GValue *value, 4100s # GParamSpec *pspec G_GNUC_UNUSED) 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info; 4100s # GVariant *variant; 4100s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4100s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 4100s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 4100s # g_dbus_proxy_call (G_DBUS_PROXY (object), 4100s # "org.freedesktop.DBus.Properties.Set", 4100s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 4100s # G_DBUS_CALL_FLAGS_NONE, 4100s # -1, 4100s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 4100s # g_variant_unref (variant); 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_g_signal (GDBusProxy *proxy, 4100s # const gchar *sender_name G_GNUC_UNUSED, 4100s # const gchar *signal_name, 4100s # GVariant *parameters) 4100s # { 4100s # _ExtendedGDBusSignalInfo *info; 4100s # GVariantIter iter; 4100s # GVariant *child; 4100s # GValue *paramv; 4100s # gsize num_params; 4100s # gsize n; 4100s # guint signal_id; 4100s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 4100s # if (info == NULL) 4100s # return; 4100s # num_params = g_variant_n_children (parameters); 4100s # paramv = g_new0 (GValue, num_params + 1); 4100s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 4100s # g_value_set_object (¶mv[0], proxy); 4100s # g_variant_iter_init (&iter, parameters); 4100s # n = 1; 4100s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4100s # { 4100s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4100s # if (arg_info->use_gvariant) 4100s # { 4100s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4100s # g_value_set_variant (¶mv[n], child); 4100s # n++; 4100s # } 4100s # else 4100s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4100s # g_variant_unref (child); 4100s # } 4100s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 4100s # g_signal_emitv (paramv, signal_id, 0, NULL); 4100s # for (n = 0; n < num_params + 1; n++) 4100s # g_value_unset (¶mv[n]); 4100s # g_free (paramv); 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 4100s # GVariant *changed_properties, 4100s # const gchar *const *invalidated_properties) 4100s # { 4100s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 4100s # guint n; 4100s # const gchar *key; 4100s # GVariantIter *iter; 4100s # _ExtendedGDBusPropertyInfo *info; 4100s # g_variant_get (changed_properties, "a{sv}", &iter); 4100s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4100s # { 4100s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 4100s # g_datalist_remove_data (&proxy->priv->qdata, key); 4100s # if (info != NULL) 4100s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4100s # } 4100s # g_variant_iter_free (iter); 4100s # for (n = 0; invalidated_properties[n] != NULL; n++) 4100s # { 4100s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 4100s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4100s # if (info != NULL) 4100s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4100s # } 4100s # } 4100s # 4100s # static GVariant * 4100s # good_types_proxy_get_good_property_type (GoodTypes *object) 4100s # { 4100s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 4100s # GVariant *variant; 4100s # GVariant *value = NULL; 4100s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 4100s # value = variant; 4100s # if (variant != NULL) 4100s # g_variant_unref (variant); 4100s # return value; 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_init (GoodTypesProxy *proxy) 4100s # { 4100s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4100s # proxy->priv = good_types_proxy_get_instance_private (proxy); 4100s # #else 4100s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 4100s # #endif 4100s # 4100s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 4100s # { 4100s # GObjectClass *gobject_class; 4100s # GDBusProxyClass *proxy_class; 4100s # 4100s # gobject_class = G_OBJECT_CLASS (klass); 4100s # gobject_class->finalize = good_types_proxy_finalize; 4100s # gobject_class->get_property = good_types_proxy_get_property; 4100s # gobject_class->set_property = good_types_proxy_set_property; 4100s # 4100s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4100s # proxy_class->g_signal = good_types_proxy_g_signal; 4100s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 4100s # 4100s # good_types_override_properties (gobject_class, 1); 4100s # 4100s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4100s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 4100s # #endif 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_iface_init (GoodTypesIface *iface) 4100s # { 4100s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 4100s # } 4100s # 4100s # /** 4100s # * good_types_proxy_new: 4100s # * @connection: A #GDBusConnection. 4100s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4100s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4100s # * @object_path: An object path. 4100s # * @cancellable: (nullable): A #GCancellable or %NULL. 4100s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4100s # * @user_data: User data to pass to @callback. 4100s # * 4100s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 4100s # * 4100s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4100s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 4100s # * 4100s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 4100s # */ 4100s # void 4100s # good_types_proxy_new ( 4100s # GDBusConnection *connection, 4100s # GDBusProxyFlags flags, 4100s # const gchar *name, 4100s # const gchar *object_path, 4100s # GCancellable *cancellable, 4100s # GAsyncReadyCallback callback, 4100s # gpointer user_data) 4100s # { 4100s # 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); 4100s # } 4100s # 4100s # /** 4100s # * good_types_proxy_new_finish: 4100s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 4100s # * @error: Return location for error or %NULL 4100s # * 4100s # * Finishes an operation started with good_types_proxy_new(). 4100s # * 4100s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 4100s # */ 4100s # GoodTypes * 4100s # good_types_proxy_new_finish ( 4100s # GAsyncResult *res, 4100s # GError **error) 4100s # { 4100s # GObject *ret; 4100s # GObject *source_object; 4100s # source_object = g_async_result_get_source_object (res); 4100s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4100s # g_object_unref (source_object); 4100s # if (ret != NULL) 4100s # return GOOD_TYPES (ret); 4100s # else 4100s # return NULL; 4100s # } 4100s # 4100s # /** 4100s # * good_types_proxy_new_sync: 4100s # * @connection: A #GDBusConnection. 4100s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4100s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4100s # * @object_path: An object path. 4100s # * @cancellable: (nullable): A #GCancellable or %NULL. 4100s # * @error: Return location for error or %NULL 4100s # * 4100s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 4100s # * 4100s # * The calling thread is blocked until a reply is received. 4100s # * 4100s # * See good_types_proxy_new() for the asynchronous version of this constructor. 4100s # * 4100s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 4100s # */ 4100s # GoodTypes * 4100s # good_types_proxy_new_sync ( 4100s # GDBusConnection *connection, 4100s # GDBusProxyFlags flags, 4100s # const gchar *name, 4100s # const gchar *object_path, 4100s # GCancellable *cancellable, 4100s # GError **error) 4100s # { 4100s # GInitable *ret; 4100s # 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); 4100s # if (ret != NULL) 4100s # return GOOD_TYPES (ret); 4100s # else 4100s # return NULL; 4100s # } 4100s # 4100s # 4100s # /** 4100s # * good_types_proxy_new_for_bus: 4100s # * @bus_type: A #GBusType. 4100s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4100s # * @name: A bus name (well-known or unique). 4100s # * @object_path: An object path. 4100s # * @cancellable: (nullable): A #GCancellable or %NULL. 4100s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4100s # * @user_data: User data to pass to @callback. 4100s # * 4100s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4100s # * 4100s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4100s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 4100s # * 4100s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4100s # */ 4100s # void 4100s # good_types_proxy_new_for_bus ( 4100s # GBusType bus_type, 4100s # GDBusProxyFlags flags, 4100s # const gchar *name, 4100s # const gchar *object_path, 4100s # GCancellable *cancellable, 4100s # GAsyncReadyCallback callback, 4100s # gpointer user_data) 4100s # { 4100s # 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); 4100s # } 4100s # 4100s # /** 4100s # * good_types_proxy_new_for_bus_finish: 4100s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 4100s # * @error: Return location for error or %NULL 4100s # * 4100s # * Finishes an operation started with good_types_proxy_new_for_bus(). 4100s # * 4100s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 4100s # */ 4100s # GoodTypes * 4100s # good_types_proxy_new_for_bus_finish ( 4100s # GAsyncResult *res, 4100s # GError **error) 4100s # { 4100s # GObject *ret; 4100s # GObject *source_object; 4100s # source_object = g_async_result_get_source_object (res); 4100s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4100s # g_object_unref (source_object); 4100s # if (ret != NULL) 4100s # return GOOD_TYPES (ret); 4100s # else 4100s # return NULL; 4100s # } 4100s # 4100s # /** 4100s # * good_types_proxy_new_for_bus_sync: 4100s # * @bus_type: A #GBusType. 4100s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4100s # * @name: A bus name (well-known or unique). 4100s # * @object_path: An object path. 4100s # * @cancellable: (nullable): A #GCancellable or %NULL. 4100s # * @error: Return location for error or %NULL 4100s # * 4100s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4100s # * 4100s # * The calling thread is blocked until a reply is received. 4100s # * 4100s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 4100s # * 4100s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 4100s # */ 4100s # GoodTypes * 4100s # good_types_proxy_new_for_bus_sync ( 4100s # GBusType bus_type, 4100s # GDBusProxyFlags flags, 4100s # const gchar *name, 4100s # const gchar *object_path, 4100s # GCancellable *cancellable, 4100s # GError **error) 4100s # { 4100s # GInitable *ret; 4100s # 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); 4100s # if (ret != NULL) 4100s # return GOOD_TYPES (ret); 4100s # else 4100s # return NULL; 4100s # } 4100s # 4100s # 4100s # /* ------------------------------------------------------------------------ */ 4100s # 4100s # /** 4100s # * GoodTypesSkeleton: 4100s # * 4100s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 4100s # */ 4100s # 4100s # /** 4100s # * GoodTypesSkeletonClass: 4100s # * @parent_class: The parent class. 4100s # * 4100s # * Class structure for GoodTypesSkeleton. 4100s # */ 4100s # 4100s # struct _GoodTypesSkeletonPrivate 4100s # { 4100s # GValue *properties; 4100s # GList *changed_properties; 4100s # GSource *changed_properties_idle_source; 4100s # GMainContext *context; 4100s # GMutex lock; 4100s # }; 4100s # 4100s # static void 4100s # _good_types_skeleton_handle_method_call ( 4100s # GDBusConnection *connection G_GNUC_UNUSED, 4100s # const gchar *sender G_GNUC_UNUSED, 4100s # const gchar *object_path G_GNUC_UNUSED, 4100s # const gchar *interface_name, 4100s # const gchar *method_name, 4100s # GVariant *parameters, 4100s # GDBusMethodInvocation *invocation, 4100s # gpointer user_data) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 4100s # _ExtendedGDBusMethodInfo *info; 4100s # GVariantIter iter; 4100s # GVariant *child; 4100s # GValue *paramv; 4100s # gsize num_params; 4100s # guint num_extra; 4100s # gsize n; 4100s # guint signal_id; 4100s # GValue return_value = G_VALUE_INIT; 4100s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4100s # g_assert (info != NULL); 4100s # num_params = g_variant_n_children (parameters); 4100s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4100s # n = 0; 4100s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 4100s # g_value_set_object (¶mv[n++], skeleton); 4100s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4100s # g_value_set_object (¶mv[n++], invocation); 4100s # if (info->pass_fdlist) 4100s # { 4100s # #ifdef G_OS_UNIX 4100s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4100s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4100s # #else 4100s # g_assert_not_reached (); 4100s # #endif 4100s # } 4100s # g_variant_iter_init (&iter, parameters); 4100s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4100s # { 4100s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4100s # if (arg_info->use_gvariant) 4100s # { 4100s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4100s # g_value_set_variant (¶mv[n], child); 4100s # n++; 4100s # } 4100s # else 4100s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4100s # g_variant_unref (child); 4100s # } 4100s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 4100s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4100s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4100s # if (!g_value_get_boolean (&return_value)) 4100s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4100s # g_value_unset (&return_value); 4100s # for (n = 0; n < num_params + num_extra; n++) 4100s # g_value_unset (¶mv[n]); 4100s # g_free (paramv); 4100s # } 4100s # 4100s # static GVariant * 4100s # _good_types_skeleton_handle_get_property ( 4100s # GDBusConnection *connection G_GNUC_UNUSED, 4100s # const gchar *sender G_GNUC_UNUSED, 4100s # const gchar *object_path G_GNUC_UNUSED, 4100s # const gchar *interface_name G_GNUC_UNUSED, 4100s # const gchar *property_name, 4100s # GError **error, 4100s # gpointer user_data) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 4100s # GValue value = G_VALUE_INIT; 4100s # GParamSpec *pspec; 4100s # _ExtendedGDBusPropertyInfo *info; 4100s # GVariant *ret; 4100s # ret = NULL; 4100s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 4100s # g_assert (info != NULL); 4100s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4100s # if (pspec == NULL) 4100s # { 4100s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4100s # } 4100s # else 4100s # { 4100s # g_value_init (&value, pspec->value_type); 4100s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4100s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4100s # g_value_unset (&value); 4100s # } 4100s # return ret; 4100s # } 4100s # 4100s # static gboolean 4100s # _good_types_skeleton_handle_set_property ( 4100s # GDBusConnection *connection G_GNUC_UNUSED, 4100s # const gchar *sender G_GNUC_UNUSED, 4100s # const gchar *object_path G_GNUC_UNUSED, 4100s # const gchar *interface_name G_GNUC_UNUSED, 4100s # const gchar *property_name, 4100s # GVariant *variant, 4100s # GError **error, 4100s # gpointer user_data) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 4100s # GValue value = G_VALUE_INIT; 4100s # GParamSpec *pspec; 4100s # _ExtendedGDBusPropertyInfo *info; 4100s # gboolean ret; 4100s # ret = FALSE; 4100s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 4100s # g_assert (info != NULL); 4100s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4100s # if (pspec == NULL) 4100s # { 4100s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4100s # } 4100s # else 4100s # { 4100s # if (info->use_gvariant) 4100s # g_value_set_variant (&value, variant); 4100s # else 4100s # g_dbus_gvariant_to_gvalue (variant, &value); 4100s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4100s # g_value_unset (&value); 4100s # ret = TRUE; 4100s # } 4100s # return ret; 4100s # } 4100s # 4100s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 4100s # { 4100s # _good_types_skeleton_handle_method_call, 4100s # _good_types_skeleton_handle_get_property, 4100s # _good_types_skeleton_handle_set_property, 4100s # {NULL} 4100s # }; 4100s # 4100s # static GDBusInterfaceInfo * 4100s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4100s # { 4100s # return good_types_interface_info (); 4100s # } 4100s # 4100s # static GDBusInterfaceVTable * 4100s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4100s # { 4100s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 4100s # } 4100s # 4100s # static GVariant * 4100s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 4100s # 4100s # GVariantBuilder builder; 4100s # guint n; 4100s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4100s # if (_good_types_interface_info.parent_struct.properties == NULL) 4100s # goto out; 4100s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 4100s # { 4100s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 4100s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4100s # { 4100s # GVariant *value; 4100s # 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); 4100s # if (value != NULL) 4100s # { 4100s # g_variant_take_ref (value); 4100s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4100s # g_variant_unref (value); 4100s # } 4100s # } 4100s # } 4100s # out: 4100s # return g_variant_builder_end (&builder); 4100s # } 4100s # 4100s # static gboolean _good_types_emit_changed (gpointer user_data); 4100s # 4100s # static void 4100s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 4100s # gboolean emit_changed = FALSE; 4100s # 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # if (skeleton->priv->changed_properties_idle_source != NULL) 4100s # { 4100s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4100s # skeleton->priv->changed_properties_idle_source = NULL; 4100s # emit_changed = TRUE; 4100s # } 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # 4100s # if (emit_changed) 4100s # _good_types_emit_changed (skeleton); 4100s # } 4100s # 4100s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 4100s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4100s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4100s # G_ADD_PRIVATE (GoodTypesSkeleton) 4100s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 4100s # 4100s # #else 4100s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4100s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 4100s # 4100s # #endif 4100s # static void 4100s # good_types_skeleton_finalize (GObject *object) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 4100s # guint n; 4100s # for (n = 0; n < 1; n++) 4100s # g_value_unset (&skeleton->priv->properties[n]); 4100s # g_free (skeleton->priv->properties); 4100s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4100s # if (skeleton->priv->changed_properties_idle_source != NULL) 4100s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4100s # g_main_context_unref (skeleton->priv->context); 4100s # g_mutex_clear (&skeleton->priv->lock); 4100s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_get_property (GObject *object, 4100s # guint prop_id, 4100s # GValue *value, 4100s # GParamSpec *pspec G_GNUC_UNUSED) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 4100s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # } 4100s # 4100s # static gboolean 4100s # _good_types_emit_changed (gpointer user_data) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 4100s # GList *l; 4100s # GVariantBuilder builder; 4100s # GVariantBuilder invalidated_builder; 4100s # guint num_changes; 4100s # 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4100s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 4100s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 4100s # { 4100s # ChangedProperty *cp = l->data; 4100s # GVariant *variant; 4100s # const GValue *cur_value; 4100s # 4100s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 4100s # if (!_g_value_equal (cur_value, &cp->orig_value)) 4100s # { 4100s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 4100s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 4100s # g_variant_unref (variant); 4100s # num_changes++; 4100s # } 4100s # } 4100s # if (num_changes > 0) 4100s # { 4100s # GList *connections, *ll; 4100s # GVariant *signal_variant; 4100s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 4100s # &builder, &invalidated_builder)); 4100s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4100s # for (ll = connections; ll != NULL; ll = ll->next) 4100s # { 4100s # GDBusConnection *connection = ll->data; 4100s # 4100s # g_dbus_connection_emit_signal (connection, 4100s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 4100s # "org.freedesktop.DBus.Properties", 4100s # "PropertiesChanged", 4100s # signal_variant, 4100s # NULL); 4100s # } 4100s # g_variant_unref (signal_variant); 4100s # g_list_free_full (connections, g_object_unref); 4100s # } 4100s # else 4100s # { 4100s # g_variant_builder_clear (&builder); 4100s # g_variant_builder_clear (&invalidated_builder); 4100s # } 4100s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4100s # skeleton->priv->changed_properties = NULL; 4100s # skeleton->priv->changed_properties_idle_source = NULL; 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # return FALSE; 4100s # } 4100s # 4100s # static void 4100s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 4100s # { 4100s # ChangedProperty *cp; 4100s # GList *l; 4100s # cp = NULL; 4100s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 4100s # { 4100s # ChangedProperty *i_cp = l->data; 4100s # if (i_cp->info == info) 4100s # { 4100s # cp = i_cp; 4100s # break; 4100s # } 4100s # } 4100s # if (cp == NULL) 4100s # { 4100s # cp = g_new0 (ChangedProperty, 1); 4100s # cp->prop_id = prop_id; 4100s # cp->info = info; 4100s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 4100s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 4100s # g_value_copy (orig_value, &cp->orig_value); 4100s # } 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_notify (GObject *object, 4100s # GParamSpec *pspec G_GNUC_UNUSED) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # if (skeleton->priv->changed_properties != NULL && 4100s # skeleton->priv->changed_properties_idle_source == NULL) 4100s # { 4100s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 4100s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 4100s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 4100s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 4100s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 4100s # g_source_unref (skeleton->priv->changed_properties_idle_source); 4100s # } 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_set_property (GObject *object, 4100s # guint prop_id, 4100s # const GValue *value, 4100s # GParamSpec *pspec) 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info; 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 4100s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4100s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # g_object_freeze_notify (object); 4100s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 4100s # { 4100s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 4100s # info->emits_changed_signal) 4100s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 4100s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 4100s # g_object_notify_by_pspec (object, pspec); 4100s # } 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # g_object_thaw_notify (object); 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 4100s # { 4100s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4100s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 4100s # #else 4100s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 4100s # #endif 4100s # 4100s # g_mutex_init (&skeleton->priv->lock); 4100s # skeleton->priv->context = g_main_context_ref_thread_default (); 4100s # skeleton->priv->properties = g_new0 (GValue, 1); 4100s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 4100s # } 4100s # 4100s # static GVariant * 4100s # good_types_skeleton_get_good_property_type (GoodTypes *object) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 4100s # GVariant *value; 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # return value; 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 4100s # { 4100s # GObjectClass *gobject_class; 4100s # GDBusInterfaceSkeletonClass *skeleton_class; 4100s # 4100s # gobject_class = G_OBJECT_CLASS (klass); 4100s # gobject_class->finalize = good_types_skeleton_finalize; 4100s # gobject_class->get_property = good_types_skeleton_get_property; 4100s # gobject_class->set_property = good_types_skeleton_set_property; 4100s # gobject_class->notify = good_types_skeleton_notify; 4100s # 4100s # 4100s # good_types_override_properties (gobject_class, 1); 4100s # 4100s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4100s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 4100s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 4100s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 4100s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 4100s # 4100s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4100s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 4100s # #endif 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_iface_init (GoodTypesIface *iface) 4100s # { 4100s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 4100s # } 4100s # 4100s # /** 4100s # * good_types_skeleton_new: 4100s # * 4100s # * Creates a skeleton object for the D-Bus interface GoodTypes. 4100s # * 4100s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 4100s # */ 4100s # GoodTypes * 4100s # good_types_skeleton_new (void) 4100s # { 4100s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 4100s # } 4100s # /tmp/tmpj1gdj275/tmpoyu3441g.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmpoyu3441g.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # Output: /* 4100s # * This file is generated by gdbus-codegen, do not modify it. 4100s # * 4100s # * The license of this code is the same as for the D-Bus interface description 4100s # * it was derived from. Note that it links to GLib, so must comply with the 4100s # * LGPL linking clauses. 4100s # */ 4100s # 4100s # #ifdef HAVE_CONFIG_H 4100s # # include "config.h" 4100s # #endif 4100s # 4100s # #include 4100s # #ifdef G_OS_UNIX 4100s # # include 4100s # #endif 4100s # 4100s # #ifdef G_ENABLE_DEBUG 4100s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4100s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4100s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4100s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4100s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4100s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4100s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4100s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4100s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4100s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4100s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4100s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4100s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4100s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4100s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4100s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4100s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4100s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4100s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4100s # #else /* !G_ENABLE_DEBUG */ 4100s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4100s # * Do not access GValues directly in your code. Instead, use the 4100s # * g_value_get_*() functions 4100s # */ 4100s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4100s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4100s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4100s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4100s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4100s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4100s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4100s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4100s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4100s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4100s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4100s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4100s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4100s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4100s # #endif /* !G_ENABLE_DEBUG */ 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusArgInfo parent_struct; 4100s # gboolean use_gvariant; 4100s # } _ExtendedGDBusArgInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusMethodInfo parent_struct; 4100s # const gchar *signal_name; 4100s # gboolean pass_fdlist; 4100s # } _ExtendedGDBusMethodInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusSignalInfo parent_struct; 4100s # const gchar *signal_name; 4100s # } _ExtendedGDBusSignalInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusPropertyInfo parent_struct; 4100s # const gchar *hyphen_name; 4100s # guint use_gvariant : 1; 4100s # guint emits_changed_signal : 1; 4100s # } _ExtendedGDBusPropertyInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusInterfaceInfo parent_struct; 4100s # const gchar *hyphen_name; 4100s # } _ExtendedGDBusInterfaceInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info; 4100s # guint prop_id; 4100s # GValue orig_value; /* the value before the change */ 4100s # } ChangedProperty; 4100s # 4100s # static void 4100s # _changed_property_free (ChangedProperty *data) 4100s # { 4100s # g_value_unset (&data->orig_value); 4100s # g_free (data); 4100s # } 4100s # 4100s # static gboolean 4100s # _g_strv_equal0 (gchar **a, gchar **b) 4100s # { 4100s # gboolean ret = FALSE; 4100s # guint n; 4100s # if (a == NULL && b == NULL) 4100s # { 4100s # ret = TRUE; 4100s # goto out; 4100s # } 4100s # if (a == NULL || b == NULL) 4100s # goto out; 4100s # if (g_strv_length (a) != g_strv_length (b)) 4100s # goto out; 4100s # for (n = 0; a[n] != NULL; n++) 4100s # if (g_strcmp0 (a[n], b[n]) != 0) 4100s # goto out; 4100s # ret = TRUE; 4100s # out: 4100s # return ret; 4100s # } 4100s # 4100s # static gboolean 4100s # _g_variant_equal0 (GVariant *a, GVariant *b) 4100s # { 4100s # gboolean ret = FALSE; 4100s # if (a == NULL && b == NULL) 4100s # { 4100s # ret = TRUE; 4100s # goto out; 4100s # } 4100s # if (a == NULL || b == NULL) 4100s # goto out; 4100s # ret = g_variant_equal (a, b); 4100s # out: 4100s # return ret; 4100s # } 4100s # 4100s # G_GNUC_UNUSED static gboolean 4100s # _g_value_equal (const GValue *a, const GValue *b) 4100s # { 4100s # gboolean ret = FALSE; 4100s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4100s # switch (G_VALUE_TYPE (a)) 4100s # { 4100s # case G_TYPE_BOOLEAN: 4100s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4100s # break; 4100s # case G_TYPE_UCHAR: 4100s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4100s # break; 4100s # case G_TYPE_INT: 4100s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4100s # break; 4100s # case G_TYPE_UINT: 4100s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4100s # break; 4100s # case G_TYPE_INT64: 4100s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4100s # break; 4100s # case G_TYPE_UINT64: 4100s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4100s # break; 4100s # case G_TYPE_DOUBLE: 4100s # { 4100s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4100s # gdouble da = g_value_get_double (a); 4100s # gdouble db = g_value_get_double (b); 4100s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4100s # } 4100s # break; 4100s # case G_TYPE_STRING: 4100s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4100s # break; 4100s # case G_TYPE_VARIANT: 4100s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4100s # break; 4100s # default: 4100s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4100s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4100s # else 4100s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4100s # break; 4100s # } 4100s # return ret; 4100s # } 4100s # 4100s # /* ------------------------------------------------------------------------ 4100s # * Code for interface GoodTypes 4100s # * ------------------------------------------------------------------------ 4100s # */ 4100s # 4100s # /** 4100s # * SECTION:GoodTypes 4100s # * @title: GoodTypes 4100s # * @short_description: Generated C code for the GoodTypes D-Bus interface 4100s # * 4100s # * This section contains code for working with the GoodTypes D-Bus interface in C. 4100s # */ 4100s # 4100s # /* ---- Introspection data for GoodTypes ---- */ 4100s # 4100s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 4100s # { 4100s # { 4100s # -1, 4100s # (gchar *) "GoodPropertyType", 4100s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 4100s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 4100s # NULL 4100s # }, 4100s # "good-property-type", 4100s # FALSE, 4100s # TRUE 4100s # }; 4100s # 4100s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 4100s # { 4100s # &_good_types_property_info_good_property_type.parent_struct, 4100s # NULL 4100s # }; 4100s # 4100s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 4100s # { 4100s # { 4100s # -1, 4100s # (gchar *) "GoodTypes", 4100s # NULL, 4100s # NULL, 4100s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 4100s # NULL 4100s # }, 4100s # "good-types", 4100s # }; 4100s # 4100s # 4100s # /** 4100s # * good_types_interface_info: 4100s # * 4100s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 4100s # * 4100s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4100s # */ 4100s # GDBusInterfaceInfo * 4100s # good_types_interface_info (void) 4100s # { 4100s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 4100s # } 4100s # 4100s # /** 4100s # * good_types_override_properties: 4100s # * @klass: The class structure for a #GObject derived class. 4100s # * @property_id_begin: The property id to assign to the first overridden property. 4100s # * 4100s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 4100s # * The properties are overridden in the order they are defined. 4100s # * 4100s # * Returns: The last property id. 4100s # */ 4100s # guint 4100s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 4100s # { 4100s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 4100s # return property_id_begin - 1; 4100s # } 4100s # 4100s # 4100s # 4100s # /** 4100s # * GoodTypes: 4100s # * 4100s # * Abstract interface type for the D-Bus interface GoodTypes. 4100s # */ 4100s # 4100s # /** 4100s # * GoodTypesIface: 4100s # * @parent_iface: The parent interface. 4100s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 4100s # * 4100s # * Virtual table for the D-Bus interface GoodTypes. 4100s # */ 4100s # 4100s # typedef GoodTypesIface GoodTypesInterface; 4100s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 4100s # 4100s # static void 4100s # good_types_default_init (GoodTypesIface *iface) 4100s # { 4100s # /* GObject properties for D-Bus properties: */ 4100s # /** 4100s # * GoodTypes:good-property-type: 4100s # * 4100s # * Represents the D-Bus property "GoodPropertyType". 4100s # * 4100s # * 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. 4100s # */ 4100s # g_object_interface_install_property (iface, 4100s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 4100s # } 4100s # 4100s # /** 4100s # * good_types_get_good_property_type: (skip) 4100s # * @object: A GoodTypes. 4100s # * 4100s # * Gets the value of the "GoodPropertyType" D-Bus property. 4100s # * 4100s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 4100s # * 4100s # * 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. 4100s # * 4100s # * 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. 4100s # */ 4100s # GVariant * 4100s # good_types_get_good_property_type (GoodTypes *object) 4100s # { 4100s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 4100s # 4100s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 4100s # } 4100s # 4100s # /** 4100s # * good_types_dup_good_property_type: (skip) 4100s # * @object: A GoodTypes. 4100s # * 4100s # * Gets a copy of the "GoodPropertyType" D-Bus property. 4100s # * 4100s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 4100s # * 4100s # * 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(). 4100s # */ 4100s # GVariant * 4100s # good_types_dup_good_property_type (GoodTypes *object) 4100s # { 4100s # GVariant *value; 4100s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 4100s # return value; 4100s # } 4100s # 4100s # /** 4100s # * good_types_set_good_property_type: (skip) 4100s # * @object: A GoodTypes. 4100s # * @value: The value to set. 4100s # * 4100s # * Sets the "GoodPropertyType" D-Bus property to @value. 4100s # * 4100s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 4100s # */ 4100s # void 4100s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 4100s # { 4100s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 4100s # } 4100s # 4100s # /* ------------------------------------------------------------------------ */ 4100s # 4100s # /** 4100s # * GoodTypesProxy: 4100s # * 4100s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 4100s # */ 4100s # 4100s # /** 4100s # * GoodTypesProxyClass: 4100s # * @parent_class: The parent class. 4100s # * 4100s # * Class structure for GoodTypesProxy. 4100s # */ 4100s # 4100s # struct _GoodTypesProxyPrivate 4100s # { 4100s # GData *qdata; 4100s # }; 4100s # 4100s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 4100s # 4100s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4100s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 4100s # G_ADD_PRIVATE (GoodTypesProxy) 4100s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 4100s # 4100s # #else 4100s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 4100s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 4100s # 4100s # #endif 4100s # static void 4100s # good_types_proxy_finalize (GObject *object) 4100s # { 4100s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 4100s # g_datalist_clear (&proxy->priv->qdata); 4100s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_get_property (GObject *object, 4100s # guint prop_id, 4100s # GValue *value, 4100s # GParamSpec *pspec G_GNUC_UNUSED) 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info; 4100s # GVariant *variant; 4100s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4100s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 4100s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 4100s # if (info->use_gvariant) 4100s # { 4100s # g_value_set_variant (value, variant); 4100s # } 4100s # else 4100s # { 4100s # if (variant != NULL) 4100s # g_dbus_gvariant_to_gvalue (variant, value); 4100s # } 4100s # if (variant != NULL) 4100s # g_variant_unref (variant); 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 4100s # GAsyncResult *res, 4100s # gpointer user_data) 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info = user_data; 4100s # GError *error; 4100s # GVariant *_ret; 4100s # error = NULL; 4100s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 4100s # if (!_ret) 4100s # { 4100s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 4100s # info->parent_struct.name, 4100s # error->message, g_quark_to_string (error->domain), error->code); 4100s # g_error_free (error); 4100s # } 4100s # else 4100s # { 4100s # g_variant_unref (_ret); 4100s # } 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_set_property (GObject *object, 4100s # guint prop_id, 4100s # const GValue *value, 4100s # GParamSpec *pspec G_GNUC_UNUSED) 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info; 4100s # GVariant *variant; 4100s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4100s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 4100s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 4100s # g_dbus_proxy_call (G_DBUS_PROXY (object), 4100s # "org.freedesktop.DBus.Properties.Set", 4100s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 4100s # G_DBUS_CALL_FLAGS_NONE, 4100s # -1, 4100s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 4100s # g_variant_unref (variant); 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_g_signal (GDBusProxy *proxy, 4100s # const gchar *sender_name G_GNUC_UNUSED, 4100s # const gchar *signal_name, 4100s # GVariant *parameters) 4100s # { 4100s # _ExtendedGDBusSignalInfo *info; 4100s # GVariantIter iter; 4100s # GVariant *child; 4100s # GValue *paramv; 4100s # gsize num_params; 4100s # gsize n; 4100s # guint signal_id; 4100s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 4100s # if (info == NULL) 4100s # return; 4100s # num_params = g_variant_n_children (parameters); 4100s # paramv = g_new0 (GValue, num_params + 1); 4100s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 4100s # g_value_set_object (¶mv[0], proxy); 4100s # g_variant_iter_init (&iter, parameters); 4100s # n = 1; 4100s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4100s # { 4100s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4100s # if (arg_info->use_gvariant) 4100s # { 4100s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4100s # g_value_set_variant (¶mv[n], child); 4100s # n++; 4100s # } 4100s # else 4100s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4100s # g_variant_unref (child); 4100s # } 4100s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 4100s # g_signal_emitv (paramv, signal_id, 0, NULL); 4100s # for (n = 0; n < num_params + 1; n++) 4100s # g_value_unset (¶mv[n]); 4100s # g_free (paramv); 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 4100s # GVariant *changed_properties, 4100s # const gchar *const *invalidated_properties) 4100s # { 4100s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 4100s # guint n; 4100s # const gchar *key; 4100s # GVariantIter *iter; 4100s # _ExtendedGDBusPropertyInfo *info; 4100s # g_variant_get (changed_properties, "a{sv}", &iter); 4100s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4100s # { 4100s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 4100s # g_datalist_remove_data (&proxy->priv->qdata, key); 4100s # if (info != NULL) 4100s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4100s # } 4100s # g_variant_iter_free (iter); 4100s # for (n = 0; invalidated_properties[n] != NULL; n++) 4100s # { 4100s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 4100s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4100s # if (info != NULL) 4100s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4100s # } 4100s # } 4100s # 4100s # static GVariant * 4100s # good_types_proxy_get_good_property_type (GoodTypes *object) 4100s # { 4100s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 4100s # GVariant *variant; 4100s # GVariant *value = NULL; 4100s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 4100s # value = variant; 4100s # if (variant != NULL) 4100s # g_variant_unref (variant); 4100s # return value; 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_init (GoodTypesProxy *proxy) 4100s # { 4100s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4100s # proxy->priv = good_types_proxy_get_instance_private (proxy); 4100s # #else 4100s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 4100s # #endif 4100s # 4100s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 4100s # { 4100s # GObjectClass *gobject_class; 4100s # GDBusProxyClass *proxy_class; 4100s # 4100s # gobject_class = G_OBJECT_CLASS (klass); 4100s # gobject_class->finalize = good_types_proxy_finalize; 4100s # gobject_class->get_property = good_types_proxy_get_property; 4100s # gobject_class->set_property = good_types_proxy_set_property; 4100s # 4100s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4100s # proxy_class->g_signal = good_types_proxy_g_signal; 4100s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 4100s # 4100s # good_types_override_properties (gobject_class, 1); 4100s # 4100s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4100s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 4100s # #endif 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_iface_init (GoodTypesIface *iface) 4100s # { 4100s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 4100s # } 4100s # 4100s # /** 4100s # * good_types_proxy_new: 4100s # * @connection: A #GDBusConnection. 4100s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4100s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4100s # * @object_path: An object path. 4100s # * @cancellable: (nullable): A #GCancellable or %NULL. 4100s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4100s # * @user_data: User data to pass to @callback. 4100s # * 4100s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 4100s # * 4100s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4100s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 4100s # * 4100s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 4100s # */ 4100s # void 4100s # good_types_proxy_new ( 4100s # GDBusConnection *connection, 4100s # GDBusProxyFlags flags, 4100s # const gchar *name, 4100s # const gchar *object_path, 4100s # GCancellable *cancellable, 4100s # GAsyncReadyCallback callback, 4100s # gpointer user_data) 4100s # { 4100s # 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); 4100s # } 4100s # 4100s # /** 4100s # * good_types_proxy_new_finish: 4100s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 4100s # * @error: Return location for error or %NULL 4100s # * 4100s # * Finishes an operation started with good_types_proxy_new(). 4100s # * 4100s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 4100s # */ 4100s # GoodTypes * 4100s # good_types_proxy_new_finish ( 4100s # GAsyncResult *res, 4100s # GError **error) 4100s # { 4100s # GObject *ret; 4100s # GObject *source_object; 4100s # source_object = g_async_result_get_source_object (res); 4100s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4100s # g_object_unref (source_object); 4100s # if (ret != NULL) 4100s # return GOOD_TYPES (ret); 4100s # else 4100s # return NULL; 4100s # } 4100s # 4100s # /** 4100s # * good_types_proxy_new_sync: 4100s # * @connection: A #GDBusConnection. 4100s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4100s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4100s # * @object_path: An object path. 4100s # * @cancellable: (nullable): A #GCancellable or %NULL. 4100s # * @error: Return location for error or %NULL 4100s # * 4100s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 4100s # * 4100s # * The calling thread is blocked until a reply is received. 4100s # * 4100s # * See good_types_proxy_new() for the asynchronous version of this constructor. 4100s # * 4100s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 4100s # */ 4100s # GoodTypes * 4100s # good_types_proxy_new_sync ( 4100s # GDBusConnection *connection, 4100s # GDBusProxyFlags flags, 4100s # const gchar *name, 4100s # const gchar *object_path, 4100s # GCancellable *cancellable, 4100s # GError **error) 4100s # { 4100s # GInitable *ret; 4100s # 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); 4100s # if (ret != NULL) 4100s # return GOOD_TYPES (ret); 4100s # else 4100s # return NULL; 4100s # } 4100s # 4100s # 4100s # /** 4100s # * good_types_proxy_new_for_bus: 4100s # * @bus_type: A #GBusType. 4100s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4100s # * @name: A bus name (well-known or unique). 4100s # * @object_path: An object path. 4100s # * @cancellable: (nullable): A #GCancellable or %NULL. 4100s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4100s # * @user_data: User data to pass to @callback. 4100s # * 4100s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4100s # * 4100s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4100s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 4100s # * 4100s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4100s # */ 4100s # void 4100s # good_types_proxy_new_for_bus ( 4100s # GBusType bus_type, 4100s # GDBusProxyFlags flags, 4100s # const gchar *name, 4100s # const gchar *object_path, 4100s # GCancellable *cancellable, 4100s # GAsyncReadyCallback callback, 4100s # gpointer user_data) 4100s # { 4100s # 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); 4100s # } 4100s # 4100s # /** 4100s # * good_types_proxy_new_for_bus_finish: 4100s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 4100s # * @error: Return location for error or %NULL 4100s # * 4100s # * Finishes an operation started with good_types_proxy_new_for_bus(). 4100s # * 4100s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 4100s # */ 4100s # GoodTypes * 4100s # good_types_proxy_new_for_bus_finish ( 4100s # GAsyncResult *res, 4100s # GError **error) 4100s # { 4100s # GObject *ret; 4100s # GObject *source_object; 4100s # source_object = g_async_result_get_source_object (res); 4100s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4100s # g_object_unref (source_object); 4100s # if (ret != NULL) 4100s # return GOOD_TYPES (ret); 4100s # else 4100s # return NULL; 4100s # } 4100s # 4100s # /** 4100s # * good_types_proxy_new_for_bus_sync: 4100s # * @bus_type: A #GBusType. 4100s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4100s # * @name: A bus name (well-known or unique). 4100s # * @object_path: An object path. 4100s # * @cancellable: (nullable): A #GCancellable or %NULL. 4100s # * @error: Return location for error or %NULL 4100s # * 4100s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4100s # * 4100s # * The calling thread is blocked until a reply is received. 4100s # * 4100s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 4100s # * 4100s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 4100s # */ 4100s # GoodTypes * 4100s # good_types_proxy_new_for_bus_sync ( 4100s # GBusType bus_type, 4100s # GDBusProxyFlags flags, 4100s # const gchar *name, 4100s # const gchar *object_path, 4100s # GCancellable *cancellable, 4100s # GError **error) 4100s # { 4100s # GInitable *ret; 4100s # 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); 4100s # if (ret != NULL) 4100s # return GOOD_TYPES (ret); 4100s # else 4100s # return NULL; 4100s # } 4100s # 4100s # 4100s # /* ------------------------------------------------------------------------ */ 4100s # 4100s # /** 4100s # * GoodTypesSkeleton: 4100s # * 4100s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 4100s # */ 4100s # 4100s # /** 4100s # * GoodTypesSkeletonClass: 4100s # * @parent_class: The parent class. 4100s # * 4100s # * Class structure for GoodTypesSkeleton. 4100s # */ 4100s # 4100s # struct _GoodTypesSkeletonPrivate 4100s # { 4100s # GValue *properties; 4100s # GList *changed_properties; 4100s # GSource *changed_properties_idle_source; 4100s # GMainContext *context; 4100s # GMutex lock; 4100s # }; 4100s # 4100s # static void 4100s # _good_types_skeleton_handle_method_call ( 4100s # GDBusConnection *connection G_GNUC_UNUSED, 4100s # const gchar *sender G_GNUC_UNUSED, 4100s # const gchar *object_path G_GNUC_UNUSED, 4100s # const gchar *interface_name, 4100s # const gchar *method_name, 4100s # GVariant *parameters, 4100s # GDBusMethodInvocation *invocation, 4100s # gpointer user_data) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 4100s # _ExtendedGDBusMethodInfo *info; 4100s # GVariantIter iter; 4100s # GVariant *child; 4100s # GValue *paramv; 4100s # gsize num_params; 4100s # guint num_extra; 4100s # gsize n; 4100s # guint signal_id; 4100s # GValue return_value = G_VALUE_INIT; 4100s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4100s # g_assert (info != NULL); 4100s # num_params = g_variant_n_children (parameters); 4100s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4100s # n = 0; 4100s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 4100s # g_value_set_object (¶mv[n++], skeleton); 4100s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4100s # g_value_set_object (¶mv[n++], invocation); 4100s # if (info->pass_fdlist) 4100s # { 4100s # #ifdef G_OS_UNIX 4100s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4100s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4100s # #else 4100s # g_assert_not_reached (); 4100s # #endif 4100s # } 4100s # g_variant_iter_init (&iter, parameters); 4100s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4100s # { 4100s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4100s # if (arg_info->use_gvariant) 4100s # { 4100s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4100s # g_value_set_variant (¶mv[n], child); 4100s # n++; 4100s # } 4100s # else 4100s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4100s # g_variant_unref (child); 4100s # } 4100s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 4100s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4100s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4100s # if (!g_value_get_boolean (&return_value)) 4100s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4100s # g_value_unset (&return_value); 4100s # for (n = 0; n < num_params + num_extra; n++) 4100s # g_value_unset (¶mv[n]); 4100s # g_free (paramv); 4100s # } 4100s # 4100s # static GVariant * 4100s # _good_types_skeleton_handle_get_property ( 4100s # GDBusConnection *connection G_GNUC_UNUSED, 4100s # const gchar *sender G_GNUC_UNUSED, 4100s # const gchar *object_path G_GNUC_UNUSED, 4100s # const gchar *interface_name G_GNUC_UNUSED, 4100s # const gchar *property_name, 4100s # GError **error, 4100s # gpointer user_data) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 4100s # GValue value = G_VALUE_INIT; 4100s # GParamSpec *pspec; 4100s # _ExtendedGDBusPropertyInfo *info; 4100s # GVariant *ret; 4100s # ret = NULL; 4100s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 4100s # g_assert (info != NULL); 4100s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4100s # if (pspec == NULL) 4100s # { 4100s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4100s # } 4100s # else 4100s # { 4100s # g_value_init (&value, pspec->value_type); 4100s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4100s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4100s # g_value_unset (&value); 4100s # } 4100s # return ret; 4100s # } 4100s # 4100s # static gboolean 4100s # _good_types_skeleton_handle_set_property ( 4100s # GDBusConnection *connection G_GNUC_UNUSED, 4100s # const gchar *sender G_GNUC_UNUSED, 4100s # const gchar *object_path G_GNUC_UNUSED, 4100s # const gchar *interface_name G_GNUC_UNUSED, 4100s # const gchar *property_name, 4100s # GVariant *variant, 4100s # GError **error, 4100s # gpointer user_data) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 4100s # GValue value = G_VALUE_INIT; 4100s # GParamSpec *pspec; 4100s # _ExtendedGDBusPropertyInfo *info; 4100s # gboolean ret; 4100s # ret = FALSE; 4100s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 4100s # g_assert (info != NULL); 4100s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4100s # if (pspec == NULL) 4100s # { 4100s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4100s # } 4100s # else 4100s # { 4100s # if (info->use_gvariant) 4100s # g_value_set_variant (&value, variant); 4100s # else 4100s # g_dbus_gvariant_to_gvalue (variant, &value); 4100s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4100s # g_value_unset (&value); 4100s # ret = TRUE; 4100s # } 4100s # return ret; 4100s # } 4100s # 4100s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 4100s # { 4100s # _good_types_skeleton_handle_method_call, 4100s # _good_types_skeleton_handle_get_property, 4100s # _good_types_skeleton_handle_set_property, 4100s # {NULL} 4100s # }; 4100s # 4100s # static GDBusInterfaceInfo * 4100s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4100s # { 4100s # return good_types_interface_info (); 4100s # } 4100s # 4100s # static GDBusInterfaceVTable * 4100s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4100s # { 4100s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 4100s # } 4100s # 4100s # static GVariant * 4100s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 4100s # 4100s # GVariantBuilder builder; 4100s # guint n; 4100s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4100s # if (_good_types_interface_info.parent_struct.properties == NULL) 4100s # goto out; 4100s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 4100s # { 4100s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 4100s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4100s # { 4100s # GVariant *value; 4100s # 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); 4100s # if (value != NULL) 4100s # { 4100s # g_variant_take_ref (value); 4100s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4100s # g_variant_unref (value); 4100s # } 4100s # } 4100s # } 4100s # out: 4100s # return g_variant_builder_end (&builder); 4100s # } 4100s # 4100s # static gboolean _good_types_emit_changed (gpointer user_data); 4100s # 4100s # static void 4100s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 4100s # gboolean emit_changed = FALSE; 4100s # 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # if (skeleton->priv->changed_properties_idle_source != NULL) 4100s # { 4100s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4100s # skeleton->priv->changed_properties_idle_source = NULL; 4100s # emit_changed = TRUE; 4100s # } 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # 4100s # if (emit_changed) 4100s # _good_types_emit_changed (skeleton); 4100s # } 4100s # 4100s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 4100s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4100s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4100s # G_ADD_PRIVATE (GoodTypesSkeleton) 4100s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 4100s # 4100s # #else 4100s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4100s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 4100s # 4100s # #endif 4100s # static void 4100s # good_types_skeleton_finalize (GObject *object) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 4100s # guint n; 4100s # for (n = 0; n < 1; n++) 4100s # g_value_unset (&skeleton->priv->properties[n]); 4100s # g_free (skeleton->priv->properties); 4100s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4100s # if (skeleton->priv->changed_properties_idle_source != NULL) 4100s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4100s # g_main_context_unref (skeleton->priv->context); 4100s # g_mutex_clear (&skeleton->priv->lock); 4100s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_get_property (GObject *object, 4100s # guint prop_id, 4100s # GValue *value, 4100s # GParamSpec *pspec G_GNUC_UNUSED) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 4100s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # } 4100s # 4100s # static gboolean 4100s # _good_types_emit_changed (gpointer user_data) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 4100s # GList *l; 4100s # GVariantBuilder builder; 4100s # GVariantBuilder invalidated_builder; 4100s # guint num_changes; 4100s # 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4100s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 4100s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 4100s # { 4100s # ChangedProperty *cp = l->data; 4100s # GVariant *variant; 4100s # const GValue *cur_value; 4100s # 4100s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 4100s # if (!_g_value_equal (cur_value, &cp->orig_value)) 4100s # { 4100s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 4100s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 4100s # g_variant_unref (variant); 4100s # num_changes++; 4100s # } 4100s # } 4100s # if (num_changes > 0) 4100s # { 4100s # GList *connections, *ll; 4100s # GVariant *signal_variant; 4100s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 4100s # &builder, &invalidated_builder)); 4100s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4100s # for (ll = connections; ll != NULL; ll = ll->next) 4100s # { 4100s # GDBusConnection *connection = ll->data; 4100s # 4100s # g_dbus_connection_emit_signal (connection, 4100s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 4100s # "org.freedesktop.DBus.Properties", 4100s # "PropertiesChanged", 4100s # signal_variant, 4100s # NULL); 4100s # } 4100s # g_variant_unref (signal_variant); 4100s # g_list_free_full (connections, g_object_unref); 4100s # } 4100s # else 4100s # { 4100s # g_variant_builder_clear (&builder); 4100s # g_variant_builder_clear (&invalidated_builder); 4100s # } 4100s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4100s # skeleton->priv->changed_properties = NULL; 4100s # skeleton->priv->changed_properties_idle_source = NULL; 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # return FALSE; 4100s # } 4100s # 4100s # static void 4100s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 4100s # { 4100s # ChangedProperty *cp; 4100s # GList *l; 4100s # cp = NULL; 4100s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 4100s # { 4100s # ChangedProperty *i_cp = l->data; 4100s # if (i_cp->info == info) 4100s # { 4100s # cp = i_cp; 4100s # break; 4100s # } 4100s # } 4100s # if (cp == NULL) 4100s # { 4100s # cp = g_new0 (ChangedProperty, 1); 4100s # cp->prop_id = prop_id; 4100s # cp->info = info; 4100s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 4100s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 4100s # g_value_copy (orig_value, &cp->orig_value); 4100s # } 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_notify (GObject *object, 4100s # GParamSpec *pspec G_GNUC_UNUSED) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # if (skeleton->priv->changed_properties != NULL && 4100s # skeleton->priv->changed_properties_idle_source == NULL) 4100s # { 4100s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 4100s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 4100s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 4100s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 4100s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 4100s # g_source_unref (skeleton->priv->changed_properties_idle_source); 4100s # } 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_set_property (GObject *object, 4100s # guint prop_id, 4100s # const GValue *value, 4100s # GParamSpec *pspec) 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info; 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 4100s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4100s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # g_object_freeze_notify (object); 4100s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 4100s # { 4100s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 4100s # info->emits_changed_signal) 4100s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 4100s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 4100s # g_object_notify_by_pspec (object, pspec); 4100s # } 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # g_object_thaw_notify (object); 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 4100s # { 4100s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4100s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 4100s # #else 4100s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 4100s # #endif 4100s # 4100s # g_mutex_init (&skeleton->priv->lock); 4100s # skeleton->priv->context = g_main_context_ref_thread_default (); 4100s # skeleton->priv->properties = g_new0 (GValue, 1); 4100s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 4100s # } 4100s # 4100s # static GVariant * 4100s # good_types_skeleton_get_good_property_type (GoodTypes *object) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 4100s # GVariant *value; 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # return value; 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 4100s # { 4100s # GObjectClass *gobject_class; 4100s # GDBusInterfaceSkeletonClass *skeleton_class; 4100s # 4100s # gobject_class = G_OBJECT_CLASS (klass); 4100s # gobject_class->finalize = good_types_skeleton_finalize; 4100s # gobject_class->get_property = good_types_skeleton_get_property; 4100s # gobject_class->set_property = good_types_skeleton_set_property; 4100s # gobject_class->notify = good_types_skeleton_notify; 4100s # 4100s # 4100s # good_types_override_properties (gobject_class, 1); 4100s # 4100s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4100s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 4100s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 4100s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 4100s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 4100s # 4100s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4100s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 4100s # #endif 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_iface_init (GoodTypesIface *iface) 4100s # { 4100s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 4100s # } 4100s # 4100s # /** 4100s # * good_types_skeleton_new: 4100s # * 4100s # * Creates a skeleton object for the D-Bus interface GoodTypes. 4100s # * 4100s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 4100s # */ 4100s # GoodTypes * 4100s # good_types_skeleton_new (void) 4100s # { 4100s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 4100s # } 4100s # /tmp/tmpj1gdj275/tmp2tklcrqf.xml: 4100s # 4100s # 4100s # 4100s # 4100s # 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj1gdj275/tmp2tklcrqf.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # Output: /* 4100s # * This file is generated by gdbus-codegen, do not modify it. 4100s # * 4100s # * The license of this code is the same as for the D-Bus interface description 4100s # * it was derived from. Note that it links to GLib, so must comply with the 4100s # * LGPL linking clauses. 4100s # */ 4100s # 4100s # #ifdef HAVE_CONFIG_H 4100s # # include "config.h" 4100s # #endif 4100s # 4100s # #include 4100s # #ifdef G_OS_UNIX 4100s # # include 4100s # #endif 4100s # 4100s # #ifdef G_ENABLE_DEBUG 4100s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4100s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4100s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4100s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4100s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4100s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4100s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4100s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4100s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4100s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4100s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4100s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4100s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4100s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4100s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4100s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4100s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4100s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4100s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4100s # #else /* !G_ENABLE_DEBUG */ 4100s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4100s # * Do not access GValues directly in your code. Instead, use the 4100s # * g_value_get_*() functions 4100s # */ 4100s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4100s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4100s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4100s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4100s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4100s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4100s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4100s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4100s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4100s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4100s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4100s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4100s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4100s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4100s # #endif /* !G_ENABLE_DEBUG */ 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusArgInfo parent_struct; 4100s # gboolean use_gvariant; 4100s # } _ExtendedGDBusArgInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusMethodInfo parent_struct; 4100s # const gchar *signal_name; 4100s # gboolean pass_fdlist; 4100s # } _ExtendedGDBusMethodInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusSignalInfo parent_struct; 4100s # const gchar *signal_name; 4100s # } _ExtendedGDBusSignalInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusPropertyInfo parent_struct; 4100s # const gchar *hyphen_name; 4100s # guint use_gvariant : 1; 4100s # guint emits_changed_signal : 1; 4100s # } _ExtendedGDBusPropertyInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusInterfaceInfo parent_struct; 4100s # const gchar *hyphen_name; 4100s # } _ExtendedGDBusInterfaceInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info; 4100s # guint prop_id; 4100s # GValue orig_value; /* the value before the change */ 4100s # } ChangedProperty; 4100s # 4100s # static void 4100s # _changed_property_free (ChangedProperty *data) 4100s # { 4100s # g_value_unset (&data->orig_value); 4100s # g_free (data); 4100s # } 4100s # 4100s # static gboolean 4100s # _g_strv_equal0 (gchar **a, gchar **b) 4100s # { 4100s # gboolean ret = FALSE; 4100s # guint n; 4100s # if (a == NULL && b == NULL) 4100s # { 4100s # ret = TRUE; 4100s # goto out; 4100s # } 4100s # if (a == NULL || b == NULL) 4100s # goto out; 4100s # if (g_strv_length (a) != g_strv_length (b)) 4100s # goto out; 4100s # for (n = 0; a[n] != NULL; n++) 4100s # if (g_strcmp0 (a[n], b[n]) != 0) 4100s # goto out; 4100s # ret = TRUE; 4100s # out: 4100s # return ret; 4100s # } 4100s # 4100s # static gboolean 4100s # _g_variant_equal0 (GVariant *a, GVariant *b) 4100s # { 4100s # gboolean ret = FALSE; 4100s # if (a == NULL && b == NULL) 4100s # { 4100s # ret = TRUE; 4100s # goto out; 4100s # } 4100s # if (a == NULL || b == NULL) 4100s # goto out; 4100s # ret = g_variant_equal (a, b); 4100s # out: 4100s # return ret; 4100s # } 4100s # 4100s # G_GNUC_UNUSED static gboolean 4100s # _g_value_equal (const GValue *a, const GValue *b) 4100s # { 4100s # gboolean ret = FALSE; 4100s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4100s # switch (G_VALUE_TYPE (a)) 4100s # { 4100s # case G_TYPE_BOOLEAN: 4100s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4100s # break; 4100s # case G_TYPE_UCHAR: 4100s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4100s # break; 4100s # case G_TYPE_INT: 4100s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4100s # break; 4100s # case G_TYPE_UINT: 4100s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4100s # break; 4100s # case G_TYPE_INT64: 4100s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4100s # break; 4100s # case G_TYPE_UINT64: 4100s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4100s # break; 4100s # case G_TYPE_DOUBLE: 4100s # { 4100s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4100s # gdouble da = g_value_get_double (a); 4100s # gdouble db = g_value_get_double (b); 4100s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4100s # } 4100s # break; 4100s # case G_TYPE_STRING: 4100s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4100s # break; 4100s # case G_TYPE_VARIANT: 4100s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4100s # break; 4100s # default: 4100s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4100s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4100s # else 4100s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4100s # break; 4100s # } 4100s # return ret; 4100s # } 4100s # 4100s # /* ------------------------------------------------------------------------ 4100s # * Code for interface GoodTypes 4100s # * ------------------------------------------------------------------------ 4100s # */ 4100s # 4100s # /** 4100s # * SECTION:GoodTypes 4100s # * @title: GoodTypes 4100s # * @short_description: Generated C code for the GoodTypes D-Bus interface 4100s # * 4100s # * This section contains code for working with the GoodTypes D-Bus interface in C. 4100s # */ 4100s # 4100s # /* ---- Introspection data for GoodTypes ---- */ 4100s # 4100s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 4100s # { 4100s # { 4100s # -1, 4100s # (gchar *) "GoodPropertyType", 4100s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 4100s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 4100s # NULL 4100s # }, 4100s # "good-property-type", 4100s # FALSE, 4100s # TRUE 4100s # }; 4100s # 4100s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 4100s # { 4100s # &_good_types_property_info_good_property_type.parent_struct, 4100s # NULL 4100s # }; 4100s # 4100s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 4100s # { 4100s # { 4100s # -1, 4100s # (gchar *) "GoodTypes", 4100s # NULL, 4100s # NULL, 4100s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 4100s # NULL 4100s # }, 4100s # "good-types", 4100s # }; 4100s # 4100s # 4100s # /** 4100s # * good_types_interface_info: 4100s # * 4100s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 4100s # * 4100s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4100s # */ 4100s # GDBusInterfaceInfo * 4100s # good_types_interface_info (void) 4100s # { 4100s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 4100s # } 4100s # 4100s # /** 4100s # * good_types_override_properties: 4100s # * @klass: The class structure for a #GObject derived class. 4100s # * @property_id_begin: The property id to assign to the first overridden property. 4100s # * 4100s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 4100s # * The properties are overridden in the order they are defined. 4100s # * 4100s # * Returns: The last property id. 4100s # */ 4100s # guint 4100s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 4100s # { 4100s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 4100s # return property_id_begin - 1; 4100s # } 4100s # 4100s # 4100s # 4100s # /** 4100s # * GoodTypes: 4100s # * 4100s # * Abstract interface type for the D-Bus interface GoodTypes. 4100s # */ 4100s # 4100s # /** 4100s # * GoodTypesIface: 4100s # * @parent_iface: The parent interface. 4100s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 4100s # * 4100s # * Virtual table for the D-Bus interface GoodTypes. 4100s # */ 4100s # 4100s # typedef GoodTypesIface GoodTypesInterface; 4100s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 4100s # 4100s # static void 4100s # good_types_default_init (GoodTypesIface *iface) 4100s # { 4100s # /* GObject properties for D-Bus properties: */ 4100s # /** 4100s # * GoodTypes:good-property-type: 4100s # * 4100s # * Represents the D-Bus property "GoodPropertyType". 4100s # * 4100s # * 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. 4100s # */ 4100s # g_object_interface_install_property (iface, 4100s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 4100s # } 4100s # 4100s # /** 4100s # * good_types_get_good_property_type: (skip) 4100s # * @object: A GoodTypes. 4100s # * 4100s # * Gets the value of the "GoodPropertyType" D-Bus property. 4100s # * 4100s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 4100s # * 4100s # * 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. 4100s # * 4100s # * 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. 4100s # */ 4100s # GVariant * 4100s # good_types_get_good_property_type (GoodTypes *object) 4100s # { 4100s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 4100s # 4100s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 4100s # } 4100s # 4100s # /** 4100s # * good_types_dup_good_property_type: (skip) 4100s # * @object: A GoodTypes. 4100s # * 4100s # * Gets a copy of the "GoodPropertyType" D-Bus property. 4100s # * 4100s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 4100s # * 4100s # * 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(). 4100s # */ 4100s # GVariant * 4100s # good_types_dup_good_property_type (GoodTypes *object) 4100s # { 4100s # GVariant *value; 4100s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 4100s # return value; 4100s # } 4100s # 4100s # /** 4100s # * good_types_set_good_property_type: (skip) 4100s # * @object: A GoodTypes. 4100s # * @value: The value to set. 4100s # * 4100s # * Sets the "GoodPropertyType" D-Bus property to @value. 4100s # * 4100s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 4100s # */ 4100s # void 4100s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 4100s # { 4100s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 4100s # } 4100s # 4100s # /* ------------------------------------------------------------------------ */ 4100s # 4100s # /** 4100s # * GoodTypesProxy: 4100s # * 4100s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 4100s # */ 4100s # 4100s # /** 4100s # * GoodTypesProxyClass: 4100s # * @parent_class: The parent class. 4100s # * 4100s # * Class structure for GoodTypesProxy. 4100s # */ 4100s # 4100s # struct _GoodTypesProxyPrivate 4100s # { 4100s # GData *qdata; 4100s # }; 4100s # 4100s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 4100s # 4100s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4100s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 4100s # G_ADD_PRIVATE (GoodTypesProxy) 4100s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 4100s # 4100s # #else 4100s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 4100s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 4100s # 4100s # #endif 4100s # static void 4100s # good_types_proxy_finalize (GObject *object) 4100s # { 4100s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 4100s # g_datalist_clear (&proxy->priv->qdata); 4100s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_get_property (GObject *object, 4100s # guint prop_id, 4100s # GValue *value, 4100s # GParamSpec *pspec G_GNUC_UNUSED) 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info; 4100s # GVariant *variant; 4100s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4100s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 4100s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 4100s # if (info->use_gvariant) 4100s # { 4100s # g_value_set_variant (value, variant); 4100s # } 4100s # else 4100s # { 4100s # if (variant != NULL) 4100s # g_dbus_gvariant_to_gvalue (variant, value); 4100s # } 4100s # if (variant != NULL) 4100s # g_variant_unref (variant); 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 4100s # GAsyncResult *res, 4100s # gpointer user_data) 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info = user_data; 4100s # GError *error; 4100s # GVariant *_ret; 4100s # error = NULL; 4100s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 4100s # if (!_ret) 4100s # { 4100s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 4100s # info->parent_struct.name, 4100s # error->message, g_quark_to_string (error->domain), error->code); 4100s # g_error_free (error); 4100s # } 4100s # else 4100s # { 4100s # g_variant_unref (_ret); 4100s # } 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_set_property (GObject *object, 4100s # guint prop_id, 4100s # const GValue *value, 4100s # GParamSpec *pspec G_GNUC_UNUSED) 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info; 4100s # GVariant *variant; 4100s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4100s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 4100s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 4100s # g_dbus_proxy_call (G_DBUS_PROXY (object), 4100s # "org.freedesktop.DBus.Properties.Set", 4100s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 4100s # G_DBUS_CALL_FLAGS_NONE, 4100s # -1, 4100s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 4100s # g_variant_unref (variant); 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_g_signal (GDBusProxy *proxy, 4100s # const gchar *sender_name G_GNUC_UNUSED, 4100s # const gchar *signal_name, 4100s # GVariant *parameters) 4100s # { 4100s # _ExtendedGDBusSignalInfo *info; 4100s # GVariantIter iter; 4100s # GVariant *child; 4100s # GValue *paramv; 4100s # gsize num_params; 4100s # gsize n; 4100s # guint signal_id; 4100s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 4100s # if (info == NULL) 4100s # return; 4100s # num_params = g_variant_n_children (parameters); 4100s # paramv = g_new0 (GValue, num_params + 1); 4100s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 4100s # g_value_set_object (¶mv[0], proxy); 4100s # g_variant_iter_init (&iter, parameters); 4100s # n = 1; 4100s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4100s # { 4100s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4100s # if (arg_info->use_gvariant) 4100s # { 4100s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4100s # g_value_set_variant (¶mv[n], child); 4100s # n++; 4100s # } 4100s # else 4100s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4100s # g_variant_unref (child); 4100s # } 4100s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 4100s # g_signal_emitv (paramv, signal_id, 0, NULL); 4100s # for (n = 0; n < num_params + 1; n++) 4100s # g_value_unset (¶mv[n]); 4100s # g_free (paramv); 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 4100s # GVariant *changed_properties, 4100s # const gchar *const *invalidated_properties) 4100s # { 4100s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 4100s # guint n; 4100s # const gchar *key; 4100s # GVariantIter *iter; 4100s # _ExtendedGDBusPropertyInfo *info; 4100s # g_variant_get (changed_properties, "a{sv}", &iter); 4100s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4100s # { 4100s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 4100s # g_datalist_remove_data (&proxy->priv->qdata, key); 4100s # if (info != NULL) 4100s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4100s # } 4100s # g_variant_iter_free (iter); 4100s # for (n = 0; invalidated_properties[n] != NULL; n++) 4100s # { 4100s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 4100s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4100s # if (info != NULL) 4100s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4100s # } 4100s # } 4100s # 4100s # static GVariant * 4100s # good_types_proxy_get_good_property_type (GoodTypes *object) 4100s # { 4100s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 4100s # GVariant *variant; 4100s # GVariant *value = NULL; 4100s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 4100s # value = variant; 4100s # if (variant != NULL) 4100s # g_variant_unref (variant); 4100s # return value; 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_init (GoodTypesProxy *proxy) 4100s # { 4100s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4100s # proxy->priv = good_types_proxy_get_instance_private (proxy); 4100s # #else 4100s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 4100s # #endif 4100s # 4100s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 4100s # { 4100s # GObjectClass *gobject_class; 4100s # GDBusProxyClass *proxy_class; 4100s # 4100s # gobject_class = G_OBJECT_CLASS (klass); 4100s # gobject_class->finalize = good_types_proxy_finalize; 4100s # gobject_class->get_property = good_types_proxy_get_property; 4100s # gobject_class->set_property = good_types_proxy_set_property; 4100s # 4100s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4100s # proxy_class->g_signal = good_types_proxy_g_signal; 4100s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 4100s # 4100s # good_types_override_properties (gobject_class, 1); 4100s # 4100s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4100s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 4100s # #endif 4100s # } 4100s # 4100s # static void 4100s # good_types_proxy_iface_init (GoodTypesIface *iface) 4100s # { 4100s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 4100s # } 4100s # 4100s # /** 4100s # * good_types_proxy_new: 4100s # * @connection: A #GDBusConnection. 4100s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4100s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4100s # * @object_path: An object path. 4100s # * @cancellable: (nullable): A #GCancellable or %NULL. 4100s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4100s # * @user_data: User data to pass to @callback. 4100s # * 4100s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 4100s # * 4100s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4100s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 4100s # * 4100s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 4100s # */ 4100s # void 4100s # good_types_proxy_new ( 4100s # GDBusConnection *connection, 4100s # GDBusProxyFlags flags, 4100s # const gchar *name, 4100s # const gchar *object_path, 4100s # GCancellable *cancellable, 4100s # GAsyncReadyCallback callback, 4100s # gpointer user_data) 4100s # { 4100s # 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); 4100s # } 4100s # 4100s # /** 4100s # * good_types_proxy_new_finish: 4100s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 4100s # * @error: Return location for error or %NULL 4100s # * 4100s # * Finishes an operation started with good_types_proxy_new(). 4100s # * 4100s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 4100s # */ 4100s # GoodTypes * 4100s # good_types_proxy_new_finish ( 4100s # GAsyncResult *res, 4100s # GError **error) 4100s # { 4100s # GObject *ret; 4100s # GObject *source_object; 4100s # source_object = g_async_result_get_source_object (res); 4100s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4100s # g_object_unref (source_object); 4100s # if (ret != NULL) 4100s # return GOOD_TYPES (ret); 4100s # else 4100s # return NULL; 4100s # } 4100s # 4100s # /** 4100s # * good_types_proxy_new_sync: 4100s # * @connection: A #GDBusConnection. 4100s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4100s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4100s # * @object_path: An object path. 4100s # * @cancellable: (nullable): A #GCancellable or %NULL. 4100s # * @error: Return location for error or %NULL 4100s # * 4100s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 4100s # * 4100s # * The calling thread is blocked until a reply is received. 4100s # * 4100s # * See good_types_proxy_new() for the asynchronous version of this constructor. 4100s # * 4100s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 4100s # */ 4100s # GoodTypes * 4100s # good_types_proxy_new_sync ( 4100s # GDBusConnection *connection, 4100s # GDBusProxyFlags flags, 4100s # const gchar *name, 4100s # const gchar *object_path, 4100s # GCancellable *cancellable, 4100s # GError **error) 4100s # { 4100s # GInitable *ret; 4100s # 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); 4100s # if (ret != NULL) 4100s # return GOOD_TYPES (ret); 4100s # else 4100s # return NULL; 4100s # } 4100s # 4100s # 4100s # /** 4100s # * good_types_proxy_new_for_bus: 4100s # * @bus_type: A #GBusType. 4100s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4100s # * @name: A bus name (well-known or unique). 4100s # * @object_path: An object path. 4100s # * @cancellable: (nullable): A #GCancellable or %NULL. 4100s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4100s # * @user_data: User data to pass to @callback. 4100s # * 4100s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4100s # * 4100s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4100s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 4100s # * 4100s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4100s # */ 4100s # void 4100s # good_types_proxy_new_for_bus ( 4100s # GBusType bus_type, 4100s # GDBusProxyFlags flags, 4100s # const gchar *name, 4100s # const gchar *object_path, 4100s # GCancellable *cancellable, 4100s # GAsyncReadyCallback callback, 4100s # gpointer user_data) 4100s # { 4100s # 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); 4100s # } 4100s # 4100s # /** 4100s # * good_types_proxy_new_for_bus_finish: 4100s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 4100s # * @error: Return location for error or %NULL 4100s # * 4100s # * Finishes an operation started with good_types_proxy_new_for_bus(). 4100s # * 4100s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 4100s # */ 4100s # GoodTypes * 4100s # good_types_proxy_new_for_bus_finish ( 4100s # GAsyncResult *res, 4100s # GError **error) 4100s # { 4100s # GObject *ret; 4100s # GObject *source_object; 4100s # source_object = g_async_result_get_source_object (res); 4100s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4100s # g_object_unref (source_object); 4100s # if (ret != NULL) 4100s # return GOOD_TYPES (ret); 4100s # else 4100s # return NULL; 4100s # } 4100s # 4100s # /** 4100s # * good_types_proxy_new_for_bus_sync: 4100s # * @bus_type: A #GBusType. 4100s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4100s # * @name: A bus name (well-known or unique). 4100s # * @object_path: An object path. 4100s # * @cancellable: (nullable): A #GCancellable or %NULL. 4100s # * @error: Return location for error or %NULL 4100s # * 4100s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4100s # * 4100s # * The calling thread is blocked until a reply is received. 4100s # * 4100s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 4100s # * 4100s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 4100s # */ 4100s # GoodTypes * 4100s # good_types_proxy_new_for_bus_sync ( 4100s # GBusType bus_type, 4100s # GDBusProxyFlags flags, 4100s # const gchar *name, 4100s # const gchar *object_path, 4100s # GCancellable *cancellable, 4100s # GError **error) 4100s # { 4100s # GInitable *ret; 4100s # 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); 4100s # if (ret != NULL) 4100s # return GOOD_TYPES (ret); 4100s # else 4100s # return NULL; 4100s # } 4100s # 4100s # 4100s # /* ------------------------------------------------------------------------ */ 4100s # 4100s # /** 4100s # * GoodTypesSkeleton: 4100s # * 4100s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 4100s # */ 4100s # 4100s # /** 4100s # * GoodTypesSkeletonClass: 4100s # * @parent_class: The parent class. 4100s # * 4100s # * Class structure for GoodTypesSkeleton. 4100s # */ 4100s # 4100s # struct _GoodTypesSkeletonPrivate 4100s # { 4100s # GValue *properties; 4100s # GList *changed_properties; 4100s # GSource *changed_properties_idle_source; 4100s # GMainContext *context; 4100s # GMutex lock; 4100s # }; 4100s # 4100s # static void 4100s # _good_types_skeleton_handle_method_call ( 4100s # GDBusConnection *connection G_GNUC_UNUSED, 4100s # const gchar *sender G_GNUC_UNUSED, 4100s # const gchar *object_path G_GNUC_UNUSED, 4100s # const gchar *interface_name, 4100s # const gchar *method_name, 4100s # GVariant *parameters, 4100s # GDBusMethodInvocation *invocation, 4100s # gpointer user_data) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 4100s # _ExtendedGDBusMethodInfo *info; 4100s # GVariantIter iter; 4100s # GVariant *child; 4100s # GValue *paramv; 4100s # gsize num_params; 4100s # guint num_extra; 4100s # gsize n; 4100s # guint signal_id; 4100s # GValue return_value = G_VALUE_INIT; 4100s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4100s # g_assert (info != NULL); 4100s # num_params = g_variant_n_children (parameters); 4100s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4100s # n = 0; 4100s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 4100s # g_value_set_object (¶mv[n++], skeleton); 4100s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4100s # g_value_set_object (¶mv[n++], invocation); 4100s # if (info->pass_fdlist) 4100s # { 4100s # #ifdef G_OS_UNIX 4100s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4100s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4100s # #else 4100s # g_assert_not_reached (); 4100s # #endif 4100s # } 4100s # g_variant_iter_init (&iter, parameters); 4100s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4100s # { 4100s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4100s # if (arg_info->use_gvariant) 4100s # { 4100s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4100s # g_value_set_variant (¶mv[n], child); 4100s # n++; 4100s # } 4100s # else 4100s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4100s # g_variant_unref (child); 4100s # } 4100s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 4100s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4100s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4100s # if (!g_value_get_boolean (&return_value)) 4100s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4100s # g_value_unset (&return_value); 4100s # for (n = 0; n < num_params + num_extra; n++) 4100s # g_value_unset (¶mv[n]); 4100s # g_free (paramv); 4100s # } 4100s # 4100s # static GVariant * 4100s # _good_types_skeleton_handle_get_property ( 4100s # GDBusConnection *connection G_GNUC_UNUSED, 4100s # const gchar *sender G_GNUC_UNUSED, 4100s # const gchar *object_path G_GNUC_UNUSED, 4100s # const gchar *interface_name G_GNUC_UNUSED, 4100s # const gchar *property_name, 4100s # GError **error, 4100s # gpointer user_data) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 4100s # GValue value = G_VALUE_INIT; 4100s # GParamSpec *pspec; 4100s # _ExtendedGDBusPropertyInfo *info; 4100s # GVariant *ret; 4100s # ret = NULL; 4100s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 4100s # g_assert (info != NULL); 4100s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4100s # if (pspec == NULL) 4100s # { 4100s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4100s # } 4100s # else 4100s # { 4100s # g_value_init (&value, pspec->value_type); 4100s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4100s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4100s # g_value_unset (&value); 4100s # } 4100s # return ret; 4100s # } 4100s # 4100s # static gboolean 4100s # _good_types_skeleton_handle_set_property ( 4100s # GDBusConnection *connection G_GNUC_UNUSED, 4100s # const gchar *sender G_GNUC_UNUSED, 4100s # const gchar *object_path G_GNUC_UNUSED, 4100s # const gchar *interface_name G_GNUC_UNUSED, 4100s # const gchar *property_name, 4100s # GVariant *variant, 4100s # GError **error, 4100s # gpointer user_data) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 4100s # GValue value = G_VALUE_INIT; 4100s # GParamSpec *pspec; 4100s # _ExtendedGDBusPropertyInfo *info; 4100s # gboolean ret; 4100s # ret = FALSE; 4100s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 4100s # g_assert (info != NULL); 4100s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4100s # if (pspec == NULL) 4100s # { 4100s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4100s # } 4100s # else 4100s # { 4100s # if (info->use_gvariant) 4100s # g_value_set_variant (&value, variant); 4100s # else 4100s # g_dbus_gvariant_to_gvalue (variant, &value); 4100s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4100s # g_value_unset (&value); 4100s # ret = TRUE; 4100s # } 4100s # return ret; 4100s # } 4100s # 4100s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 4100s # { 4100s # _good_types_skeleton_handle_method_call, 4100s # _good_types_skeleton_handle_get_property, 4100s # _good_types_skeleton_handle_set_property, 4100s # {NULL} 4100s # }; 4100s # 4100s # static GDBusInterfaceInfo * 4100s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4100s # { 4100s # return good_types_interface_info (); 4100s # } 4100s # 4100s # static GDBusInterfaceVTable * 4100s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4100s # { 4100s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 4100s # } 4100s # 4100s # static GVariant * 4100s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 4100s # 4100s # GVariantBuilder builder; 4100s # guint n; 4100s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4100s # if (_good_types_interface_info.parent_struct.properties == NULL) 4100s # goto out; 4100s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 4100s # { 4100s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 4100s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4100s # { 4100s # GVariant *value; 4100s # 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); 4100s # if (value != NULL) 4100s # { 4100s # g_variant_take_ref (value); 4100s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4100s # g_variant_unref (value); 4100s # } 4100s # } 4100s # } 4100s # out: 4100s # return g_variant_builder_end (&builder); 4100s # } 4100s # 4100s # static gboolean _good_types_emit_changed (gpointer user_data); 4100s # 4100s # static void 4100s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 4100s # gboolean emit_changed = FALSE; 4100s # 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # if (skeleton->priv->changed_properties_idle_source != NULL) 4100s # { 4100s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4100s # skeleton->priv->changed_properties_idle_source = NULL; 4100s # emit_changed = TRUE; 4100s # } 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # 4100s # if (emit_changed) 4100s # _good_types_emit_changed (skeleton); 4100s # } 4100s # 4100s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 4100s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4100s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4100s # G_ADD_PRIVATE (GoodTypesSkeleton) 4100s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 4100s # 4100s # #else 4100s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4100s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 4100s # 4100s # #endif 4100s # static void 4100s # good_types_skeleton_finalize (GObject *object) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 4100s # guint n; 4100s # for (n = 0; n < 1; n++) 4100s # g_value_unset (&skeleton->priv->properties[n]); 4100s # g_free (skeleton->priv->properties); 4100s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4100s # if (skeleton->priv->changed_properties_idle_source != NULL) 4100s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4100s # g_main_context_unref (skeleton->priv->context); 4100s # g_mutex_clear (&skeleton->priv->lock); 4100s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_get_property (GObject *object, 4100s # guint prop_id, 4100s # GValue *value, 4100s # GParamSpec *pspec G_GNUC_UNUSED) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 4100s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # } 4100s # 4100s # static gboolean 4100s # _good_types_emit_changed (gpointer user_data) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 4100s # GList *l; 4100s # GVariantBuilder builder; 4100s # GVariantBuilder invalidated_builder; 4100s # guint num_changes; 4100s # 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4100s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 4100s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 4100s # { 4100s # ChangedProperty *cp = l->data; 4100s # GVariant *variant; 4100s # const GValue *cur_value; 4100s # 4100s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 4100s # if (!_g_value_equal (cur_value, &cp->orig_value)) 4100s # { 4100s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 4100s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 4100s # g_variant_unref (variant); 4100s # num_changes++; 4100s # } 4100s # } 4100s # if (num_changes > 0) 4100s # { 4100s # GList *connections, *ll; 4100s # GVariant *signal_variant; 4100s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 4100s # &builder, &invalidated_builder)); 4100s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4100s # for (ll = connections; ll != NULL; ll = ll->next) 4100s # { 4100s # GDBusConnection *connection = ll->data; 4100s # 4100s # g_dbus_connection_emit_signal (connection, 4100s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 4100s # "org.freedesktop.DBus.Properties", 4100s # "PropertiesChanged", 4100s # signal_variant, 4100s # NULL); 4100s # } 4100s # g_variant_unref (signal_variant); 4100s # g_list_free_full (connections, g_object_unref); 4100s # } 4100s # else 4100s # { 4100s # g_variant_builder_clear (&builder); 4100s # g_variant_builder_clear (&invalidated_builder); 4100s # } 4100s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4100s # skeleton->priv->changed_properties = NULL; 4100s # skeleton->priv->changed_properties_idle_source = NULL; 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # return FALSE; 4100s # } 4100s # 4100s # static void 4100s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 4100s # { 4100s # ChangedProperty *cp; 4100s # GList *l; 4100s # cp = NULL; 4100s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 4100s # { 4100s # ChangedProperty *i_cp = l->data; 4100s # if (i_cp->info == info) 4100s # { 4100s # cp = i_cp; 4100s # break; 4100s # } 4100s # } 4100s # if (cp == NULL) 4100s # { 4100s # cp = g_new0 (ChangedProperty, 1); 4100s # cp->prop_id = prop_id; 4100s # cp->info = info; 4100s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 4100s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 4100s # g_value_copy (orig_value, &cp->orig_value); 4100s # } 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_notify (GObject *object, 4100s # GParamSpec *pspec G_GNUC_UNUSED) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # if (skeleton->priv->changed_properties != NULL && 4100s # skeleton->priv->changed_properties_idle_source == NULL) 4100s # { 4100s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 4100s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 4100s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 4100s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 4100s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 4100s # g_source_unref (skeleton->priv->changed_properties_idle_source); 4100s # } 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_set_property (GObject *object, 4100s # guint prop_id, 4100s # const GValue *value, 4100s # GParamSpec *pspec) 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info; 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 4100s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4100s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # g_object_freeze_notify (object); 4100s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 4100s # { 4100s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 4100s # info->emits_changed_signal) 4100s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 4100s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 4100s # g_object_notify_by_pspec (object, pspec); 4100s # } 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # g_object_thaw_notify (object); 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 4100s # { 4100s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4100s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 4100s # #else 4100s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 4100s # #endif 4100s # 4100s # g_mutex_init (&skeleton->priv->lock); 4100s # skeleton->priv->context = g_main_context_ref_thread_default (); 4100s # skeleton->priv->properties = g_new0 (GValue, 1); 4100s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 4100s # } 4100s # 4100s # static GVariant * 4100s # good_types_skeleton_get_good_property_type (GoodTypes *object) 4100s # { 4100s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 4100s # GVariant *value; 4100s # g_mutex_lock (&skeleton->priv->lock); 4100s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 4100s # g_mutex_unlock (&skeleton->priv->lock); 4100s # return value; 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 4100s # { 4100s # GObjectClass *gobject_class; 4100s # GDBusInterfaceSkeletonClass *skeleton_class; 4100s # 4100s # gobject_class = G_OBJECT_CLASS (klass); 4100s # gobject_class->finalize = good_types_skeleton_finalize; 4100s # gobject_class->get_property = good_types_skeleton_get_property; 4100s # gobject_class->set_property = good_types_skeleton_set_property; 4100s # gobject_class->notify = good_types_skeleton_notify; 4100s # 4100s # 4100s # good_types_override_properties (gobject_class, 1); 4100s # 4100s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4100s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 4100s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 4100s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 4100s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 4100s # 4100s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4100s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 4100s # #endif 4100s # } 4100s # 4100s # static void 4100s # good_types_skeleton_iface_init (GoodTypesIface *iface) 4100s # { 4100s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 4100s # } 4100s # 4100s # /** 4100s # * good_types_skeleton_new: 4100s # * 4100s # * Creates a skeleton object for the D-Bus interface GoodTypes. 4100s # * 4100s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 4100s # */ 4100s # GoodTypes * 4100s # good_types_skeleton_new (void) 4100s # { 4100s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 4100s # } 4100s ok 3 __main__.TestCodegen.test_empty_interface_body 4100s # tmpdir: /tmp/tmp3y6dui_8 4100s # codegen: /usr/bin/gdbus-codegen 4100s # /tmp/tmp3y6dui_8/tmpg_s78pi_.xml: 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3y6dui_8/tmpg_s78pi_.xml', '--output', '-', '--body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # Output: /* 4100s # * This file is generated by gdbus-codegen, do not modify it. 4100s # * 4100s # * The license of this code is the same as for the D-Bus interface description 4100s # * it was derived from. Note that it links to GLib, so must comply with the 4100s # * LGPL linking clauses. 4100s # */ 4100s # 4100s # #ifdef HAVE_CONFIG_H 4100s # # include "config.h" 4100s # #endif 4100s # 4100s # #include 4100s # #ifdef G_OS_UNIX 4100s # # include 4100s # #endif 4100s # 4100s # #ifdef G_ENABLE_DEBUG 4100s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4100s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4100s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4100s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4100s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4100s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4100s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4100s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4100s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4100s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4100s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4100s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4100s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4100s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4100s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4100s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4100s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4100s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4100s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4100s # #else /* !G_ENABLE_DEBUG */ 4100s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4100s # * Do not access GValues directly in your code. Instead, use the 4100s # * g_value_get_*() functions 4100s # */ 4100s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4100s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4100s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4100s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4100s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4100s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4100s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4100s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4100s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4100s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4100s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4100s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4100s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4100s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4100s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4100s # #endif /* !G_ENABLE_DEBUG */ 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusArgInfo parent_struct; 4100s # gboolean use_gvariant; 4100s # } _ExtendedGDBusArgInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusMethodInfo parent_struct; 4100s # const gchar *signal_name; 4100s # gboolean pass_fdlist; 4100s # } _ExtendedGDBusMethodInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusSignalInfo parent_struct; 4100s # const gchar *signal_name; 4100s # } _ExtendedGDBusSignalInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusPropertyInfo parent_struct; 4100s # const gchar *hyphen_name; 4100s # guint use_gvariant : 1; 4100s # guint emits_changed_signal : 1; 4100s # } _ExtendedGDBusPropertyInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # GDBusInterfaceInfo parent_struct; 4100s # const gchar *hyphen_name; 4100s # } _ExtendedGDBusInterfaceInfo; 4100s # 4100s # typedef struct 4100s # { 4100s # const _ExtendedGDBusPropertyInfo *info; 4100s # guint prop_id; 4100s # GValue orig_value; /* the value before the change */ 4100s # } ChangedProperty; 4100s # 4100s # static void 4100s # _changed_property_free (ChangedProperty *data) 4100s # { 4100s # g_value_unset (&data->orig_value); 4100s # g_free (data); 4100s # } 4100s # 4100s # static gboolean 4100s # _g_strv_equal0 (gchar **a, gchar **b) 4100s # { 4100s # gboolean ret = FALSE; 4100s # guint n; 4100s # if (a == NULL && b == NULL) 4100s # { 4100s # ret = TRUE; 4100s # goto out; 4100s # } 4100s # if (a == NULL || b == NULL) 4100s # goto out; 4100s # if (g_strv_length (a) != g_strv_length (b)) 4100s # goto out; 4100s # for (n = 0; a[n] != NULL; n++) 4100s # if (g_strcmp0 (a[n], b[n]) != 0) 4100s # goto out; 4100s # ret = TRUE; 4100s # out: 4100s # return ret; 4100s # } 4100s # 4100s # static gboolean 4100s # _g_variant_equal0 (GVariant *a, GVariant *b) 4100s # { 4100s # gboolean ret = FALSE; 4100s # if (a == NULL && b == NULL) 4100s # { 4100s # ret = TRUE; 4100s # goto out; 4100s # } 4100s # if (a == NULL || b == NULL) 4100s # goto out; 4100s # ret = g_variant_equal (a, b); 4100s # out: 4100s # return ret; 4100s # } 4100s # 4100s # G_GNUC_UNUSED static gboolean 4100s # _g_value_equal (const GValue *a, const GValue *b) 4100s # { 4100s # gboolean ret = FALSE; 4100s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4100s # switch (G_VALUE_TYPE (a)) 4100s # { 4100s # case G_TYPE_BOOLEAN: 4100s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4100s # break; 4100s # case G_TYPE_UCHAR: 4100s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4100s # break; 4100s # case G_TYPE_INT: 4100s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4100s # break; 4100s # case G_TYPE_UINT: 4100s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4100s # break; 4100s # case G_TYPE_INT64: 4100s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4100s # break; 4100s # case G_TYPE_UINT64: 4100s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4100s # break; 4100s # case G_TYPE_DOUBLE: 4100s # { 4100s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4100s # gdouble da = g_value_get_double (a); 4100s # gdouble db = g_value_get_double (b); 4100s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4100s # } 4100s # break; 4100s # case G_TYPE_STRING: 4100s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4100s # break; 4100s # case G_TYPE_VARIANT: 4100s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4100s # break; 4100s # default: 4100s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4100s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4100s # else 4100s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4100s # break; 4100s # } 4100s # return ret; 4100s # } 4100s ok 4 __main__.TestCodegen.test_empty_interface_header 4100s # tmpdir: /tmp/tmpx26bie1_ 4100s # codegen: /usr/bin/gdbus-codegen 4100s # /tmp/tmpx26bie1_/tmpr0o2dttv.xml: 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx26bie1_/tmpr0o2dttv.xml', '--output', '-', '--header'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # Output: /* 4100s # * This file is generated by gdbus-codegen, do not modify it. 4100s # * 4100s # * The license of this code is the same as for the D-Bus interface description 4100s # * it was derived from. Note that it links to GLib, so must comply with the 4100s # * LGPL linking clauses. 4100s # */ 4100s # 4100s # #ifndef __STDOUT__ 4100s # #define __STDOUT__ 4100s # 4100s # #include 4100s # 4100s # G_BEGIN_DECLS 4100s # 4100s # 4100s # G_END_DECLS 4100s # 4100s # #endif /* __STDOUT__ */ 4100s ok 5 __main__.TestCodegen.test_empty_interface_info_body 4100s # tmpdir: /tmp/tmpq0id3zbs 4100s # codegen: /usr/bin/gdbus-codegen 4100s # /tmp/tmpq0id3zbs/tmp_plbxb3y.xml: 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpq0id3zbs/tmp_plbxb3y.xml', '--output', '-', '--interface-info-body'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # Output: /* 4100s # * This file is generated by gdbus-codegen, do not modify it. 4100s # * 4100s # * The license of this code is the same as for the D-Bus interface description 4100s # * it was derived from. Note that it links to GLib, so must comply with the 4100s # * LGPL linking clauses. 4100s # */ 4100s # 4100s # #ifdef HAVE_CONFIG_H 4100s # # include "config.h" 4100s # #endif 4100s # 4100s # #include 4100s ok 6 __main__.TestCodegen.test_empty_interface_info_header 4100s # tmpdir: /tmp/tmpt8vcwx3b 4100s # codegen: /usr/bin/gdbus-codegen 4100s # /tmp/tmpt8vcwx3b/tmpptk8s8fz.xml: 4100s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt8vcwx3b/tmpptk8s8fz.xml', '--output', '-', '--interface-info-header'] 4100s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4100s # Output: /* 4100s # * This file is generated by gdbus-codegen, do not modify it. 4100s # * 4100s # * The license of this code is the same as for the D-Bus interface description 4100s # * it was derived from. Note that it links to GLib, so must comply with the 4100s # * LGPL linking clauses. 4100s # */ 4100s # 4100s # #ifndef __STDOUT__ 4100s # #define __STDOUT__ 4100s # 4100s # #include 4100s # 4100s # G_BEGIN_DECLS 4100s # 4100s # 4100s # G_END_DECLS 4100s # 4100s # #endif /* __STDOUT__ */ 4101s ok 7 __main__.TestCodegen.test_generate_docbook 4101s # tmpdir: /tmp/tmpfqj0skkj 4101s # codegen: /usr/bin/gdbus-codegen 4101s # /tmp/tmpfqj0skkj/tmptipp7tvo.xml: 4101s # 4101s # 4101s # 4101s # 4101s # 4101s # 4101s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfqj0skkj/tmptipp7tvo.xml', '--generate-docbook', 'test'] 4101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4101s # Output: 4101s ok 8 __main__.TestCodegen.test_generate_md 4101s # tmpdir: /tmp/tmpmvhoy4rj 4101s # codegen: /usr/bin/gdbus-codegen 4101s # /tmp/tmpmvhoy4rj/tmpp2jdbyu9.xml: 4101s # 4101s # 4101s # 4101s # 4101s # 4101s # 4101s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmvhoy4rj/tmpp2jdbyu9.xml', '--generate-md', 'test'] 4101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4101s # Output: 4101s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 4101s # tmpdir: /tmp/tmpzncq9gi6 4101s # codegen: /usr/bin/gdbus-codegen 4101s # /tmp/tmpzncq9gi6/tmpbd51nli4.xml: 4101s # 4101s # 4101s # 4101s # 4101s # 4101s # 4101s # 4101s # 4101s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzncq9gi6/tmpbd51nli4.xml', '--output', '-', '--body'] 4101s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4101s # Output: /* 4101s # * This file is generated by gdbus-codegen, do not modify it. 4101s # * 4101s # * The license of this code is the same as for the D-Bus interface description 4101s # * it was derived from. Note that it links to GLib, so must comply with the 4101s # * LGPL linking clauses. 4101s # */ 4101s # 4101s # #ifdef HAVE_CONFIG_H 4101s # # include "config.h" 4101s # #endif 4101s # 4101s # #include 4101s # #ifdef G_OS_UNIX 4101s # # include 4101s # #endif 4101s # 4101s # #ifdef G_ENABLE_DEBUG 4101s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4101s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4101s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4101s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4101s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4101s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4101s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4101s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4101s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4101s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4101s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4101s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4101s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4101s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4101s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4101s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4101s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4101s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4101s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4101s # #else /* !G_ENABLE_DEBUG */ 4101s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4101s # * Do not access GValues directly in your code. Instead, use the 4101s # * g_value_get_*() functions 4101s # */ 4101s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4101s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4101s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4101s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4101s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4101s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4101s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4101s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4101s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4101s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4101s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4101s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4101s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4101s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4101s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4101s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4101s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4101s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4101s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4101s # #endif /* !G_ENABLE_DEBUG */ 4101s # 4101s # typedef struct 4101s # { 4101s # GDBusArgInfo parent_struct; 4101s # gboolean use_gvariant; 4101s # } _ExtendedGDBusArgInfo; 4101s # 4101s # typedef struct 4101s # { 4101s # GDBusMethodInfo parent_struct; 4101s # const gchar *signal_name; 4101s # gboolean pass_fdlist; 4101s # } _ExtendedGDBusMethodInfo; 4101s # 4101s # typedef struct 4101s # { 4101s # GDBusSignalInfo parent_struct; 4101s # const gchar *signal_name; 4101s # } _ExtendedGDBusSignalInfo; 4101s # 4101s # typedef struct 4101s # { 4101s # GDBusPropertyInfo parent_struct; 4101s # const gchar *hyphen_name; 4101s # guint use_gvariant : 1; 4101s # guint emits_changed_signal : 1; 4101s # } _ExtendedGDBusPropertyInfo; 4101s # 4101s # typedef struct 4101s # { 4101s # GDBusInterfaceInfo parent_struct; 4101s # const gchar *hyphen_name; 4101s # } _ExtendedGDBusInterfaceInfo; 4101s # 4101s # typedef struct 4101s # { 4101s # const _ExtendedGDBusPropertyInfo *info; 4101s # guint prop_id; 4101s # GValue orig_value; /* the value before the change */ 4101s # } ChangedProperty; 4101s # 4101s # static void 4101s # _changed_property_free (ChangedProperty *data) 4101s # { 4101s # g_value_unset (&data->orig_value); 4101s # g_free (data); 4101s # } 4101s # 4101s # static gboolean 4101s # _g_strv_equal0 (gchar **a, gchar **b) 4101s # { 4101s # gboolean ret = FALSE; 4101s # guint n; 4101s # if (a == NULL && b == NULL) 4101s # { 4101s # ret = TRUE; 4101s # goto out; 4101s # } 4101s # if (a == NULL || b == NULL) 4101s # goto out; 4101s # if (g_strv_length (a) != g_strv_length (b)) 4101s # goto out; 4101s # for (n = 0; a[n] != NULL; n++) 4101s # if (g_strcmp0 (a[n], b[n]) != 0) 4101s # goto out; 4101s # ret = TRUE; 4101s # out: 4101s # return ret; 4101s # } 4101s # 4101s # static gboolean 4101s # _g_variant_equal0 (GVariant *a, GVariant *b) 4101s # { 4101s # gboolean ret = FALSE; 4101s # if (a == NULL && b == NULL) 4101s # { 4101s # ret = TRUE; 4101s # goto out; 4101s # } 4101s # if (a == NULL || b == NULL) 4101s # goto out; 4101s # ret = g_variant_equal (a, b); 4101s # out: 4101s # return ret; 4101s # } 4101s # 4101s # G_GNUC_UNUSED static gboolean 4101s # _g_value_equal (const GValue *a, const GValue *b) 4101s # { 4101s # gboolean ret = FALSE; 4101s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4101s # switch (G_VALUE_TYPE (a)) 4101s # { 4101s # case G_TYPE_BOOLEAN: 4101s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4101s # break; 4101s # case G_TYPE_UCHAR: 4101s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4101s # break; 4101s # case G_TYPE_INT: 4101s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4101s # break; 4101s # case G_TYPE_UINT: 4101s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4101s # break; 4101s # case G_TYPE_INT64: 4101s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4101s # break; 4101s # case G_TYPE_UINT64: 4101s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4101s # break; 4101s # case G_TYPE_DOUBLE: 4101s # { 4101s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4101s # gdouble da = g_value_get_double (a); 4101s # gdouble db = g_value_get_double (b); 4101s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4101s # } 4101s # break; 4101s # case G_TYPE_STRING: 4101s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4101s # break; 4101s # case G_TYPE_VARIANT: 4101s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4101s # break; 4101s # default: 4101s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4101s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4101s # else 4101s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4101s # break; 4101s # } 4101s # return ret; 4101s # } 4101s # 4101s # static void 4101s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4101s # GClosure *closure, 4101s # GValue *return_value, 4101s # unsigned int n_param_values, 4101s # const GValue *param_values, 4101s # void *invocation_hint G_GNUC_UNUSED, 4101s # void *marshal_data) 4101s # { 4101s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4101s # (void *data1, 4101s # GDBusMethodInvocation *arg_method_invocation, 4101s # void *data2); 4101s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4101s # GCClosure *cc = (GCClosure*) closure; 4101s # void *data1, *data2; 4101s # gboolean v_return; 4101s # 4101s # g_return_if_fail (return_value != NULL); 4101s # g_return_if_fail (n_param_values == 2); 4101s # 4101s # if (G_CCLOSURE_SWAP_DATA (closure)) 4101s # { 4101s # data1 = closure->data; 4101s # data2 = g_value_peek_pointer (param_values + 0); 4101s # } 4101s # else 4101s # { 4101s # data1 = g_value_peek_pointer (param_values + 0); 4101s # data2 = closure->data; 4101s # } 4101s # 4101s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4101s # (marshal_data ? marshal_data : cc->callback); 4101s # 4101s # v_return = 4101s # callback (data1, 4101s # g_marshal_value_peek_object (param_values + 1), 4101s # data2); 4101s # 4101s # g_value_set_boolean (return_value, v_return); 4101s # } 4101s # 4101s # /* ------------------------------------------------------------------------ 4101s # * Code for interface org.project.CallableIface 4101s # * ------------------------------------------------------------------------ 4101s # */ 4101s # 4101s # /** 4101s # * SECTION:OrgProjectCallableIface 4101s # * @title: OrgProjectCallableIface 4101s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 4101s # * 4101s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 4101s # */ 4101s # 4101s # /* ---- Introspection data for org.project.CallableIface ---- */ 4101s # 4101s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 4101s # { 4101s # { 4101s # -1, 4101s # (gchar *) "SimpleMethod", 4101s # NULL, 4101s # NULL, 4101s # NULL 4101s # }, 4101s # "handle-simple-method", 4101s # FALSE 4101s # }; 4101s # 4101s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 4101s # { 4101s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 4101s # NULL 4101s # }; 4101s # 4101s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 4101s # { 4101s # { 4101s # -1, 4101s # (gchar *) "org.project.CallableIface", 4101s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 4101s # NULL, 4101s # NULL, 4101s # NULL 4101s # }, 4101s # "org-project-callable-iface", 4101s # }; 4101s # 4101s # 4101s # /** 4101s # * org_project_callable_iface_interface_info: 4101s # * 4101s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 4101s # * 4101s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4101s # */ 4101s # GDBusInterfaceInfo * 4101s # org_project_callable_iface_interface_info (void) 4101s # { 4101s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 4101s # } 4101s # 4101s # /** 4101s # * org_project_callable_iface_override_properties: 4101s # * @klass: The class structure for a #GObject derived class. 4101s # * @property_id_begin: The property id to assign to the first overridden property. 4101s # * 4101s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 4101s # * The properties are overridden in the order they are defined. 4101s # * 4101s # * Returns: The last property id. 4101s # */ 4101s # guint 4101s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4101s # { 4101s # return property_id_begin - 1; 4101s # } 4101s # 4101s # 4101s # inline static void 4101s # org_project_callable_iface_method_marshal_simple_method ( 4101s # GClosure *closure, 4101s # GValue *return_value, 4101s # unsigned int n_param_values, 4101s # const GValue *param_values, 4101s # void *invocation_hint, 4101s # void *marshal_data) 4101s # { 4101s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4101s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4101s # } 4101s # 4101s # 4101s # /** 4101s # * OrgProjectCallableIface: 4101s # * 4101s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 4101s # */ 4101s # 4101s # /** 4101s # * OrgProjectCallableIfaceIface: 4101s # * @parent_iface: The parent interface. 4101s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 4101s # * 4101s # * Virtual table for the D-Bus interface org.project.CallableIface. 4101s # */ 4101s # 4101s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 4101s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 4101s # 4101s # static void 4101s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 4101s # { 4101s # /* GObject signals for incoming D-Bus method calls: */ 4101s # /** 4101s # * OrgProjectCallableIface::handle-simple-method: 4101s # * @object: A #OrgProjectCallableIface. 4101s # * @invocation: A #GDBusMethodInvocation. 4101s # * 4101s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 4101s # * 4101s # * 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. 4101s # * 4101s # * 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. 4101s # */ 4101s # g_signal_new ("handle-simple-method", 4101s # G_TYPE_FROM_INTERFACE (iface), 4101s # G_SIGNAL_RUN_LAST, 4101s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 4101s # g_signal_accumulator_true_handled, 4101s # NULL, 4101s # org_project_callable_iface_method_marshal_simple_method, 4101s # G_TYPE_BOOLEAN, 4101s # 1, 4101s # G_TYPE_DBUS_METHOD_INVOCATION); 4101s # 4101s # } 4101s # 4101s # /** 4101s # * org_project_callable_iface_call_simple_method: 4101s # * @proxy: A #OrgProjectCallableIfaceProxy. 4101s # * @cancellable: (nullable): A #GCancellable or %NULL. 4101s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4101s # * @user_data: User data to pass to @callback. 4101s # * 4101s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 4101s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4101s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 4101s # * 4101s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 4101s # */ 4101s # void 4101s # org_project_callable_iface_call_simple_method ( 4101s # OrgProjectCallableIface *proxy, 4101s # GCancellable *cancellable, 4101s # GAsyncReadyCallback callback, 4101s # gpointer user_data) 4101s # { 4101s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4101s # "SimpleMethod", 4101s # g_variant_new ("()"), 4101s # G_DBUS_CALL_FLAGS_NONE, 4101s # -1, 4101s # cancellable, 4101s # callback, 4101s # user_data); 4101s # } 4101s # 4101s # /** 4101s # * org_project_callable_iface_call_simple_method_finish: 4101s # * @proxy: A #OrgProjectCallableIfaceProxy. 4101s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 4101s # * @error: Return location for error or %NULL. 4101s # * 4101s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 4101s # * 4101s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4101s # */ 4101s # gboolean 4101s # org_project_callable_iface_call_simple_method_finish ( 4101s # OrgProjectCallableIface *proxy, 4101s # GAsyncResult *res, 4101s # GError **error) 4101s # { 4101s # GVariant *_ret; 4101s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4101s # if (_ret == NULL) 4101s # goto _out; 4101s # g_variant_get (_ret, 4101s # "()"); 4101s # g_variant_unref (_ret); 4101s # _out: 4101s # return _ret != NULL; 4101s # } 4101s # 4101s # /** 4101s # * org_project_callable_iface_call_simple_method_sync: 4101s # * @proxy: A #OrgProjectCallableIfaceProxy. 4101s # * @cancellable: (nullable): A #GCancellable or %NULL. 4101s # * @error: Return location for error or %NULL. 4101s # * 4101s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4101s # * 4101s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 4101s # * 4101s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4101s # */ 4101s # gboolean 4101s # org_project_callable_iface_call_simple_method_sync ( 4101s # OrgProjectCallableIface *proxy, 4101s # GCancellable *cancellable, 4101s # GError **error) 4101s # { 4101s # GVariant *_ret; 4101s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4101s # "SimpleMethod", 4101s # g_variant_new ("()"), 4101s # G_DBUS_CALL_FLAGS_NONE, 4101s # -1, 4101s # cancellable, 4101s # error); 4101s # if (_ret == NULL) 4101s # goto _out; 4101s # g_variant_get (_ret, 4101s # "()"); 4101s # g_variant_unref (_ret); 4101s # _out: 4101s # return _ret != NULL; 4101s # } 4101s # 4101s # /** 4101s # * org_project_callable_iface_complete_simple_method: 4101s # * @object: A #OrgProjectCallableIface. 4101s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4101s # * 4101s # * 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. 4101s # * 4101s # * This method will free @invocation, you cannot use it afterwards. 4101s # */ 4101s # void 4101s # org_project_callable_iface_complete_simple_method ( 4101s # OrgProjectCallableIface *object G_GNUC_UNUSED, 4101s # GDBusMethodInvocation *invocation) 4101s # { 4101s # g_dbus_method_invocation_return_value (invocation, 4101s # g_variant_new ("()")); 4101s # } 4101s # 4101s # /* ------------------------------------------------------------------------ */ 4101s # 4101s # /** 4101s # * OrgProjectCallableIfaceProxy: 4101s # * 4101s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 4101s # */ 4101s # 4101s # /** 4101s # * OrgProjectCallableIfaceProxyClass: 4101s # * @parent_class: The parent class. 4101s # * 4101s # * Class structure for #OrgProjectCallableIfaceProxy. 4101s # */ 4101s # 4101s # struct _OrgProjectCallableIfaceProxyPrivate 4101s # { 4101s # GData *qdata; 4101s # }; 4101s # 4101s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 4101s # 4101s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4101s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 4101s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 4101s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 4101s # 4101s # #else 4101s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 4101s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 4101s # 4101s # #endif 4101s # static void 4101s # org_project_callable_iface_proxy_finalize (GObject *object) 4101s # { 4101s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 4101s # g_datalist_clear (&proxy->priv->qdata); 4101s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 4101s # } 4101s # 4101s # static void 4101s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4101s # guint prop_id G_GNUC_UNUSED, 4101s # GValue *value G_GNUC_UNUSED, 4101s # GParamSpec *pspec G_GNUC_UNUSED) 4101s # { 4101s # } 4101s # 4101s # static void 4101s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4101s # guint prop_id G_GNUC_UNUSED, 4101s # const GValue *value G_GNUC_UNUSED, 4101s # GParamSpec *pspec G_GNUC_UNUSED) 4101s # { 4101s # } 4101s # 4101s # static void 4101s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 4101s # const gchar *sender_name G_GNUC_UNUSED, 4101s # const gchar *signal_name, 4101s # GVariant *parameters) 4101s # { 4101s # _ExtendedGDBusSignalInfo *info; 4101s # GVariantIter iter; 4101s # GVariant *child; 4101s # GValue *paramv; 4101s # gsize num_params; 4101s # gsize n; 4101s # guint signal_id; 4101s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 4101s # if (info == NULL) 4101s # return; 4101s # num_params = g_variant_n_children (parameters); 4101s # paramv = g_new0 (GValue, num_params + 1); 4101s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 4101s # g_value_set_object (¶mv[0], proxy); 4101s # g_variant_iter_init (&iter, parameters); 4101s # n = 1; 4101s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4101s # { 4101s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4101s # if (arg_info->use_gvariant) 4101s # { 4101s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4101s # g_value_set_variant (¶mv[n], child); 4101s # n++; 4101s # } 4101s # else 4101s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4101s # g_variant_unref (child); 4101s # } 4101s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 4101s # g_signal_emitv (paramv, signal_id, 0, NULL); 4101s # for (n = 0; n < num_params + 1; n++) 4101s # g_value_unset (¶mv[n]); 4101s # g_free (paramv); 4101s # } 4101s # 4101s # static void 4101s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4101s # GVariant *changed_properties, 4101s # const gchar *const *invalidated_properties) 4101s # { 4101s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 4101s # guint n; 4101s # const gchar *key; 4101s # GVariantIter *iter; 4101s # _ExtendedGDBusPropertyInfo *info; 4101s # g_variant_get (changed_properties, "a{sv}", &iter); 4101s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4101s # { 4101s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 4101s # g_datalist_remove_data (&proxy->priv->qdata, key); 4101s # if (info != NULL) 4101s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4101s # } 4101s # g_variant_iter_free (iter); 4101s # for (n = 0; invalidated_properties[n] != NULL; n++) 4101s # { 4101s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 4101s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4101s # if (info != NULL) 4101s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4101s # } 4101s # } 4101s # 4101s # static void 4101s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 4101s # { 4101s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4101s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 4101s # #else 4101s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 4101s # #endif 4101s # 4101s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 4101s # } 4101s # 4101s # static void 4101s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 4101s # { 4101s # GObjectClass *gobject_class; 4101s # GDBusProxyClass *proxy_class; 4101s # 4101s # gobject_class = G_OBJECT_CLASS (klass); 4101s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 4101s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 4101s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 4101s # 4101s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4101s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 4101s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 4101s # 4101s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4101s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 4101s # #endif 4101s # } 4101s # 4101s # static void 4101s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 4101s # { 4101s # } 4101s # 4101s # /** 4101s # * org_project_callable_iface_proxy_new: 4101s # * @connection: A #GDBusConnection. 4101s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4101s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4101s # * @object_path: An object path. 4101s # * @cancellable: (nullable): A #GCancellable or %NULL. 4101s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4101s # * @user_data: User data to pass to @callback. 4101s # * 4101s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 4101s # * 4101s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4101s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 4101s # * 4101s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4101s # */ 4101s # void 4101s # org_project_callable_iface_proxy_new ( 4101s # GDBusConnection *connection, 4101s # GDBusProxyFlags flags, 4101s # const gchar *name, 4101s # const gchar *object_path, 4101s # GCancellable *cancellable, 4101s # GAsyncReadyCallback callback, 4101s # gpointer user_data) 4101s # { 4101s # 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); 4101s # } 4101s # 4101s # /** 4101s # * org_project_callable_iface_proxy_new_finish: 4101s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 4101s # * @error: Return location for error or %NULL 4101s # * 4101s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 4101s # * 4101s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4101s # */ 4101s # OrgProjectCallableIface * 4101s # org_project_callable_iface_proxy_new_finish ( 4101s # GAsyncResult *res, 4101s # GError **error) 4101s # { 4101s # GObject *ret; 4101s # GObject *source_object; 4101s # source_object = g_async_result_get_source_object (res); 4101s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4101s # g_object_unref (source_object); 4101s # if (ret != NULL) 4101s # return ORG_PROJECT_CALLABLE_IFACE (ret); 4101s # else 4101s # return NULL; 4101s # } 4101s # 4101s # /** 4101s # * org_project_callable_iface_proxy_new_sync: 4101s # * @connection: A #GDBusConnection. 4101s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4101s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4101s # * @object_path: An object path. 4101s # * @cancellable: (nullable): A #GCancellable or %NULL. 4101s # * @error: Return location for error or %NULL 4101s # * 4101s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 4101s # * 4101s # * The calling thread is blocked until a reply is received. 4101s # * 4101s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 4101s # * 4101s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4101s # */ 4101s # OrgProjectCallableIface * 4101s # org_project_callable_iface_proxy_new_sync ( 4101s # GDBusConnection *connection, 4101s # GDBusProxyFlags flags, 4101s # const gchar *name, 4101s # const gchar *object_path, 4101s # GCancellable *cancellable, 4101s # GError **error) 4101s # { 4101s # GInitable *ret; 4101s # 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); 4101s # if (ret != NULL) 4101s # return ORG_PROJECT_CALLABLE_IFACE (ret); 4101s # else 4101s # return NULL; 4101s # } 4101s # 4101s # 4101s # /** 4101s # * org_project_callable_iface_proxy_new_for_bus: 4101s # * @bus_type: A #GBusType. 4101s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4101s # * @name: A bus name (well-known or unique). 4101s # * @object_path: An object path. 4101s # * @cancellable: (nullable): A #GCancellable or %NULL. 4101s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4101s # * @user_data: User data to pass to @callback. 4101s # * 4101s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4101s # * 4101s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4101s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 4101s # * 4101s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4101s # */ 4101s # void 4101s # org_project_callable_iface_proxy_new_for_bus ( 4101s # GBusType bus_type, 4101s # GDBusProxyFlags flags, 4101s # const gchar *name, 4101s # const gchar *object_path, 4101s # GCancellable *cancellable, 4101s # GAsyncReadyCallback callback, 4101s # gpointer user_data) 4101s # { 4101s # 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); 4101s # } 4101s # 4101s # /** 4101s # * org_project_callable_iface_proxy_new_for_bus_finish: 4101s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 4101s # * @error: Return location for error or %NULL 4101s # * 4101s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 4101s # * 4101s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4101s # */ 4101s # OrgProjectCallableIface * 4101s # org_project_callable_iface_proxy_new_for_bus_finish ( 4101s # GAsyncResult *res, 4101s # GError **error) 4101s # { 4101s # GObject *ret; 4101s # GObject *source_object; 4101s # source_object = g_async_result_get_source_object (res); 4101s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4101s # g_object_unref (source_object); 4101s # if (ret != NULL) 4101s # return ORG_PROJECT_CALLABLE_IFACE (ret); 4101s # else 4101s # return NULL; 4101s # } 4101s # 4101s # /** 4101s # * org_project_callable_iface_proxy_new_for_bus_sync: 4101s # * @bus_type: A #GBusType. 4101s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4101s # * @name: A bus name (well-known or unique). 4101s # * @object_path: An object path. 4101s # * @cancellable: (nullable): A #GCancellable or %NULL. 4101s # * @error: Return location for error or %NULL 4101s # * 4101s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4101s # * 4101s # * The calling thread is blocked until a reply is received. 4101s # * 4101s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4101s # * 4101s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4101s # */ 4101s # OrgProjectCallableIface * 4101s # org_project_callable_iface_proxy_new_for_bus_sync ( 4101s # GBusType bus_type, 4101s # GDBusProxyFlags flags, 4101s # const gchar *name, 4101s # const gchar *object_path, 4101s # GCancellable *cancellable, 4101s # GError **error) 4101s # { 4101s # GInitable *ret; 4101s # 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); 4101s # if (ret != NULL) 4101s # return ORG_PROJECT_CALLABLE_IFACE (ret); 4101s # else 4101s # return NULL; 4101s # } 4101s # 4101s # 4101s # /* ------------------------------------------------------------------------ */ 4101s # 4101s # /** 4101s # * OrgProjectCallableIfaceSkeleton: 4101s # * 4101s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4101s # */ 4101s # 4101s # /** 4101s # * OrgProjectCallableIfaceSkeletonClass: 4101s # * @parent_class: The parent class. 4101s # * 4101s # * Class structure for #OrgProjectCallableIfaceSkeleton. 4101s # */ 4101s # 4101s # struct _OrgProjectCallableIfaceSkeletonPrivate 4101s # { 4101s # GValue *properties; 4101s # GList *changed_properties; 4101s # GSource *changed_properties_idle_source; 4101s # GMainContext *context; 4101s # GMutex lock; 4101s # }; 4101s # 4101s # static void 4101s # _org_project_callable_iface_skeleton_handle_method_call ( 4101s # GDBusConnection *connection G_GNUC_UNUSED, 4101s # const gchar *sender G_GNUC_UNUSED, 4101s # const gchar *object_path G_GNUC_UNUSED, 4101s # const gchar *interface_name, 4101s # const gchar *method_name, 4101s # GVariant *parameters, 4101s # GDBusMethodInvocation *invocation, 4101s # gpointer user_data) 4101s # { 4101s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 4101s # _ExtendedGDBusMethodInfo *info; 4101s # GVariantIter iter; 4101s # GVariant *child; 4101s # GValue *paramv; 4101s # gsize num_params; 4101s # guint num_extra; 4101s # gsize n; 4101s # guint signal_id; 4101s # GValue return_value = G_VALUE_INIT; 4101s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4101s # g_assert (info != NULL); 4101s # num_params = g_variant_n_children (parameters); 4101s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4101s # n = 0; 4101s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 4101s # g_value_set_object (¶mv[n++], skeleton); 4101s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4101s # g_value_set_object (¶mv[n++], invocation); 4101s # if (info->pass_fdlist) 4101s # { 4101s # #ifdef G_OS_UNIX 4101s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4101s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4101s # #else 4101s # g_assert_not_reached (); 4101s # #endif 4101s # } 4101s # g_variant_iter_init (&iter, parameters); 4101s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4101s # { 4101s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4101s # if (arg_info->use_gvariant) 4101s # { 4101s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4101s # g_value_set_variant (¶mv[n], child); 4101s # n++; 4101s # } 4101s # else 4101s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4101s # g_variant_unref (child); 4101s # } 4101s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 4101s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4101s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4101s # if (!g_value_get_boolean (&return_value)) 4101s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4101s # g_value_unset (&return_value); 4101s # for (n = 0; n < num_params + num_extra; n++) 4101s # g_value_unset (¶mv[n]); 4101s # g_free (paramv); 4101s # } 4101s # 4101s # static GVariant * 4101s # _org_project_callable_iface_skeleton_handle_get_property ( 4101s # GDBusConnection *connection G_GNUC_UNUSED, 4101s # const gchar *sender G_GNUC_UNUSED, 4101s # const gchar *object_path G_GNUC_UNUSED, 4101s # const gchar *interface_name G_GNUC_UNUSED, 4101s # const gchar *property_name, 4101s # GError **error, 4101s # gpointer user_data) 4101s # { 4101s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 4101s # GValue value = G_VALUE_INIT; 4101s # GParamSpec *pspec; 4101s # _ExtendedGDBusPropertyInfo *info; 4101s # GVariant *ret; 4101s # ret = NULL; 4101s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 4101s # g_assert (info != NULL); 4101s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4101s # if (pspec == NULL) 4101s # { 4101s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4101s # } 4101s # else 4101s # { 4101s # g_value_init (&value, pspec->value_type); 4101s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4101s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4101s # g_value_unset (&value); 4101s # } 4101s # return ret; 4101s # } 4101s # 4101s # static gboolean 4101s # _org_project_callable_iface_skeleton_handle_set_property ( 4101s # GDBusConnection *connection G_GNUC_UNUSED, 4101s # const gchar *sender G_GNUC_UNUSED, 4101s # const gchar *object_path G_GNUC_UNUSED, 4101s # const gchar *interface_name G_GNUC_UNUSED, 4101s # const gchar *property_name, 4101s # GVariant *variant, 4101s # GError **error, 4101s # gpointer user_data) 4101s # { 4101s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 4101s # GValue value = G_VALUE_INIT; 4101s # GParamSpec *pspec; 4101s # _ExtendedGDBusPropertyInfo *info; 4101s # gboolean ret; 4101s # ret = FALSE; 4101s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 4101s # g_assert (info != NULL); 4101s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4101s # if (pspec == NULL) 4101s # { 4101s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4101s # } 4101s # else 4101s # { 4101s # if (info->use_gvariant) 4101s # g_value_set_variant (&value, variant); 4101s # else 4101s # g_dbus_gvariant_to_gvalue (variant, &value); 4101s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4101s # g_value_unset (&value); 4101s # ret = TRUE; 4101s # } 4101s # return ret; 4101s # } 4101s # 4101s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 4101s # { 4101s # _org_project_callable_iface_skeleton_handle_method_call, 4101s # _org_project_callable_iface_skeleton_handle_get_property, 4101s # _org_project_callable_iface_skeleton_handle_set_property, 4101s # {NULL} 4101s # }; 4101s # 4101s # static GDBusInterfaceInfo * 4101s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4101s # { 4101s # return org_project_callable_iface_interface_info (); 4101s # } 4101s # 4101s # static GDBusInterfaceVTable * 4101s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4101s # { 4101s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 4101s # } 4101s # 4101s # static GVariant * 4101s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4101s # { 4101s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 4101s # 4101s # GVariantBuilder builder; 4101s # guint n; 4101s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4101s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 4101s # goto out; 4101s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4101s # { 4101s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 4101s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4101s # { 4101s # GVariant *value; 4101s # 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); 4101s # if (value != NULL) 4101s # { 4101s # g_variant_take_ref (value); 4101s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4101s # g_variant_unref (value); 4101s # } 4101s # } 4101s # } 4101s # out: 4101s # return g_variant_builder_end (&builder); 4101s # } 4101s # 4101s # static void 4101s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4101s # { 4101s # } 4101s # 4101s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 4101s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4101s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4101s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 4101s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 4101s # 4101s # #else 4101s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4101s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 4101s # 4101s # #endif 4101s # static void 4101s # org_project_callable_iface_skeleton_finalize (GObject *object) 4101s # { 4101s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 4101s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4101s # if (skeleton->priv->changed_properties_idle_source != NULL) 4101s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4101s # g_main_context_unref (skeleton->priv->context); 4101s # g_mutex_clear (&skeleton->priv->lock); 4101s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 4101s # } 4101s # 4101s # static void 4101s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 4101s # { 4101s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4101s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 4101s # #else 4101s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 4101s # #endif 4101s # 4101s # g_mutex_init (&skeleton->priv->lock); 4101s # skeleton->priv->context = g_main_context_ref_thread_default (); 4101s # } 4101s # 4101s # static void 4101s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 4101s # { 4101s # GObjectClass *gobject_class; 4101s # GDBusInterfaceSkeletonClass *skeleton_class; 4101s # 4101s # gobject_class = G_OBJECT_CLASS (klass); 4101s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 4101s # 4101s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4101s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 4101s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 4101s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 4101s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 4101s # 4101s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4101s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 4101s # #endif 4101s # } 4101s # 4101s # static void 4101s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 4101s # { 4101s # } 4101s # 4101s # /** 4101s # * org_project_callable_iface_skeleton_new: 4101s # * 4101s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 4101s # * 4101s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 4101s # */ 4101s # OrgProjectCallableIface * 4101s # org_project_callable_iface_skeleton_new (void) 4101s # { 4101s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 4101s # } 4101s # 4101s # /* ------------------------------------------------------------------------ 4101s # * Code for interface org.project.OtherCallableIface 4101s # * ------------------------------------------------------------------------ 4101s # */ 4101s # 4101s # /** 4101s # * SECTION:OrgProjectOtherCallableIface 4101s # * @title: OrgProjectOtherCallableIface 4101s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 4101s # * 4101s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 4101s # */ 4101s # 4101s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 4101s # 4101s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 4101s # { 4101s # { 4101s # -1, 4101s # (gchar *) "SimpleMethod", 4101s # NULL, 4101s # NULL, 4101s # NULL 4101s # }, 4101s # "handle-simple-method", 4101s # FALSE 4101s # }; 4101s # 4101s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 4101s # { 4101s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 4101s # NULL 4101s # }; 4101s # 4101s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 4101s # { 4101s # { 4101s # -1, 4101s # (gchar *) "org.project.OtherCallableIface", 4101s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 4101s # NULL, 4101s # NULL, 4101s # NULL 4101s # }, 4101s # "org-project-other-callable-iface", 4101s # }; 4101s # 4101s # 4101s # /** 4101s # * org_project_other_callable_iface_interface_info: 4101s # * 4101s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 4101s # * 4101s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4101s # */ 4101s # GDBusInterfaceInfo * 4101s # org_project_other_callable_iface_interface_info (void) 4101s # { 4101s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 4101s # } 4101s # 4101s # /** 4101s # * org_project_other_callable_iface_override_properties: 4101s # * @klass: The class structure for a #GObject derived class. 4101s # * @property_id_begin: The property id to assign to the first overridden property. 4101s # * 4101s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 4101s # * The properties are overridden in the order they are defined. 4101s # * 4101s # * Returns: The last property id. 4101s # */ 4101s # guint 4101s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4101s # { 4101s # return property_id_begin - 1; 4101s # } 4101s # 4101s # 4101s # inline static void 4101s # org_project_other_callable_iface_method_marshal_simple_method ( 4101s # GClosure *closure, 4101s # GValue *return_value, 4101s # unsigned int n_param_values, 4101s # const GValue *param_values, 4101s # void *invocation_hint, 4101s # void *marshal_data) 4101s # { 4101s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4101s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4101s # } 4101s # 4101s # 4101s # /** 4101s # * OrgProjectOtherCallableIface: 4101s # * 4101s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 4101s # */ 4101s # 4101s # /** 4101s # * OrgProjectOtherCallableIfaceIface: 4101s # * @parent_iface: The parent interface. 4101s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 4101s # * 4101s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 4101s # */ 4101s # 4101s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 4101s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 4101s # 4101s # static void 4101s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 4101s # { 4101s # /* GObject signals for incoming D-Bus method calls: */ 4101s # /** 4101s # * OrgProjectOtherCallableIface::handle-simple-method: 4101s # * @object: A #OrgProjectOtherCallableIface. 4101s # * @invocation: A #GDBusMethodInvocation. 4101s # * 4101s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 4101s # * 4101s # * 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. 4101s # * 4101s # * 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. 4101s # */ 4101s # g_signal_new ("handle-simple-method", 4101s # G_TYPE_FROM_INTERFACE (iface), 4101s # G_SIGNAL_RUN_LAST, 4101s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 4101s # g_signal_accumulator_true_handled, 4101s # NULL, 4101s # org_project_other_callable_iface_method_marshal_simple_method, 4101s # G_TYPE_BOOLEAN, 4101s # 1, 4101s # G_TYPE_DBUS_METHOD_INVOCATION); 4101s # 4101s # } 4101s # 4101s # /** 4101s # * org_project_other_callable_iface_call_simple_method: 4101s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 4101s # * @cancellable: (nullable): A #GCancellable or %NULL. 4101s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4101s # * @user_data: User data to pass to @callback. 4101s # * 4101s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 4101s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4101s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 4101s # * 4101s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 4101s # */ 4101s # void 4101s # org_project_other_callable_iface_call_simple_method ( 4101s # OrgProjectOtherCallableIface *proxy, 4101s # GCancellable *cancellable, 4101s # GAsyncReadyCallback callback, 4101s # gpointer user_data) 4101s # { 4101s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4101s # "SimpleMethod", 4101s # g_variant_new ("()"), 4101s # G_DBUS_CALL_FLAGS_NONE, 4101s # -1, 4101s # cancellable, 4101s # callback, 4101s # user_data); 4101s # } 4101s # 4101s # /** 4101s # * org_project_other_callable_iface_call_simple_method_finish: 4101s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 4101s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 4101s # * @error: Return location for error or %NULL. 4101s # * 4101s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 4101s # * 4101s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4101s # */ 4101s # gboolean 4101s # org_project_other_callable_iface_call_simple_method_finish ( 4101s # OrgProjectOtherCallableIface *proxy, 4101s # GAsyncResult *res, 4101s # GError **error) 4101s # { 4101s # GVariant *_ret; 4101s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4101s # if (_ret == NULL) 4101s # goto _out; 4101s # g_variant_get (_ret, 4101s # "()"); 4101s # g_variant_unref (_ret); 4101s # _out: 4101s # return _ret != NULL; 4101s # } 4101s # 4101s # /** 4101s # * org_project_other_callable_iface_call_simple_method_sync: 4101s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 4101s # * @cancellable: (nullable): A #GCancellable or %NULL. 4101s # * @error: Return location for error or %NULL. 4101s # * 4101s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4101s # * 4101s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 4101s # * 4101s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4101s # */ 4101s # gboolean 4101s # org_project_other_callable_iface_call_simple_method_sync ( 4101s # OrgProjectOtherCallableIface *proxy, 4101s # GCancellable *cancellable, 4101s # GError **error) 4101s # { 4101s # GVariant *_ret; 4101s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4101s # "SimpleMethod", 4101s # g_variant_new ("()"), 4101s # G_DBUS_CALL_FLAGS_NONE, 4101s # -1, 4101s # cancellable, 4101s # error); 4101s # if (_ret == NULL) 4101s # goto _out; 4101s # g_variant_get (_ret, 4101s # "()"); 4101s # g_variant_unref (_ret); 4101s # _out: 4101s # return _ret != NULL; 4101s # } 4101s # 4101s # /** 4101s # * org_project_other_callable_iface_complete_simple_method: 4101s # * @object: A #OrgProjectOtherCallableIface. 4101s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4101s # * 4101s # * 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. 4101s # * 4101s # * This method will free @invocation, you cannot use it afterwards. 4101s # */ 4101s # void 4101s # org_project_other_callable_iface_complete_simple_method ( 4101s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 4101s # GDBusMethodInvocation *invocation) 4101s # { 4101s # g_dbus_method_invocation_return_value (invocation, 4101s # g_variant_new ("()")); 4101s # } 4101s # 4101s # /* ------------------------------------------------------------------------ */ 4101s # 4101s # /** 4101s # * OrgProjectOtherCallableIfaceProxy: 4101s # * 4101s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 4101s # */ 4101s # 4101s # /** 4101s # * OrgProjectOtherCallableIfaceProxyClass: 4101s # * @parent_class: The parent class. 4101s # * 4101s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 4101s # */ 4101s # 4101s # struct _OrgProjectOtherCallableIfaceProxyPrivate 4101s # { 4101s # GData *qdata; 4101s # }; 4101s # 4101s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 4101s # 4101s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4101s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 4101s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 4101s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 4101s # 4101s # #else 4101s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 4101s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 4101s # 4101s # #endif 4101s # static void 4101s # org_project_other_callable_iface_proxy_finalize (GObject *object) 4101s # { 4101s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 4101s # g_datalist_clear (&proxy->priv->qdata); 4101s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 4101s # } 4101s # 4101s # static void 4101s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4101s # guint prop_id G_GNUC_UNUSED, 4101s # GValue *value G_GNUC_UNUSED, 4101s # GParamSpec *pspec G_GNUC_UNUSED) 4101s # { 4101s # } 4101s # 4101s # static void 4101s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4101s # guint prop_id G_GNUC_UNUSED, 4101s # const GValue *value G_GNUC_UNUSED, 4101s # GParamSpec *pspec G_GNUC_UNUSED) 4101s # { 4101s # } 4101s # 4101s # static void 4101s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 4101s # const gchar *sender_name G_GNUC_UNUSED, 4101s # const gchar *signal_name, 4101s # GVariant *parameters) 4101s # { 4101s # _ExtendedGDBusSignalInfo *info; 4101s # GVariantIter iter; 4101s # GVariant *child; 4101s # GValue *paramv; 4101s # gsize num_params; 4101s # gsize n; 4101s # guint signal_id; 4101s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 4101s # if (info == NULL) 4101s # return; 4101s # num_params = g_variant_n_children (parameters); 4101s # paramv = g_new0 (GValue, num_params + 1); 4101s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 4101s # g_value_set_object (¶mv[0], proxy); 4101s # g_variant_iter_init (&iter, parameters); 4101s # n = 1; 4101s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4101s # { 4101s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4101s # if (arg_info->use_gvariant) 4101s # { 4101s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4101s # g_value_set_variant (¶mv[n], child); 4101s # n++; 4101s # } 4101s # else 4101s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4101s # g_variant_unref (child); 4101s # } 4101s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 4101s # g_signal_emitv (paramv, signal_id, 0, NULL); 4101s # for (n = 0; n < num_params + 1; n++) 4101s # g_value_unset (¶mv[n]); 4101s # g_free (paramv); 4101s # } 4101s # 4101s # static void 4101s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4101s # GVariant *changed_properties, 4101s # const gchar *const *invalidated_properties) 4101s # { 4101s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 4101s # guint n; 4101s # const gchar *key; 4101s # GVariantIter *iter; 4101s # _ExtendedGDBusPropertyInfo *info; 4101s # g_variant_get (changed_properties, "a{sv}", &iter); 4101s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4101s # { 4101s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 4101s # g_datalist_remove_data (&proxy->priv->qdata, key); 4101s # if (info != NULL) 4101s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4101s # } 4101s # g_variant_iter_free (iter); 4101s # for (n = 0; invalidated_properties[n] != NULL; n++) 4101s # { 4101s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 4101s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4101s # if (info != NULL) 4101s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4101s # } 4101s # } 4101s # 4101s # static void 4101s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 4101s # { 4101s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4101s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 4101s # #else 4101s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 4101s # #endif 4101s # 4101s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 4101s # } 4101s # 4101s # static void 4101s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 4101s # { 4101s # GObjectClass *gobject_class; 4101s # GDBusProxyClass *proxy_class; 4101s # 4101s # gobject_class = G_OBJECT_CLASS (klass); 4101s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 4101s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 4101s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 4101s # 4101s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4101s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 4101s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 4101s # 4101s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4101s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 4101s # #endif 4101s # } 4101s # 4101s # static void 4101s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 4101s # { 4101s # } 4101s # 4101s # /** 4101s # * org_project_other_callable_iface_proxy_new: 4101s # * @connection: A #GDBusConnection. 4101s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4101s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4101s # * @object_path: An object path. 4101s # * @cancellable: (nullable): A #GCancellable or %NULL. 4101s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4101s # * @user_data: User data to pass to @callback. 4101s # * 4101s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 4101s # * 4101s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4101s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 4101s # * 4101s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4101s # */ 4101s # void 4101s # org_project_other_callable_iface_proxy_new ( 4101s # GDBusConnection *connection, 4101s # GDBusProxyFlags flags, 4101s # const gchar *name, 4101s # const gchar *object_path, 4101s # GCancellable *cancellable, 4101s # GAsyncReadyCallback callback, 4101s # gpointer user_data) 4101s # { 4101s # 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); 4101s # } 4101s # 4101s # /** 4101s # * org_project_other_callable_iface_proxy_new_finish: 4101s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 4101s # * @error: Return location for error or %NULL 4101s # * 4101s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 4101s # * 4101s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4101s # */ 4101s # OrgProjectOtherCallableIface * 4101s # org_project_other_callable_iface_proxy_new_finish ( 4101s # GAsyncResult *res, 4101s # GError **error) 4101s # { 4101s # GObject *ret; 4101s # GObject *source_object; 4101s # source_object = g_async_result_get_source_object (res); 4101s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4101s # g_object_unref (source_object); 4101s # if (ret != NULL) 4101s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 4101s # else 4101s # return NULL; 4101s # } 4101s # 4101s # /** 4101s # * org_project_other_callable_iface_proxy_new_sync: 4101s # * @connection: A #GDBusConnection. 4101s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4101s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4101s # * @object_path: An object path. 4101s # * @cancellable: (nullable): A #GCancellable or %NULL. 4101s # * @error: Return location for error or %NULL 4101s # * 4101s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 4101s # * 4101s # * The calling thread is blocked until a reply is received. 4101s # * 4101s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 4101s # * 4101s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4101s # */ 4101s # OrgProjectOtherCallableIface * 4101s # org_project_other_callable_iface_proxy_new_sync ( 4101s # GDBusConnection *connection, 4101s # GDBusProxyFlags flags, 4101s # const gchar *name, 4101s # const gchar *object_path, 4101s # GCancellable *cancellable, 4101s # GError **error) 4101s # { 4101s # GInitable *ret; 4101s # 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); 4101s # if (ret != NULL) 4101s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 4101s # else 4101s # return NULL; 4101s # } 4101s # 4101s # 4101s # /** 4101s # * org_project_other_callable_iface_proxy_new_for_bus: 4101s # * @bus_type: A #GBusType. 4101s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4101s # * @name: A bus name (well-known or unique). 4101s # * @object_path: An object path. 4101s # * @cancellable: (nullable): A #GCancellable or %NULL. 4101s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4101s # * @user_data: User data to pass to @callback. 4101s # * 4101s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4101s # * 4101s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4101s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 4101s # * 4101s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4101s # */ 4101s # void 4101s # org_project_other_callable_iface_proxy_new_for_bus ( 4101s # GBusType bus_type, 4101s # GDBusProxyFlags flags, 4101s # const gchar *name, 4101s # const gchar *object_path, 4101s # GCancellable *cancellable, 4101s # GAsyncReadyCallback callback, 4101s # gpointer user_data) 4101s # { 4101s # 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); 4101s # } 4101s # 4101s # /** 4101s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 4101s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 4101s # * @error: Return location for error or %NULL 4101s # * 4101s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 4101s # * 4101s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4101s # */ 4101s # OrgProjectOtherCallableIface * 4101s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 4101s # GAsyncResult *res, 4101s # GError **error) 4101s # { 4101s # GObject *ret; 4101s # GObject *source_object; 4101s # source_object = g_async_result_get_source_object (res); 4101s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4101s # g_object_unref (source_object); 4101s # if (ret != NULL) 4101s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 4101s # else 4101s # return NULL; 4101s # } 4101s # 4101s # /** 4101s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 4101s # * @bus_type: A #GBusType. 4101s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4101s # * @name: A bus name (well-known or unique). 4101s # * @object_path: An object path. 4101s # * @cancellable: (nullable): A #GCancellable or %NULL. 4101s # * @error: Return location for error or %NULL 4101s # * 4101s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4101s # * 4101s # * The calling thread is blocked until a reply is received. 4101s # * 4101s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4101s # * 4101s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4101s # */ 4101s # OrgProjectOtherCallableIface * 4101s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 4101s # GBusType bus_type, 4101s # GDBusProxyFlags flags, 4101s # const gchar *name, 4101s # const gchar *object_path, 4101s # GCancellable *cancellable, 4101s # GError **error) 4101s # { 4101s # GInitable *ret; 4101s # 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); 4101s # if (ret != NULL) 4101s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 4101s # else 4101s # return NULL; 4101s # } 4101s # 4101s # 4101s # /* ------------------------------------------------------------------------ */ 4101s # 4101s # /** 4101s # * OrgProjectOtherCallableIfaceSkeleton: 4101s # * 4101s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4101s # */ 4101s # 4101s # /** 4101s # * OrgProjectOtherCallableIfaceSkeletonClass: 4101s # * @parent_class: The parent class. 4101s # * 4101s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 4101s # */ 4101s # 4101s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 4101s # { 4101s # GValue *properties; 4101s # GList *changed_properties; 4101s # GSource *changed_properties_idle_source; 4101s # GMainContext *context; 4101s # GMutex lock; 4101s # }; 4101s # 4101s # static void 4101s # _org_project_other_callable_iface_skeleton_handle_method_call ( 4101s # GDBusConnection *connection G_GNUC_UNUSED, 4101s # const gchar *sender G_GNUC_UNUSED, 4101s # const gchar *object_path G_GNUC_UNUSED, 4101s # const gchar *interface_name, 4101s # const gchar *method_name, 4101s # GVariant *parameters, 4101s # GDBusMethodInvocation *invocation, 4101s # gpointer user_data) 4101s # { 4101s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 4101s # _ExtendedGDBusMethodInfo *info; 4101s # GVariantIter iter; 4101s # GVariant *child; 4101s # GValue *paramv; 4101s # gsize num_params; 4101s # guint num_extra; 4101s # gsize n; 4101s # guint signal_id; 4101s # GValue return_value = G_VALUE_INIT; 4101s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4101s # g_assert (info != NULL); 4101s # num_params = g_variant_n_children (parameters); 4101s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4101s # n = 0; 4101s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 4101s # g_value_set_object (¶mv[n++], skeleton); 4101s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4101s # g_value_set_object (¶mv[n++], invocation); 4101s # if (info->pass_fdlist) 4101s # { 4101s # #ifdef G_OS_UNIX 4101s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4101s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4101s # #else 4101s # g_assert_not_reached (); 4101s # #endif 4101s # } 4101s # g_variant_iter_init (&iter, parameters); 4101s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4101s # { 4101s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4101s # if (arg_info->use_gvariant) 4101s # { 4101s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4101s # g_value_set_variant (¶mv[n], child); 4101s # n++; 4101s # } 4101s # else 4101s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4101s # g_variant_unref (child); 4101s # } 4101s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 4101s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4101s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4101s # if (!g_value_get_boolean (&return_value)) 4101s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4101s # g_value_unset (&return_value); 4101s # for (n = 0; n < num_params + num_extra; n++) 4101s # g_value_unset (¶mv[n]); 4101s # g_free (paramv); 4101s # } 4101s # 4101s # static GVariant * 4101s # _org_project_other_callable_iface_skeleton_handle_get_property ( 4101s # GDBusConnection *connection G_GNUC_UNUSED, 4101s # const gchar *sender G_GNUC_UNUSED, 4101s # const gchar *object_path G_GNUC_UNUSED, 4101s # const gchar *interface_name G_GNUC_UNUSED, 4101s # const gchar *property_name, 4101s # GError **error, 4101s # gpointer user_data) 4101s # { 4101s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 4101s # GValue value = G_VALUE_INIT; 4101s # GParamSpec *pspec; 4101s # _ExtendedGDBusPropertyInfo *info; 4101s # GVariant *ret; 4101s # ret = NULL; 4101s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 4101s # g_assert (info != NULL); 4101s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4101s # if (pspec == NULL) 4101s # { 4101s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4101s # } 4101s # else 4101s # { 4101s # g_value_init (&value, pspec->value_type); 4101s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4101s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4101s # g_value_unset (&value); 4101s # } 4101s # return ret; 4101s # } 4101s # 4101s # static gboolean 4101s # _org_project_other_callable_iface_skeleton_handle_set_property ( 4101s # GDBusConnection *connection G_GNUC_UNUSED, 4101s # const gchar *sender G_GNUC_UNUSED, 4101s # const gchar *object_path G_GNUC_UNUSED, 4101s # const gchar *interface_name G_GNUC_UNUSED, 4101s # const gchar *property_name, 4101s # GVariant *variant, 4101s # GError **error, 4101s # gpointer user_data) 4101s # { 4101s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 4101s # GValue value = G_VALUE_INIT; 4101s # GParamSpec *pspec; 4101s # _ExtendedGDBusPropertyInfo *info; 4101s # gboolean ret; 4101s # ret = FALSE; 4101s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 4101s # g_assert (info != NULL); 4101s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4101s # if (pspec == NULL) 4101s # { 4101s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4101s # } 4101s # else 4101s # { 4101s # if (info->use_gvariant) 4101s # g_value_set_variant (&value, variant); 4101s # else 4101s # g_dbus_gvariant_to_gvalue (variant, &value); 4101s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4101s # g_value_unset (&value); 4101s # ret = TRUE; 4101s # } 4101s # return ret; 4101s # } 4101s # 4101s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 4101s # { 4101s # _org_project_other_callable_iface_skeleton_handle_method_call, 4101s # _org_project_other_callable_iface_skeleton_handle_get_property, 4101s # _org_project_other_callable_iface_skeleton_handle_set_property, 4101s # {NULL} 4101s # }; 4101s # 4101s # static GDBusInterfaceInfo * 4101s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4101s # { 4101s # return org_project_other_callable_iface_interface_info (); 4101s # } 4101s # 4101s # static GDBusInterfaceVTable * 4101s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4101s # { 4101s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 4101s # } 4101s # 4101s # static GVariant * 4101s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4101s # { 4101s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 4101s # 4101s # GVariantBuilder builder; 4101s # guint n; 4101s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4101s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 4101s # goto out; 4101s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4101s # { 4101s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 4101s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4101s # { 4101s # GVariant *value; 4101s # 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); 4101s # if (value != NULL) 4101s # { 4101s # g_variant_take_ref (value); 4101s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4101s # g_variant_unref (value); 4101s # } 4101s # } 4101s # } 4101s # out: 4101s # return g_variant_builder_end (&builder); 4101s # } 4101s # 4101s # static void 4101s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4101s # { 4101s # } 4101s # 4101s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 4101s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4101s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4101s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 4101s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 4101s # 4101s # #else 4101s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4101s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 4101s # 4101s # #endif 4101s # static void 4101s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 4101s # { 4101s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 4101s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4101s # if (skeleton->priv->changed_properties_idle_source != NULL) 4101s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4101s # g_main_context_unref (skeleton->priv->context); 4101s # g_mutex_clear (&skeleton->priv->lock); 4101s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 4101s # } 4101s # 4101s # static void 4101s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 4101s # { 4101s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4101s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 4101s # #else 4101s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 4101s # #endif 4101s # 4101s # g_mutex_init (&skeleton->priv->lock); 4101s # skeleton->priv->context = g_main_context_ref_thread_default (); 4101s # } 4101s # 4101s # static void 4101s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 4101s # { 4101s # GObjectClass *gobject_class; 4101s # GDBusInterfaceSkeletonClass *skeleton_class; 4101s # 4101s # gobject_class = G_OBJECT_CLASS (klass); 4101s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 4101s # 4101s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4101s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 4101s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 4101s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 4101s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 4101s # 4101s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4101s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 4101s # #endif 4101s # } 4101s # 4101s # static void 4101s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 4101s # { 4101s # } 4101s # 4101s # /** 4101s # * org_project_other_callable_iface_skeleton_new: 4101s # * 4101s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 4101s # * 4101s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 4101s # */ 4101s # OrgProjectOtherCallableIface * 4101s # org_project_other_callable_iface_skeleton_new (void) 4101s # { 4101s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 4101s # } 4102s # Executing: glib/codegen.py.test 4104s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 4104s # tmpdir: /tmp/tmp5t_p_xf7 4104s # codegen: /usr/bin/gdbus-codegen 4104s # /tmp/tmp5t_p_xf7/tmp_iv_975z.xml: 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmp_iv_975z.xml', '--output', '-', '--body'] 4104s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4104s # Output: /* 4104s # * This file is generated by gdbus-codegen, do not modify it. 4104s # * 4104s # * The license of this code is the same as for the D-Bus interface description 4104s # * it was derived from. Note that it links to GLib, so must comply with the 4104s # * LGPL linking clauses. 4104s # */ 4104s # 4104s # #ifdef HAVE_CONFIG_H 4104s # # include "config.h" 4104s # #endif 4104s # 4104s # #include 4104s # #ifdef G_OS_UNIX 4104s # # include 4104s # #endif 4104s # 4104s # #ifdef G_ENABLE_DEBUG 4104s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4104s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4104s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4104s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4104s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4104s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4104s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4104s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4104s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4104s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4104s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4104s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4104s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4104s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4104s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4104s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4104s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4104s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4104s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4104s # #else /* !G_ENABLE_DEBUG */ 4104s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4104s # * Do not access GValues directly in your code. Instead, use the 4104s # * g_value_get_*() functions 4104s # */ 4104s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4104s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4104s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4104s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4104s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4104s # #endif /* !G_ENABLE_DEBUG */ 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusArgInfo parent_struct; 4104s # gboolean use_gvariant; 4104s # } _ExtendedGDBusArgInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusMethodInfo parent_struct; 4104s # const gchar *signal_name; 4104s # gboolean pass_fdlist; 4104s # } _ExtendedGDBusMethodInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusSignalInfo parent_struct; 4104s # const gchar *signal_name; 4104s # } _ExtendedGDBusSignalInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusPropertyInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # guint use_gvariant : 1; 4104s # guint emits_changed_signal : 1; 4104s # } _ExtendedGDBusPropertyInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusInterfaceInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # } _ExtendedGDBusInterfaceInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # const _ExtendedGDBusPropertyInfo *info; 4104s # guint prop_id; 4104s # GValue orig_value; /* the value before the change */ 4104s # } ChangedProperty; 4104s # 4104s # static void 4104s # _changed_property_free (ChangedProperty *data) 4104s # { 4104s # g_value_unset (&data->orig_value); 4104s # g_free (data); 4104s # } 4104s # 4104s # static gboolean 4104s # _g_strv_equal0 (gchar **a, gchar **b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # guint n; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # if (g_strv_length (a) != g_strv_length (b)) 4104s # goto out; 4104s # for (n = 0; a[n] != NULL; n++) 4104s # if (g_strcmp0 (a[n], b[n]) != 0) 4104s # goto out; 4104s # ret = TRUE; 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _g_variant_equal0 (GVariant *a, GVariant *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # ret = g_variant_equal (a, b); 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # G_GNUC_UNUSED static gboolean 4104s # _g_value_equal (const GValue *a, const GValue *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4104s # switch (G_VALUE_TYPE (a)) 4104s # { 4104s # case G_TYPE_BOOLEAN: 4104s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4104s # break; 4104s # case G_TYPE_UCHAR: 4104s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4104s # break; 4104s # case G_TYPE_INT: 4104s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4104s # break; 4104s # case G_TYPE_UINT: 4104s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4104s # break; 4104s # case G_TYPE_INT64: 4104s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4104s # break; 4104s # case G_TYPE_UINT64: 4104s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4104s # break; 4104s # case G_TYPE_DOUBLE: 4104s # { 4104s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4104s # gdouble da = g_value_get_double (a); 4104s # gdouble db = g_value_get_double (b); 4104s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4104s # } 4104s # break; 4104s # case G_TYPE_STRING: 4104s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4104s # break; 4104s # case G_TYPE_VARIANT: 4104s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4104s # break; 4104s # default: 4104s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4104s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4104s # else 4104s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4104s # break; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static void 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint G_GNUC_UNUSED, 4104s # void *marshal_data) 4104s # { 4104s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 4104s # (void *data1, 4104s # GDBusMethodInvocation *arg_method_invocation, 4104s # gboolean arg_arg_b, 4104s # void *data2); 4104s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 4104s # GCClosure *cc = (GCClosure*) closure; 4104s # void *data1, *data2; 4104s # gboolean v_return; 4104s # 4104s # g_return_if_fail (return_value != NULL); 4104s # g_return_if_fail (n_param_values == 3); 4104s # 4104s # if (G_CCLOSURE_SWAP_DATA (closure)) 4104s # { 4104s # data1 = closure->data; 4104s # data2 = g_value_peek_pointer (param_values + 0); 4104s # } 4104s # else 4104s # { 4104s # data1 = g_value_peek_pointer (param_values + 0); 4104s # data2 = closure->data; 4104s # } 4104s # 4104s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 4104s # (marshal_data ? marshal_data : cc->callback); 4104s # 4104s # v_return = 4104s # callback (data1, 4104s # g_marshal_value_peek_object (param_values + 1), 4104s # g_marshal_value_peek_boolean (param_values + 2), 4104s # data2); 4104s # 4104s # g_value_set_boolean (return_value, v_return); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ 4104s # * Code for interface org.project.UsefulInterface 4104s # * ------------------------------------------------------------------------ 4104s # */ 4104s # 4104s # /** 4104s # * SECTION:OrgProjectUsefulInterface 4104s # * @title: OrgProjectUsefulInterface 4104s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4104s # * 4104s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4104s # */ 4104s # 4104s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4104s # 4104s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "arg_b", 4104s # (gchar *) "b", 4104s # NULL 4104s # }, 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "SingleArgMethodB", 4104s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "handle-single-arg-method-b", 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "org.project.UsefulInterface", 4104s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4104s # NULL, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "org-project-useful-interface", 4104s # }; 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_interface_info: 4104s # * 4104s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4104s # * 4104s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4104s # */ 4104s # GDBusInterfaceInfo * 4104s # org_project_useful_interface_interface_info (void) 4104s # { 4104s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_override_properties: 4104s # * @klass: The class structure for a #GObject derived class. 4104s # * @property_id_begin: The property id to assign to the first overridden property. 4104s # * 4104s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4104s # * The properties are overridden in the order they are defined. 4104s # * 4104s # * Returns: The last property id. 4104s # */ 4104s # guint 4104s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4104s # { 4104s # return property_id_begin - 1; 4104s # } 4104s # 4104s # 4104s # inline static void 4104s # org_project_useful_interface_method_marshal_single_arg_method_b ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint, 4104s # void *marshal_data) 4104s # { 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 4104s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4104s # } 4104s # 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterface: 4104s # * 4104s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceIface: 4104s # * @parent_iface: The parent interface. 4104s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 4104s # * 4104s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4104s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4104s # 4104s # static void 4104s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4104s # { 4104s # /* GObject signals for incoming D-Bus method calls: */ 4104s # /** 4104s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: A #GDBusMethodInvocation. 4104s # * @arg_arg_b: Argument passed by remote caller. 4104s # * 4104s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 4104s # * 4104s # * 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. 4104s # * 4104s # * 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. 4104s # */ 4104s # g_signal_new ("handle-single-arg-method-b", 4104s # G_TYPE_FROM_INTERFACE (iface), 4104s # G_SIGNAL_RUN_LAST, 4104s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 4104s # g_signal_accumulator_true_handled, 4104s # NULL, 4104s # org_project_useful_interface_method_marshal_single_arg_method_b, 4104s # G_TYPE_BOOLEAN, 4104s # 2, 4104s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 4104s # 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_b: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_b: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 4104s # */ 4104s # void 4104s # org_project_useful_interface_call_single_arg_method_b ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # gboolean arg_arg_b, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodB", 4104s # g_variant_new ("(b)", 4104s # arg_arg_b), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # callback, 4104s # user_data); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_b_finish: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_b_finish ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_b_sync: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_b: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_b_sync ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # gboolean arg_arg_b, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodB", 4104s # g_variant_new ("(b)", 4104s # arg_arg_b), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_complete_single_arg_method_b: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4104s # * 4104s # * 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. 4104s # * 4104s # * This method will free @invocation, you cannot use it afterwards. 4104s # */ 4104s # void 4104s # org_project_useful_interface_complete_single_arg_method_b ( 4104s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4104s # GDBusMethodInvocation *invocation) 4104s # { 4104s # g_dbus_method_invocation_return_value (invocation, 4104s # g_variant_new ("()")); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxy: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxyClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceProxyPrivate 4104s # { 4104s # GData *qdata; 4104s # }; 4104s # 4104s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_proxy_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4104s # g_datalist_clear (&proxy->priv->qdata); 4104s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # const GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4104s # const gchar *sender_name G_GNUC_UNUSED, 4104s # const gchar *signal_name, 4104s # GVariant *parameters) 4104s # { 4104s # _ExtendedGDBusSignalInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # gsize n; 4104s # guint signal_id; 4104s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4104s # if (info == NULL) 4104s # return; 4104s # num_params = g_variant_n_children (parameters); 4104s # paramv = g_new0 (GValue, num_params + 1); 4104s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[0], proxy); 4104s # g_variant_iter_init (&iter, parameters); 4104s # n = 1; 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_signal_emitv (paramv, signal_id, 0, NULL); 4104s # for (n = 0; n < num_params + 1; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4104s # GVariant *changed_properties, 4104s # const gchar *const *invalidated_properties) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4104s # guint n; 4104s # const gchar *key; 4104s # GVariantIter *iter; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # g_variant_get (changed_properties, "a{sv}", &iter); 4104s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4104s # g_datalist_remove_data (&proxy->priv->qdata, key); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # g_variant_iter_free (iter); 4104s # for (n = 0; invalidated_properties[n] != NULL; n++) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4104s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4104s # #else 4104s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4104s # #endif 4104s # 4104s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusProxyClass *proxy_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4104s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4104s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4104s # 4104s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4104s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4104s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_sync: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_sync ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new_for_bus ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_sync: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_sync ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeleton: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeletonClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4104s # { 4104s # GValue *properties; 4104s # GList *changed_properties; 4104s # GSource *changed_properties_idle_source; 4104s # GMainContext *context; 4104s # GMutex lock; 4104s # }; 4104s # 4104s # static void 4104s # _org_project_useful_interface_skeleton_handle_method_call ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name, 4104s # const gchar *method_name, 4104s # GVariant *parameters, 4104s # GDBusMethodInvocation *invocation, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # _ExtendedGDBusMethodInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # guint num_extra; 4104s # gsize n; 4104s # guint signal_id; 4104s # GValue return_value = G_VALUE_INIT; 4104s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4104s # g_assert (info != NULL); 4104s # num_params = g_variant_n_children (parameters); 4104s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4104s # n = 0; 4104s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[n++], skeleton); 4104s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4104s # g_value_set_object (¶mv[n++], invocation); 4104s # if (info->pass_fdlist) 4104s # { 4104s # #ifdef G_OS_UNIX 4104s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4104s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4104s # #else 4104s # g_assert_not_reached (); 4104s # #endif 4104s # } 4104s # g_variant_iter_init (&iter, parameters); 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4104s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4104s # if (!g_value_get_boolean (&return_value)) 4104s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4104s # g_value_unset (&return_value); 4104s # for (n = 0; n < num_params + num_extra; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static GVariant * 4104s # _org_project_useful_interface_skeleton_handle_get_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # GVariant *ret; 4104s # ret = NULL; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # g_value_init (&value, pspec->value_type); 4104s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4104s # g_value_unset (&value); 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _org_project_useful_interface_skeleton_handle_set_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GVariant *variant, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # gboolean ret; 4104s # ret = FALSE; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # if (info->use_gvariant) 4104s # g_value_set_variant (&value, variant); 4104s # else 4104s # g_dbus_gvariant_to_gvalue (variant, &value); 4104s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # g_value_unset (&value); 4104s # ret = TRUE; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4104s # { 4104s # _org_project_useful_interface_skeleton_handle_method_call, 4104s # _org_project_useful_interface_skeleton_handle_get_property, 4104s # _org_project_useful_interface_skeleton_handle_set_property, 4104s # {NULL} 4104s # }; 4104s # 4104s # static GDBusInterfaceInfo * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return org_project_useful_interface_interface_info (); 4104s # } 4104s # 4104s # static GDBusInterfaceVTable * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4104s # } 4104s # 4104s # static GVariant * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4104s # 4104s # GVariantBuilder builder; 4104s # guint n; 4104s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4104s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4104s # goto out; 4104s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4104s # { 4104s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4104s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4104s # { 4104s # GVariant *value; 4104s # 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); 4104s # if (value != NULL) 4104s # { 4104s # g_variant_take_ref (value); 4104s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4104s # g_variant_unref (value); 4104s # } 4104s # } 4104s # } 4104s # out: 4104s # return g_variant_builder_end (&builder); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_skeleton_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4104s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4104s # if (skeleton->priv->changed_properties_idle_source != NULL) 4104s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4104s # g_main_context_unref (skeleton->priv->context); 4104s # g_mutex_clear (&skeleton->priv->lock); 4104s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4104s # #else 4104s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4104s # #endif 4104s # 4104s # g_mutex_init (&skeleton->priv->lock); 4104s # skeleton->priv->context = g_main_context_ref_thread_default (); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusInterfaceSkeletonClass *skeleton_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4104s # 4104s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4104s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4104s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4104s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4104s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_skeleton_new: 4104s # * 4104s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_skeleton_new (void) 4104s # { 4104s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4104s # } 4104s # /tmp/tmp5t_p_xf7/tmp_89uyf24.xml: 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmp_89uyf24.xml', '--output', '-', '--body'] 4104s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4104s # Output: /* 4104s # * This file is generated by gdbus-codegen, do not modify it. 4104s # * 4104s # * The license of this code is the same as for the D-Bus interface description 4104s # * it was derived from. Note that it links to GLib, so must comply with the 4104s # * LGPL linking clauses. 4104s # */ 4104s # 4104s # #ifdef HAVE_CONFIG_H 4104s # # include "config.h" 4104s # #endif 4104s # 4104s # #include 4104s # #ifdef G_OS_UNIX 4104s # # include 4104s # #endif 4104s # 4104s # #ifdef G_ENABLE_DEBUG 4104s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4104s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4104s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4104s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4104s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4104s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4104s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4104s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4104s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4104s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4104s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4104s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4104s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4104s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4104s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4104s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4104s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4104s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4104s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4104s # #else /* !G_ENABLE_DEBUG */ 4104s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4104s # * Do not access GValues directly in your code. Instead, use the 4104s # * g_value_get_*() functions 4104s # */ 4104s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4104s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4104s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4104s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4104s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4104s # #endif /* !G_ENABLE_DEBUG */ 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusArgInfo parent_struct; 4104s # gboolean use_gvariant; 4104s # } _ExtendedGDBusArgInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusMethodInfo parent_struct; 4104s # const gchar *signal_name; 4104s # gboolean pass_fdlist; 4104s # } _ExtendedGDBusMethodInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusSignalInfo parent_struct; 4104s # const gchar *signal_name; 4104s # } _ExtendedGDBusSignalInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusPropertyInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # guint use_gvariant : 1; 4104s # guint emits_changed_signal : 1; 4104s # } _ExtendedGDBusPropertyInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusInterfaceInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # } _ExtendedGDBusInterfaceInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # const _ExtendedGDBusPropertyInfo *info; 4104s # guint prop_id; 4104s # GValue orig_value; /* the value before the change */ 4104s # } ChangedProperty; 4104s # 4104s # static void 4104s # _changed_property_free (ChangedProperty *data) 4104s # { 4104s # g_value_unset (&data->orig_value); 4104s # g_free (data); 4104s # } 4104s # 4104s # static gboolean 4104s # _g_strv_equal0 (gchar **a, gchar **b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # guint n; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # if (g_strv_length (a) != g_strv_length (b)) 4104s # goto out; 4104s # for (n = 0; a[n] != NULL; n++) 4104s # if (g_strcmp0 (a[n], b[n]) != 0) 4104s # goto out; 4104s # ret = TRUE; 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _g_variant_equal0 (GVariant *a, GVariant *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # ret = g_variant_equal (a, b); 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # G_GNUC_UNUSED static gboolean 4104s # _g_value_equal (const GValue *a, const GValue *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4104s # switch (G_VALUE_TYPE (a)) 4104s # { 4104s # case G_TYPE_BOOLEAN: 4104s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4104s # break; 4104s # case G_TYPE_UCHAR: 4104s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4104s # break; 4104s # case G_TYPE_INT: 4104s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4104s # break; 4104s # case G_TYPE_UINT: 4104s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4104s # break; 4104s # case G_TYPE_INT64: 4104s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4104s # break; 4104s # case G_TYPE_UINT64: 4104s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4104s # break; 4104s # case G_TYPE_DOUBLE: 4104s # { 4104s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4104s # gdouble da = g_value_get_double (a); 4104s # gdouble db = g_value_get_double (b); 4104s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4104s # } 4104s # break; 4104s # case G_TYPE_STRING: 4104s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4104s # break; 4104s # case G_TYPE_VARIANT: 4104s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4104s # break; 4104s # default: 4104s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4104s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4104s # else 4104s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4104s # break; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static void 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint G_GNUC_UNUSED, 4104s # void *marshal_data) 4104s # { 4104s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 4104s # (void *data1, 4104s # GDBusMethodInvocation *arg_method_invocation, 4104s # guchar arg_arg_y, 4104s # void *data2); 4104s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 4104s # GCClosure *cc = (GCClosure*) closure; 4104s # void *data1, *data2; 4104s # gboolean v_return; 4104s # 4104s # g_return_if_fail (return_value != NULL); 4104s # g_return_if_fail (n_param_values == 3); 4104s # 4104s # if (G_CCLOSURE_SWAP_DATA (closure)) 4104s # { 4104s # data1 = closure->data; 4104s # data2 = g_value_peek_pointer (param_values + 0); 4104s # } 4104s # else 4104s # { 4104s # data1 = g_value_peek_pointer (param_values + 0); 4104s # data2 = closure->data; 4104s # } 4104s # 4104s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 4104s # (marshal_data ? marshal_data : cc->callback); 4104s # 4104s # v_return = 4104s # callback (data1, 4104s # g_marshal_value_peek_object (param_values + 1), 4104s # g_marshal_value_peek_uchar (param_values + 2), 4104s # data2); 4104s # 4104s # g_value_set_boolean (return_value, v_return); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ 4104s # * Code for interface org.project.UsefulInterface 4104s # * ------------------------------------------------------------------------ 4104s # */ 4104s # 4104s # /** 4104s # * SECTION:OrgProjectUsefulInterface 4104s # * @title: OrgProjectUsefulInterface 4104s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4104s # * 4104s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4104s # */ 4104s # 4104s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4104s # 4104s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "arg_y", 4104s # (gchar *) "y", 4104s # NULL 4104s # }, 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "SingleArgMethodY", 4104s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "handle-single-arg-method-y", 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "org.project.UsefulInterface", 4104s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4104s # NULL, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "org-project-useful-interface", 4104s # }; 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_interface_info: 4104s # * 4104s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4104s # * 4104s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4104s # */ 4104s # GDBusInterfaceInfo * 4104s # org_project_useful_interface_interface_info (void) 4104s # { 4104s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_override_properties: 4104s # * @klass: The class structure for a #GObject derived class. 4104s # * @property_id_begin: The property id to assign to the first overridden property. 4104s # * 4104s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4104s # * The properties are overridden in the order they are defined. 4104s # * 4104s # * Returns: The last property id. 4104s # */ 4104s # guint 4104s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4104s # { 4104s # return property_id_begin - 1; 4104s # } 4104s # 4104s # 4104s # inline static void 4104s # org_project_useful_interface_method_marshal_single_arg_method_y ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint, 4104s # void *marshal_data) 4104s # { 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 4104s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4104s # } 4104s # 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterface: 4104s # * 4104s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceIface: 4104s # * @parent_iface: The parent interface. 4104s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 4104s # * 4104s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4104s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4104s # 4104s # static void 4104s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4104s # { 4104s # /* GObject signals for incoming D-Bus method calls: */ 4104s # /** 4104s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: A #GDBusMethodInvocation. 4104s # * @arg_arg_y: Argument passed by remote caller. 4104s # * 4104s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 4104s # * 4104s # * 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. 4104s # * 4104s # * 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. 4104s # */ 4104s # g_signal_new ("handle-single-arg-method-y", 4104s # G_TYPE_FROM_INTERFACE (iface), 4104s # G_SIGNAL_RUN_LAST, 4104s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 4104s # g_signal_accumulator_true_handled, 4104s # NULL, 4104s # org_project_useful_interface_method_marshal_single_arg_method_y, 4104s # G_TYPE_BOOLEAN, 4104s # 2, 4104s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 4104s # 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_y: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_y: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 4104s # */ 4104s # void 4104s # org_project_useful_interface_call_single_arg_method_y ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # guchar arg_arg_y, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodY", 4104s # g_variant_new ("(y)", 4104s # arg_arg_y), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # callback, 4104s # user_data); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_y_finish: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_y_finish ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_y_sync: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_y: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_y_sync ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # guchar arg_arg_y, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodY", 4104s # g_variant_new ("(y)", 4104s # arg_arg_y), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_complete_single_arg_method_y: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4104s # * 4104s # * 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. 4104s # * 4104s # * This method will free @invocation, you cannot use it afterwards. 4104s # */ 4104s # void 4104s # org_project_useful_interface_complete_single_arg_method_y ( 4104s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4104s # GDBusMethodInvocation *invocation) 4104s # { 4104s # g_dbus_method_invocation_return_value (invocation, 4104s # g_variant_new ("()")); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxy: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxyClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceProxyPrivate 4104s # { 4104s # GData *qdata; 4104s # }; 4104s # 4104s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_proxy_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4104s # g_datalist_clear (&proxy->priv->qdata); 4104s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # const GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4104s # const gchar *sender_name G_GNUC_UNUSED, 4104s # const gchar *signal_name, 4104s # GVariant *parameters) 4104s # { 4104s # _ExtendedGDBusSignalInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # gsize n; 4104s # guint signal_id; 4104s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4104s # if (info == NULL) 4104s # return; 4104s # num_params = g_variant_n_children (parameters); 4104s # paramv = g_new0 (GValue, num_params + 1); 4104s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[0], proxy); 4104s # g_variant_iter_init (&iter, parameters); 4104s # n = 1; 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_signal_emitv (paramv, signal_id, 0, NULL); 4104s # for (n = 0; n < num_params + 1; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4104s # GVariant *changed_properties, 4104s # const gchar *const *invalidated_properties) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4104s # guint n; 4104s # const gchar *key; 4104s # GVariantIter *iter; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # g_variant_get (changed_properties, "a{sv}", &iter); 4104s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4104s # g_datalist_remove_data (&proxy->priv->qdata, key); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # g_variant_iter_free (iter); 4104s # for (n = 0; invalidated_properties[n] != NULL; n++) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4104s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4104s # #else 4104s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4104s # #endif 4104s # 4104s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusProxyClass *proxy_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4104s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4104s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4104s # 4104s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4104s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4104s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_sync: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_sync ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new_for_bus ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_sync: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_sync ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeleton: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeletonClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4104s # { 4104s # GValue *properties; 4104s # GList *changed_properties; 4104s # GSource *changed_properties_idle_source; 4104s # GMainContext *context; 4104s # GMutex lock; 4104s # }; 4104s # 4104s # static void 4104s # _org_project_useful_interface_skeleton_handle_method_call ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name, 4104s # const gchar *method_name, 4104s # GVariant *parameters, 4104s # GDBusMethodInvocation *invocation, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # _ExtendedGDBusMethodInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # guint num_extra; 4104s # gsize n; 4104s # guint signal_id; 4104s # GValue return_value = G_VALUE_INIT; 4104s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4104s # g_assert (info != NULL); 4104s # num_params = g_variant_n_children (parameters); 4104s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4104s # n = 0; 4104s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[n++], skeleton); 4104s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4104s # g_value_set_object (¶mv[n++], invocation); 4104s # if (info->pass_fdlist) 4104s # { 4104s # #ifdef G_OS_UNIX 4104s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4104s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4104s # #else 4104s # g_assert_not_reached (); 4104s # #endif 4104s # } 4104s # g_variant_iter_init (&iter, parameters); 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4104s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4104s # if (!g_value_get_boolean (&return_value)) 4104s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4104s # g_value_unset (&return_value); 4104s # for (n = 0; n < num_params + num_extra; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static GVariant * 4104s # _org_project_useful_interface_skeleton_handle_get_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # GVariant *ret; 4104s # ret = NULL; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # g_value_init (&value, pspec->value_type); 4104s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4104s # g_value_unset (&value); 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _org_project_useful_interface_skeleton_handle_set_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GVariant *variant, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # gboolean ret; 4104s # ret = FALSE; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # if (info->use_gvariant) 4104s # g_value_set_variant (&value, variant); 4104s # else 4104s # g_dbus_gvariant_to_gvalue (variant, &value); 4104s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # g_value_unset (&value); 4104s # ret = TRUE; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4104s # { 4104s # _org_project_useful_interface_skeleton_handle_method_call, 4104s # _org_project_useful_interface_skeleton_handle_get_property, 4104s # _org_project_useful_interface_skeleton_handle_set_property, 4104s # {NULL} 4104s # }; 4104s # 4104s # static GDBusInterfaceInfo * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return org_project_useful_interface_interface_info (); 4104s # } 4104s # 4104s # static GDBusInterfaceVTable * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4104s # } 4104s # 4104s # static GVariant * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4104s # 4104s # GVariantBuilder builder; 4104s # guint n; 4104s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4104s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4104s # goto out; 4104s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4104s # { 4104s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4104s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4104s # { 4104s # GVariant *value; 4104s # 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); 4104s # if (value != NULL) 4104s # { 4104s # g_variant_take_ref (value); 4104s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4104s # g_variant_unref (value); 4104s # } 4104s # } 4104s # } 4104s # out: 4104s # return g_variant_builder_end (&builder); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_skeleton_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4104s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4104s # if (skeleton->priv->changed_properties_idle_source != NULL) 4104s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4104s # g_main_context_unref (skeleton->priv->context); 4104s # g_mutex_clear (&skeleton->priv->lock); 4104s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4104s # #else 4104s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4104s # #endif 4104s # 4104s # g_mutex_init (&skeleton->priv->lock); 4104s # skeleton->priv->context = g_main_context_ref_thread_default (); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusInterfaceSkeletonClass *skeleton_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4104s # 4104s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4104s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4104s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4104s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4104s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_skeleton_new: 4104s # * 4104s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_skeleton_new (void) 4104s # { 4104s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4104s # } 4104s # /tmp/tmp5t_p_xf7/tmp6g242ndj.xml: 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmp6g242ndj.xml', '--output', '-', '--body'] 4104s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4104s # Output: /* 4104s # * This file is generated by gdbus-codegen, do not modify it. 4104s # * 4104s # * The license of this code is the same as for the D-Bus interface description 4104s # * it was derived from. Note that it links to GLib, so must comply with the 4104s # * LGPL linking clauses. 4104s # */ 4104s # 4104s # #ifdef HAVE_CONFIG_H 4104s # # include "config.h" 4104s # #endif 4104s # 4104s # #include 4104s # #ifdef G_OS_UNIX 4104s # # include 4104s # #endif 4104s # 4104s # #ifdef G_ENABLE_DEBUG 4104s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4104s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4104s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4104s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4104s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4104s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4104s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4104s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4104s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4104s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4104s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4104s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4104s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4104s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4104s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4104s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4104s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4104s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4104s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4104s # #else /* !G_ENABLE_DEBUG */ 4104s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4104s # * Do not access GValues directly in your code. Instead, use the 4104s # * g_value_get_*() functions 4104s # */ 4104s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4104s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4104s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4104s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4104s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4104s # #endif /* !G_ENABLE_DEBUG */ 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusArgInfo parent_struct; 4104s # gboolean use_gvariant; 4104s # } _ExtendedGDBusArgInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusMethodInfo parent_struct; 4104s # const gchar *signal_name; 4104s # gboolean pass_fdlist; 4104s # } _ExtendedGDBusMethodInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusSignalInfo parent_struct; 4104s # const gchar *signal_name; 4104s # } _ExtendedGDBusSignalInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusPropertyInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # guint use_gvariant : 1; 4104s # guint emits_changed_signal : 1; 4104s # } _ExtendedGDBusPropertyInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusInterfaceInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # } _ExtendedGDBusInterfaceInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # const _ExtendedGDBusPropertyInfo *info; 4104s # guint prop_id; 4104s # GValue orig_value; /* the value before the change */ 4104s # } ChangedProperty; 4104s # 4104s # static void 4104s # _changed_property_free (ChangedProperty *data) 4104s # { 4104s # g_value_unset (&data->orig_value); 4104s # g_free (data); 4104s # } 4104s # 4104s # static gboolean 4104s # _g_strv_equal0 (gchar **a, gchar **b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # guint n; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # if (g_strv_length (a) != g_strv_length (b)) 4104s # goto out; 4104s # for (n = 0; a[n] != NULL; n++) 4104s # if (g_strcmp0 (a[n], b[n]) != 0) 4104s # goto out; 4104s # ret = TRUE; 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _g_variant_equal0 (GVariant *a, GVariant *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # ret = g_variant_equal (a, b); 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # G_GNUC_UNUSED static gboolean 4104s # _g_value_equal (const GValue *a, const GValue *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4104s # switch (G_VALUE_TYPE (a)) 4104s # { 4104s # case G_TYPE_BOOLEAN: 4104s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4104s # break; 4104s # case G_TYPE_UCHAR: 4104s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4104s # break; 4104s # case G_TYPE_INT: 4104s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4104s # break; 4104s # case G_TYPE_UINT: 4104s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4104s # break; 4104s # case G_TYPE_INT64: 4104s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4104s # break; 4104s # case G_TYPE_UINT64: 4104s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4104s # break; 4104s # case G_TYPE_DOUBLE: 4104s # { 4104s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4104s # gdouble da = g_value_get_double (a); 4104s # gdouble db = g_value_get_double (b); 4104s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4104s # } 4104s # break; 4104s # case G_TYPE_STRING: 4104s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4104s # break; 4104s # case G_TYPE_VARIANT: 4104s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4104s # break; 4104s # default: 4104s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4104s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4104s # else 4104s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4104s # break; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static void 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint G_GNUC_UNUSED, 4104s # void *marshal_data) 4104s # { 4104s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 4104s # (void *data1, 4104s # GDBusMethodInvocation *arg_method_invocation, 4104s # gint16 arg_arg_n, 4104s # void *data2); 4104s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 4104s # GCClosure *cc = (GCClosure*) closure; 4104s # void *data1, *data2; 4104s # gboolean v_return; 4104s # 4104s # g_return_if_fail (return_value != NULL); 4104s # g_return_if_fail (n_param_values == 3); 4104s # 4104s # if (G_CCLOSURE_SWAP_DATA (closure)) 4104s # { 4104s # data1 = closure->data; 4104s # data2 = g_value_peek_pointer (param_values + 0); 4104s # } 4104s # else 4104s # { 4104s # data1 = g_value_peek_pointer (param_values + 0); 4104s # data2 = closure->data; 4104s # } 4104s # 4104s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 4104s # (marshal_data ? marshal_data : cc->callback); 4104s # 4104s # v_return = 4104s # callback (data1, 4104s # g_marshal_value_peek_object (param_values + 1), 4104s # g_marshal_value_peek_int (param_values + 2), 4104s # data2); 4104s # 4104s # g_value_set_boolean (return_value, v_return); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ 4104s # * Code for interface org.project.UsefulInterface 4104s # * ------------------------------------------------------------------------ 4104s # */ 4104s # 4104s # /** 4104s # * SECTION:OrgProjectUsefulInterface 4104s # * @title: OrgProjectUsefulInterface 4104s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4104s # * 4104s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4104s # */ 4104s # 4104s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4104s # 4104s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "arg_n", 4104s # (gchar *) "n", 4104s # NULL 4104s # }, 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "SingleArgMethodN", 4104s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "handle-single-arg-method-n", 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "org.project.UsefulInterface", 4104s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4104s # NULL, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "org-project-useful-interface", 4104s # }; 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_interface_info: 4104s # * 4104s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4104s # * 4104s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4104s # */ 4104s # GDBusInterfaceInfo * 4104s # org_project_useful_interface_interface_info (void) 4104s # { 4104s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_override_properties: 4104s # * @klass: The class structure for a #GObject derived class. 4104s # * @property_id_begin: The property id to assign to the first overridden property. 4104s # * 4104s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4104s # * The properties are overridden in the order they are defined. 4104s # * 4104s # * Returns: The last property id. 4104s # */ 4104s # guint 4104s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4104s # { 4104s # return property_id_begin - 1; 4104s # } 4104s # 4104s # 4104s # inline static void 4104s # org_project_useful_interface_method_marshal_single_arg_method_n ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint, 4104s # void *marshal_data) 4104s # { 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 4104s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4104s # } 4104s # 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterface: 4104s # * 4104s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceIface: 4104s # * @parent_iface: The parent interface. 4104s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 4104s # * 4104s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4104s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4104s # 4104s # static void 4104s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4104s # { 4104s # /* GObject signals for incoming D-Bus method calls: */ 4104s # /** 4104s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: A #GDBusMethodInvocation. 4104s # * @arg_arg_n: Argument passed by remote caller. 4104s # * 4104s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 4104s # * 4104s # * 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. 4104s # * 4104s # * 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. 4104s # */ 4104s # g_signal_new ("handle-single-arg-method-n", 4104s # G_TYPE_FROM_INTERFACE (iface), 4104s # G_SIGNAL_RUN_LAST, 4104s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 4104s # g_signal_accumulator_true_handled, 4104s # NULL, 4104s # org_project_useful_interface_method_marshal_single_arg_method_n, 4104s # G_TYPE_BOOLEAN, 4104s # 2, 4104s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 4104s # 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_n: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_n: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 4104s # */ 4104s # void 4104s # org_project_useful_interface_call_single_arg_method_n ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # gint16 arg_arg_n, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodN", 4104s # g_variant_new ("(n)", 4104s # arg_arg_n), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # callback, 4104s # user_data); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_n_finish: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_n_finish ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_n_sync: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_n: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_n_sync ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # gint16 arg_arg_n, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodN", 4104s # g_variant_new ("(n)", 4104s # arg_arg_n), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_complete_single_arg_method_n: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4104s # * 4104s # * 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. 4104s # * 4104s # * This method will free @invocation, you cannot use it afterwards. 4104s # */ 4104s # void 4104s # org_project_useful_interface_complete_single_arg_method_n ( 4104s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4104s # GDBusMethodInvocation *invocation) 4104s # { 4104s # g_dbus_method_invocation_return_value (invocation, 4104s # g_variant_new ("()")); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxy: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxyClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceProxyPrivate 4104s # { 4104s # GData *qdata; 4104s # }; 4104s # 4104s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_proxy_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4104s # g_datalist_clear (&proxy->priv->qdata); 4104s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # const GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4104s # const gchar *sender_name G_GNUC_UNUSED, 4104s # const gchar *signal_name, 4104s # GVariant *parameters) 4104s # { 4104s # _ExtendedGDBusSignalInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # gsize n; 4104s # guint signal_id; 4104s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4104s # if (info == NULL) 4104s # return; 4104s # num_params = g_variant_n_children (parameters); 4104s # paramv = g_new0 (GValue, num_params + 1); 4104s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[0], proxy); 4104s # g_variant_iter_init (&iter, parameters); 4104s # n = 1; 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_signal_emitv (paramv, signal_id, 0, NULL); 4104s # for (n = 0; n < num_params + 1; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4104s # GVariant *changed_properties, 4104s # const gchar *const *invalidated_properties) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4104s # guint n; 4104s # const gchar *key; 4104s # GVariantIter *iter; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # g_variant_get (changed_properties, "a{sv}", &iter); 4104s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4104s # g_datalist_remove_data (&proxy->priv->qdata, key); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # g_variant_iter_free (iter); 4104s # for (n = 0; invalidated_properties[n] != NULL; n++) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4104s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4104s # #else 4104s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4104s # #endif 4104s # 4104s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusProxyClass *proxy_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4104s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4104s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4104s # 4104s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4104s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4104s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_sync: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_sync ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new_for_bus ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_sync: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_sync ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeleton: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeletonClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4104s # { 4104s # GValue *properties; 4104s # GList *changed_properties; 4104s # GSource *changed_properties_idle_source; 4104s # GMainContext *context; 4104s # GMutex lock; 4104s # }; 4104s # 4104s # static void 4104s # _org_project_useful_interface_skeleton_handle_method_call ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name, 4104s # const gchar *method_name, 4104s # GVariant *parameters, 4104s # GDBusMethodInvocation *invocation, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # _ExtendedGDBusMethodInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # guint num_extra; 4104s # gsize n; 4104s # guint signal_id; 4104s # GValue return_value = G_VALUE_INIT; 4104s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4104s # g_assert (info != NULL); 4104s # num_params = g_variant_n_children (parameters); 4104s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4104s # n = 0; 4104s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[n++], skeleton); 4104s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4104s # g_value_set_object (¶mv[n++], invocation); 4104s # if (info->pass_fdlist) 4104s # { 4104s # #ifdef G_OS_UNIX 4104s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4104s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4104s # #else 4104s # g_assert_not_reached (); 4104s # #endif 4104s # } 4104s # g_variant_iter_init (&iter, parameters); 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4104s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4104s # if (!g_value_get_boolean (&return_value)) 4104s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4104s # g_value_unset (&return_value); 4104s # for (n = 0; n < num_params + num_extra; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static GVariant * 4104s # _org_project_useful_interface_skeleton_handle_get_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # GVariant *ret; 4104s # ret = NULL; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # g_value_init (&value, pspec->value_type); 4104s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4104s # g_value_unset (&value); 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _org_project_useful_interface_skeleton_handle_set_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GVariant *variant, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # gboolean ret; 4104s # ret = FALSE; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # if (info->use_gvariant) 4104s # g_value_set_variant (&value, variant); 4104s # else 4104s # g_dbus_gvariant_to_gvalue (variant, &value); 4104s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # g_value_unset (&value); 4104s # ret = TRUE; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4104s # { 4104s # _org_project_useful_interface_skeleton_handle_method_call, 4104s # _org_project_useful_interface_skeleton_handle_get_property, 4104s # _org_project_useful_interface_skeleton_handle_set_property, 4104s # {NULL} 4104s # }; 4104s # 4104s # static GDBusInterfaceInfo * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return org_project_useful_interface_interface_info (); 4104s # } 4104s # 4104s # static GDBusInterfaceVTable * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4104s # } 4104s # 4104s # static GVariant * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4104s # 4104s # GVariantBuilder builder; 4104s # guint n; 4104s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4104s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4104s # goto out; 4104s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4104s # { 4104s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4104s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4104s # { 4104s # GVariant *value; 4104s # 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); 4104s # if (value != NULL) 4104s # { 4104s # g_variant_take_ref (value); 4104s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4104s # g_variant_unref (value); 4104s # } 4104s # } 4104s # } 4104s # out: 4104s # return g_variant_builder_end (&builder); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_skeleton_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4104s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4104s # if (skeleton->priv->changed_properties_idle_source != NULL) 4104s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4104s # g_main_context_unref (skeleton->priv->context); 4104s # g_mutex_clear (&skeleton->priv->lock); 4104s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4104s # #else 4104s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4104s # #endif 4104s # 4104s # g_mutex_init (&skeleton->priv->lock); 4104s # skeleton->priv->context = g_main_context_ref_thread_default (); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusInterfaceSkeletonClass *skeleton_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4104s # 4104s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4104s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4104s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4104s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4104s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_skeleton_new: 4104s # * 4104s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_skeleton_new (void) 4104s # { 4104s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4104s # } 4104s # /tmp/tmp5t_p_xf7/tmpany33av9.xml: 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmpany33av9.xml', '--output', '-', '--body'] 4104s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4104s # Output: /* 4104s # * This file is generated by gdbus-codegen, do not modify it. 4104s # * 4104s # * The license of this code is the same as for the D-Bus interface description 4104s # * it was derived from. Note that it links to GLib, so must comply with the 4104s # * LGPL linking clauses. 4104s # */ 4104s # 4104s # #ifdef HAVE_CONFIG_H 4104s # # include "config.h" 4104s # #endif 4104s # 4104s # #include 4104s # #ifdef G_OS_UNIX 4104s # # include 4104s # #endif 4104s # 4104s # #ifdef G_ENABLE_DEBUG 4104s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4104s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4104s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4104s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4104s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4104s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4104s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4104s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4104s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4104s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4104s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4104s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4104s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4104s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4104s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4104s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4104s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4104s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4104s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4104s # #else /* !G_ENABLE_DEBUG */ 4104s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4104s # * Do not access GValues directly in your code. Instead, use the 4104s # * g_value_get_*() functions 4104s # */ 4104s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4104s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4104s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4104s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4104s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4104s # #endif /* !G_ENABLE_DEBUG */ 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusArgInfo parent_struct; 4104s # gboolean use_gvariant; 4104s # } _ExtendedGDBusArgInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusMethodInfo parent_struct; 4104s # const gchar *signal_name; 4104s # gboolean pass_fdlist; 4104s # } _ExtendedGDBusMethodInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusSignalInfo parent_struct; 4104s # const gchar *signal_name; 4104s # } _ExtendedGDBusSignalInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusPropertyInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # guint use_gvariant : 1; 4104s # guint emits_changed_signal : 1; 4104s # } _ExtendedGDBusPropertyInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusInterfaceInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # } _ExtendedGDBusInterfaceInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # const _ExtendedGDBusPropertyInfo *info; 4104s # guint prop_id; 4104s # GValue orig_value; /* the value before the change */ 4104s # } ChangedProperty; 4104s # 4104s # static void 4104s # _changed_property_free (ChangedProperty *data) 4104s # { 4104s # g_value_unset (&data->orig_value); 4104s # g_free (data); 4104s # } 4104s # 4104s # static gboolean 4104s # _g_strv_equal0 (gchar **a, gchar **b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # guint n; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # if (g_strv_length (a) != g_strv_length (b)) 4104s # goto out; 4104s # for (n = 0; a[n] != NULL; n++) 4104s # if (g_strcmp0 (a[n], b[n]) != 0) 4104s # goto out; 4104s # ret = TRUE; 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _g_variant_equal0 (GVariant *a, GVariant *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # ret = g_variant_equal (a, b); 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # G_GNUC_UNUSED static gboolean 4104s # _g_value_equal (const GValue *a, const GValue *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4104s # switch (G_VALUE_TYPE (a)) 4104s # { 4104s # case G_TYPE_BOOLEAN: 4104s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4104s # break; 4104s # case G_TYPE_UCHAR: 4104s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4104s # break; 4104s # case G_TYPE_INT: 4104s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4104s # break; 4104s # case G_TYPE_UINT: 4104s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4104s # break; 4104s # case G_TYPE_INT64: 4104s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4104s # break; 4104s # case G_TYPE_UINT64: 4104s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4104s # break; 4104s # case G_TYPE_DOUBLE: 4104s # { 4104s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4104s # gdouble da = g_value_get_double (a); 4104s # gdouble db = g_value_get_double (b); 4104s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4104s # } 4104s # break; 4104s # case G_TYPE_STRING: 4104s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4104s # break; 4104s # case G_TYPE_VARIANT: 4104s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4104s # break; 4104s # default: 4104s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4104s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4104s # else 4104s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4104s # break; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static void 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint G_GNUC_UNUSED, 4104s # void *marshal_data) 4104s # { 4104s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 4104s # (void *data1, 4104s # GDBusMethodInvocation *arg_method_invocation, 4104s # guint16 arg_arg_q, 4104s # void *data2); 4104s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 4104s # GCClosure *cc = (GCClosure*) closure; 4104s # void *data1, *data2; 4104s # gboolean v_return; 4104s # 4104s # g_return_if_fail (return_value != NULL); 4104s # g_return_if_fail (n_param_values == 3); 4104s # 4104s # if (G_CCLOSURE_SWAP_DATA (closure)) 4104s # { 4104s # data1 = closure->data; 4104s # data2 = g_value_peek_pointer (param_values + 0); 4104s # } 4104s # else 4104s # { 4104s # data1 = g_value_peek_pointer (param_values + 0); 4104s # data2 = closure->data; 4104s # } 4104s # 4104s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 4104s # (marshal_data ? marshal_data : cc->callback); 4104s # 4104s # v_return = 4104s # callback (data1, 4104s # g_marshal_value_peek_object (param_values + 1), 4104s # g_marshal_value_peek_uint (param_values + 2), 4104s # data2); 4104s # 4104s # g_value_set_boolean (return_value, v_return); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ 4104s # * Code for interface org.project.UsefulInterface 4104s # * ------------------------------------------------------------------------ 4104s # */ 4104s # 4104s # /** 4104s # * SECTION:OrgProjectUsefulInterface 4104s # * @title: OrgProjectUsefulInterface 4104s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4104s # * 4104s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4104s # */ 4104s # 4104s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4104s # 4104s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "arg_q", 4104s # (gchar *) "q", 4104s # NULL 4104s # }, 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "SingleArgMethodQ", 4104s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "handle-single-arg-method-q", 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "org.project.UsefulInterface", 4104s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4104s # NULL, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "org-project-useful-interface", 4104s # }; 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_interface_info: 4104s # * 4104s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4104s # * 4104s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4104s # */ 4104s # GDBusInterfaceInfo * 4104s # org_project_useful_interface_interface_info (void) 4104s # { 4104s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_override_properties: 4104s # * @klass: The class structure for a #GObject derived class. 4104s # * @property_id_begin: The property id to assign to the first overridden property. 4104s # * 4104s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4104s # * The properties are overridden in the order they are defined. 4104s # * 4104s # * Returns: The last property id. 4104s # */ 4104s # guint 4104s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4104s # { 4104s # return property_id_begin - 1; 4104s # } 4104s # 4104s # 4104s # inline static void 4104s # org_project_useful_interface_method_marshal_single_arg_method_q ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint, 4104s # void *marshal_data) 4104s # { 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 4104s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4104s # } 4104s # 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterface: 4104s # * 4104s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceIface: 4104s # * @parent_iface: The parent interface. 4104s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 4104s # * 4104s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4104s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4104s # 4104s # static void 4104s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4104s # { 4104s # /* GObject signals for incoming D-Bus method calls: */ 4104s # /** 4104s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: A #GDBusMethodInvocation. 4104s # * @arg_arg_q: Argument passed by remote caller. 4104s # * 4104s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 4104s # * 4104s # * 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. 4104s # * 4104s # * 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. 4104s # */ 4104s # g_signal_new ("handle-single-arg-method-q", 4104s # G_TYPE_FROM_INTERFACE (iface), 4104s # G_SIGNAL_RUN_LAST, 4104s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 4104s # g_signal_accumulator_true_handled, 4104s # NULL, 4104s # org_project_useful_interface_method_marshal_single_arg_method_q, 4104s # G_TYPE_BOOLEAN, 4104s # 2, 4104s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 4104s # 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_q: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_q: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 4104s # */ 4104s # void 4104s # org_project_useful_interface_call_single_arg_method_q ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # guint16 arg_arg_q, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodQ", 4104s # g_variant_new ("(q)", 4104s # arg_arg_q), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # callback, 4104s # user_data); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_q_finish: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_q_finish ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_q_sync: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_q: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_q_sync ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # guint16 arg_arg_q, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodQ", 4104s # g_variant_new ("(q)", 4104s # arg_arg_q), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_complete_single_arg_method_q: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4104s # * 4104s # * 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. 4104s # * 4104s # * This method will free @invocation, you cannot use it afterwards. 4104s # */ 4104s # void 4104s # org_project_useful_interface_complete_single_arg_method_q ( 4104s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4104s # GDBusMethodInvocation *invocation) 4104s # { 4104s # g_dbus_method_invocation_return_value (invocation, 4104s # g_variant_new ("()")); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxy: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxyClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceProxyPrivate 4104s # { 4104s # GData *qdata; 4104s # }; 4104s # 4104s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_proxy_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4104s # g_datalist_clear (&proxy->priv->qdata); 4104s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # const GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4104s # const gchar *sender_name G_GNUC_UNUSED, 4104s # const gchar *signal_name, 4104s # GVariant *parameters) 4104s # { 4104s # _ExtendedGDBusSignalInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # gsize n; 4104s # guint signal_id; 4104s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4104s # if (info == NULL) 4104s # return; 4104s # num_params = g_variant_n_children (parameters); 4104s # paramv = g_new0 (GValue, num_params + 1); 4104s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[0], proxy); 4104s # g_variant_iter_init (&iter, parameters); 4104s # n = 1; 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_signal_emitv (paramv, signal_id, 0, NULL); 4104s # for (n = 0; n < num_params + 1; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4104s # GVariant *changed_properties, 4104s # const gchar *const *invalidated_properties) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4104s # guint n; 4104s # const gchar *key; 4104s # GVariantIter *iter; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # g_variant_get (changed_properties, "a{sv}", &iter); 4104s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4104s # g_datalist_remove_data (&proxy->priv->qdata, key); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # g_variant_iter_free (iter); 4104s # for (n = 0; invalidated_properties[n] != NULL; n++) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4104s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4104s # #else 4104s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4104s # #endif 4104s # 4104s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusProxyClass *proxy_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4104s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4104s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4104s # 4104s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4104s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4104s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_sync: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_sync ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new_for_bus ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_sync: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_sync ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeleton: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeletonClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4104s # { 4104s # GValue *properties; 4104s # GList *changed_properties; 4104s # GSource *changed_properties_idle_source; 4104s # GMainContext *context; 4104s # GMutex lock; 4104s # }; 4104s # 4104s # static void 4104s # _org_project_useful_interface_skeleton_handle_method_call ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name, 4104s # const gchar *method_name, 4104s # GVariant *parameters, 4104s # GDBusMethodInvocation *invocation, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # _ExtendedGDBusMethodInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # guint num_extra; 4104s # gsize n; 4104s # guint signal_id; 4104s # GValue return_value = G_VALUE_INIT; 4104s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4104s # g_assert (info != NULL); 4104s # num_params = g_variant_n_children (parameters); 4104s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4104s # n = 0; 4104s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[n++], skeleton); 4104s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4104s # g_value_set_object (¶mv[n++], invocation); 4104s # if (info->pass_fdlist) 4104s # { 4104s # #ifdef G_OS_UNIX 4104s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4104s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4104s # #else 4104s # g_assert_not_reached (); 4104s # #endif 4104s # } 4104s # g_variant_iter_init (&iter, parameters); 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4104s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4104s # if (!g_value_get_boolean (&return_value)) 4104s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4104s # g_value_unset (&return_value); 4104s # for (n = 0; n < num_params + num_extra; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static GVariant * 4104s # _org_project_useful_interface_skeleton_handle_get_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # GVariant *ret; 4104s # ret = NULL; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # g_value_init (&value, pspec->value_type); 4104s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4104s # g_value_unset (&value); 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _org_project_useful_interface_skeleton_handle_set_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GVariant *variant, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # gboolean ret; 4104s # ret = FALSE; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # if (info->use_gvariant) 4104s # g_value_set_variant (&value, variant); 4104s # else 4104s # g_dbus_gvariant_to_gvalue (variant, &value); 4104s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # g_value_unset (&value); 4104s # ret = TRUE; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4104s # { 4104s # _org_project_useful_interface_skeleton_handle_method_call, 4104s # _org_project_useful_interface_skeleton_handle_get_property, 4104s # _org_project_useful_interface_skeleton_handle_set_property, 4104s # {NULL} 4104s # }; 4104s # 4104s # static GDBusInterfaceInfo * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return org_project_useful_interface_interface_info (); 4104s # } 4104s # 4104s # static GDBusInterfaceVTable * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4104s # } 4104s # 4104s # static GVariant * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4104s # 4104s # GVariantBuilder builder; 4104s # guint n; 4104s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4104s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4104s # goto out; 4104s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4104s # { 4104s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4104s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4104s # { 4104s # GVariant *value; 4104s # 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); 4104s # if (value != NULL) 4104s # { 4104s # g_variant_take_ref (value); 4104s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4104s # g_variant_unref (value); 4104s # } 4104s # } 4104s # } 4104s # out: 4104s # return g_variant_builder_end (&builder); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_skeleton_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4104s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4104s # if (skeleton->priv->changed_properties_idle_source != NULL) 4104s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4104s # g_main_context_unref (skeleton->priv->context); 4104s # g_mutex_clear (&skeleton->priv->lock); 4104s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4104s # #else 4104s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4104s # #endif 4104s # 4104s # g_mutex_init (&skeleton->priv->lock); 4104s # skeleton->priv->context = g_main_context_ref_thread_default (); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusInterfaceSkeletonClass *skeleton_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4104s # 4104s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4104s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4104s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4104s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4104s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_skeleton_new: 4104s # * 4104s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_skeleton_new (void) 4104s # { 4104s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4104s # } 4104s # /tmp/tmp5t_p_xf7/tmpiwsfh84g.xml: 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmpiwsfh84g.xml', '--output', '-', '--body'] 4104s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4104s # Output: /* 4104s # * This file is generated by gdbus-codegen, do not modify it. 4104s # * 4104s # * The license of this code is the same as for the D-Bus interface description 4104s # * it was derived from. Note that it links to GLib, so must comply with the 4104s # * LGPL linking clauses. 4104s # */ 4104s # 4104s # #ifdef HAVE_CONFIG_H 4104s # # include "config.h" 4104s # #endif 4104s # 4104s # #include 4104s # #ifdef G_OS_UNIX 4104s # # include 4104s # #endif 4104s # 4104s # #ifdef G_ENABLE_DEBUG 4104s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4104s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4104s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4104s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4104s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4104s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4104s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4104s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4104s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4104s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4104s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4104s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4104s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4104s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4104s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4104s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4104s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4104s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4104s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4104s # #else /* !G_ENABLE_DEBUG */ 4104s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4104s # * Do not access GValues directly in your code. Instead, use the 4104s # * g_value_get_*() functions 4104s # */ 4104s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4104s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4104s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4104s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4104s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4104s # #endif /* !G_ENABLE_DEBUG */ 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusArgInfo parent_struct; 4104s # gboolean use_gvariant; 4104s # } _ExtendedGDBusArgInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusMethodInfo parent_struct; 4104s # const gchar *signal_name; 4104s # gboolean pass_fdlist; 4104s # } _ExtendedGDBusMethodInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusSignalInfo parent_struct; 4104s # const gchar *signal_name; 4104s # } _ExtendedGDBusSignalInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusPropertyInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # guint use_gvariant : 1; 4104s # guint emits_changed_signal : 1; 4104s # } _ExtendedGDBusPropertyInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusInterfaceInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # } _ExtendedGDBusInterfaceInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # const _ExtendedGDBusPropertyInfo *info; 4104s # guint prop_id; 4104s # GValue orig_value; /* the value before the change */ 4104s # } ChangedProperty; 4104s # 4104s # static void 4104s # _changed_property_free (ChangedProperty *data) 4104s # { 4104s # g_value_unset (&data->orig_value); 4104s # g_free (data); 4104s # } 4104s # 4104s # static gboolean 4104s # _g_strv_equal0 (gchar **a, gchar **b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # guint n; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # if (g_strv_length (a) != g_strv_length (b)) 4104s # goto out; 4104s # for (n = 0; a[n] != NULL; n++) 4104s # if (g_strcmp0 (a[n], b[n]) != 0) 4104s # goto out; 4104s # ret = TRUE; 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _g_variant_equal0 (GVariant *a, GVariant *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # ret = g_variant_equal (a, b); 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # G_GNUC_UNUSED static gboolean 4104s # _g_value_equal (const GValue *a, const GValue *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4104s # switch (G_VALUE_TYPE (a)) 4104s # { 4104s # case G_TYPE_BOOLEAN: 4104s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4104s # break; 4104s # case G_TYPE_UCHAR: 4104s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4104s # break; 4104s # case G_TYPE_INT: 4104s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4104s # break; 4104s # case G_TYPE_UINT: 4104s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4104s # break; 4104s # case G_TYPE_INT64: 4104s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4104s # break; 4104s # case G_TYPE_UINT64: 4104s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4104s # break; 4104s # case G_TYPE_DOUBLE: 4104s # { 4104s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4104s # gdouble da = g_value_get_double (a); 4104s # gdouble db = g_value_get_double (b); 4104s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4104s # } 4104s # break; 4104s # case G_TYPE_STRING: 4104s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4104s # break; 4104s # case G_TYPE_VARIANT: 4104s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4104s # break; 4104s # default: 4104s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4104s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4104s # else 4104s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4104s # break; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static void 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint G_GNUC_UNUSED, 4104s # void *marshal_data) 4104s # { 4104s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 4104s # (void *data1, 4104s # GDBusMethodInvocation *arg_method_invocation, 4104s # gint arg_arg_i, 4104s # void *data2); 4104s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 4104s # GCClosure *cc = (GCClosure*) closure; 4104s # void *data1, *data2; 4104s # gboolean v_return; 4104s # 4104s # g_return_if_fail (return_value != NULL); 4104s # g_return_if_fail (n_param_values == 3); 4104s # 4104s # if (G_CCLOSURE_SWAP_DATA (closure)) 4104s # { 4104s # data1 = closure->data; 4104s # data2 = g_value_peek_pointer (param_values + 0); 4104s # } 4104s # else 4104s # { 4104s # data1 = g_value_peek_pointer (param_values + 0); 4104s # data2 = closure->data; 4104s # } 4104s # 4104s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 4104s # (marshal_data ? marshal_data : cc->callback); 4104s # 4104s # v_return = 4104s # callback (data1, 4104s # g_marshal_value_peek_object (param_values + 1), 4104s # g_marshal_value_peek_int (param_values + 2), 4104s # data2); 4104s # 4104s # g_value_set_boolean (return_value, v_return); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ 4104s # * Code for interface org.project.UsefulInterface 4104s # * ------------------------------------------------------------------------ 4104s # */ 4104s # 4104s # /** 4104s # * SECTION:OrgProjectUsefulInterface 4104s # * @title: OrgProjectUsefulInterface 4104s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4104s # * 4104s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4104s # */ 4104s # 4104s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4104s # 4104s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "arg_i", 4104s # (gchar *) "i", 4104s # NULL 4104s # }, 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "SingleArgMethodI", 4104s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "handle-single-arg-method-i", 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "org.project.UsefulInterface", 4104s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4104s # NULL, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "org-project-useful-interface", 4104s # }; 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_interface_info: 4104s # * 4104s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4104s # * 4104s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4104s # */ 4104s # GDBusInterfaceInfo * 4104s # org_project_useful_interface_interface_info (void) 4104s # { 4104s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_override_properties: 4104s # * @klass: The class structure for a #GObject derived class. 4104s # * @property_id_begin: The property id to assign to the first overridden property. 4104s # * 4104s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4104s # * The properties are overridden in the order they are defined. 4104s # * 4104s # * Returns: The last property id. 4104s # */ 4104s # guint 4104s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4104s # { 4104s # return property_id_begin - 1; 4104s # } 4104s # 4104s # 4104s # inline static void 4104s # org_project_useful_interface_method_marshal_single_arg_method_i ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint, 4104s # void *marshal_data) 4104s # { 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 4104s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4104s # } 4104s # 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterface: 4104s # * 4104s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceIface: 4104s # * @parent_iface: The parent interface. 4104s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 4104s # * 4104s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4104s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4104s # 4104s # static void 4104s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4104s # { 4104s # /* GObject signals for incoming D-Bus method calls: */ 4104s # /** 4104s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: A #GDBusMethodInvocation. 4104s # * @arg_arg_i: Argument passed by remote caller. 4104s # * 4104s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 4104s # * 4104s # * 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. 4104s # * 4104s # * 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. 4104s # */ 4104s # g_signal_new ("handle-single-arg-method-i", 4104s # G_TYPE_FROM_INTERFACE (iface), 4104s # G_SIGNAL_RUN_LAST, 4104s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 4104s # g_signal_accumulator_true_handled, 4104s # NULL, 4104s # org_project_useful_interface_method_marshal_single_arg_method_i, 4104s # G_TYPE_BOOLEAN, 4104s # 2, 4104s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 4104s # 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_i: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_i: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 4104s # */ 4104s # void 4104s # org_project_useful_interface_call_single_arg_method_i ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # gint arg_arg_i, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodI", 4104s # g_variant_new ("(i)", 4104s # arg_arg_i), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # callback, 4104s # user_data); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_i_finish: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_i_finish ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_i_sync: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_i: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_i_sync ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # gint arg_arg_i, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodI", 4104s # g_variant_new ("(i)", 4104s # arg_arg_i), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_complete_single_arg_method_i: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4104s # * 4104s # * 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. 4104s # * 4104s # * This method will free @invocation, you cannot use it afterwards. 4104s # */ 4104s # void 4104s # org_project_useful_interface_complete_single_arg_method_i ( 4104s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4104s # GDBusMethodInvocation *invocation) 4104s # { 4104s # g_dbus_method_invocation_return_value (invocation, 4104s # g_variant_new ("()")); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxy: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxyClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceProxyPrivate 4104s # { 4104s # GData *qdata; 4104s # }; 4104s # 4104s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_proxy_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4104s # g_datalist_clear (&proxy->priv->qdata); 4104s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # const GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4104s # const gchar *sender_name G_GNUC_UNUSED, 4104s # const gchar *signal_name, 4104s # GVariant *parameters) 4104s # { 4104s # _ExtendedGDBusSignalInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # gsize n; 4104s # guint signal_id; 4104s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4104s # if (info == NULL) 4104s # return; 4104s # num_params = g_variant_n_children (parameters); 4104s # paramv = g_new0 (GValue, num_params + 1); 4104s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[0], proxy); 4104s # g_variant_iter_init (&iter, parameters); 4104s # n = 1; 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_signal_emitv (paramv, signal_id, 0, NULL); 4104s # for (n = 0; n < num_params + 1; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4104s # GVariant *changed_properties, 4104s # const gchar *const *invalidated_properties) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4104s # guint n; 4104s # const gchar *key; 4104s # GVariantIter *iter; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # g_variant_get (changed_properties, "a{sv}", &iter); 4104s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4104s # g_datalist_remove_data (&proxy->priv->qdata, key); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # g_variant_iter_free (iter); 4104s # for (n = 0; invalidated_properties[n] != NULL; n++) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4104s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4104s # #else 4104s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4104s # #endif 4104s # 4104s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusProxyClass *proxy_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4104s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4104s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4104s # 4104s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4104s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4104s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_sync: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_sync ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new_for_bus ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_sync: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_sync ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeleton: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeletonClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4104s # { 4104s # GValue *properties; 4104s # GList *changed_properties; 4104s # GSource *changed_properties_idle_source; 4104s # GMainContext *context; 4104s # GMutex lock; 4104s # }; 4104s # 4104s # static void 4104s # _org_project_useful_interface_skeleton_handle_method_call ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name, 4104s # const gchar *method_name, 4104s # GVariant *parameters, 4104s # GDBusMethodInvocation *invocation, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # _ExtendedGDBusMethodInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # guint num_extra; 4104s # gsize n; 4104s # guint signal_id; 4104s # GValue return_value = G_VALUE_INIT; 4104s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4104s # g_assert (info != NULL); 4104s # num_params = g_variant_n_children (parameters); 4104s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4104s # n = 0; 4104s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[n++], skeleton); 4104s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4104s # g_value_set_object (¶mv[n++], invocation); 4104s # if (info->pass_fdlist) 4104s # { 4104s # #ifdef G_OS_UNIX 4104s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4104s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4104s # #else 4104s # g_assert_not_reached (); 4104s # #endif 4104s # } 4104s # g_variant_iter_init (&iter, parameters); 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4104s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4104s # if (!g_value_get_boolean (&return_value)) 4104s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4104s # g_value_unset (&return_value); 4104s # for (n = 0; n < num_params + num_extra; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static GVariant * 4104s # _org_project_useful_interface_skeleton_handle_get_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # GVariant *ret; 4104s # ret = NULL; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # g_value_init (&value, pspec->value_type); 4104s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4104s # g_value_unset (&value); 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _org_project_useful_interface_skeleton_handle_set_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GVariant *variant, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # gboolean ret; 4104s # ret = FALSE; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # if (info->use_gvariant) 4104s # g_value_set_variant (&value, variant); 4104s # else 4104s # g_dbus_gvariant_to_gvalue (variant, &value); 4104s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # g_value_unset (&value); 4104s # ret = TRUE; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4104s # { 4104s # _org_project_useful_interface_skeleton_handle_method_call, 4104s # _org_project_useful_interface_skeleton_handle_get_property, 4104s # _org_project_useful_interface_skeleton_handle_set_property, 4104s # {NULL} 4104s # }; 4104s # 4104s # static GDBusInterfaceInfo * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return org_project_useful_interface_interface_info (); 4104s # } 4104s # 4104s # static GDBusInterfaceVTable * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4104s # } 4104s # 4104s # static GVariant * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4104s # 4104s # GVariantBuilder builder; 4104s # guint n; 4104s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4104s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4104s # goto out; 4104s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4104s # { 4104s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4104s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4104s # { 4104s # GVariant *value; 4104s # 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); 4104s # if (value != NULL) 4104s # { 4104s # g_variant_take_ref (value); 4104s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4104s # g_variant_unref (value); 4104s # } 4104s # } 4104s # } 4104s # out: 4104s # return g_variant_builder_end (&builder); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_skeleton_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4104s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4104s # if (skeleton->priv->changed_properties_idle_source != NULL) 4104s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4104s # g_main_context_unref (skeleton->priv->context); 4104s # g_mutex_clear (&skeleton->priv->lock); 4104s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4104s # #else 4104s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4104s # #endif 4104s # 4104s # g_mutex_init (&skeleton->priv->lock); 4104s # skeleton->priv->context = g_main_context_ref_thread_default (); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusInterfaceSkeletonClass *skeleton_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4104s # 4104s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4104s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4104s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4104s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4104s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_skeleton_new: 4104s # * 4104s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_skeleton_new (void) 4104s # { 4104s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4104s # } 4104s # /tmp/tmp5t_p_xf7/tmpdhvkf_rj.xml: 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmpdhvkf_rj.xml', '--output', '-', '--body'] 4104s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4104s # Output: /* 4104s # * This file is generated by gdbus-codegen, do not modify it. 4104s # * 4104s # * The license of this code is the same as for the D-Bus interface description 4104s # * it was derived from. Note that it links to GLib, so must comply with the 4104s # * LGPL linking clauses. 4104s # */ 4104s # 4104s # #ifdef HAVE_CONFIG_H 4104s # # include "config.h" 4104s # #endif 4104s # 4104s # #include 4104s # #ifdef G_OS_UNIX 4104s # # include 4104s # #endif 4104s # 4104s # #ifdef G_ENABLE_DEBUG 4104s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4104s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4104s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4104s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4104s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4104s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4104s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4104s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4104s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4104s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4104s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4104s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4104s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4104s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4104s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4104s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4104s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4104s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4104s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4104s # #else /* !G_ENABLE_DEBUG */ 4104s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4104s # * Do not access GValues directly in your code. Instead, use the 4104s # * g_value_get_*() functions 4104s # */ 4104s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4104s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4104s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4104s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4104s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4104s # #endif /* !G_ENABLE_DEBUG */ 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusArgInfo parent_struct; 4104s # gboolean use_gvariant; 4104s # } _ExtendedGDBusArgInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusMethodInfo parent_struct; 4104s # const gchar *signal_name; 4104s # gboolean pass_fdlist; 4104s # } _ExtendedGDBusMethodInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusSignalInfo parent_struct; 4104s # const gchar *signal_name; 4104s # } _ExtendedGDBusSignalInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusPropertyInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # guint use_gvariant : 1; 4104s # guint emits_changed_signal : 1; 4104s # } _ExtendedGDBusPropertyInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusInterfaceInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # } _ExtendedGDBusInterfaceInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # const _ExtendedGDBusPropertyInfo *info; 4104s # guint prop_id; 4104s # GValue orig_value; /* the value before the change */ 4104s # } ChangedProperty; 4104s # 4104s # static void 4104s # _changed_property_free (ChangedProperty *data) 4104s # { 4104s # g_value_unset (&data->orig_value); 4104s # g_free (data); 4104s # } 4104s # 4104s # static gboolean 4104s # _g_strv_equal0 (gchar **a, gchar **b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # guint n; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # if (g_strv_length (a) != g_strv_length (b)) 4104s # goto out; 4104s # for (n = 0; a[n] != NULL; n++) 4104s # if (g_strcmp0 (a[n], b[n]) != 0) 4104s # goto out; 4104s # ret = TRUE; 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _g_variant_equal0 (GVariant *a, GVariant *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # ret = g_variant_equal (a, b); 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # G_GNUC_UNUSED static gboolean 4104s # _g_value_equal (const GValue *a, const GValue *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4104s # switch (G_VALUE_TYPE (a)) 4104s # { 4104s # case G_TYPE_BOOLEAN: 4104s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4104s # break; 4104s # case G_TYPE_UCHAR: 4104s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4104s # break; 4104s # case G_TYPE_INT: 4104s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4104s # break; 4104s # case G_TYPE_UINT: 4104s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4104s # break; 4104s # case G_TYPE_INT64: 4104s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4104s # break; 4104s # case G_TYPE_UINT64: 4104s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4104s # break; 4104s # case G_TYPE_DOUBLE: 4104s # { 4104s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4104s # gdouble da = g_value_get_double (a); 4104s # gdouble db = g_value_get_double (b); 4104s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4104s # } 4104s # break; 4104s # case G_TYPE_STRING: 4104s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4104s # break; 4104s # case G_TYPE_VARIANT: 4104s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4104s # break; 4104s # default: 4104s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4104s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4104s # else 4104s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4104s # break; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static void 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint G_GNUC_UNUSED, 4104s # void *marshal_data) 4104s # { 4104s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 4104s # (void *data1, 4104s # GDBusMethodInvocation *arg_method_invocation, 4104s # guint arg_arg_u, 4104s # void *data2); 4104s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 4104s # GCClosure *cc = (GCClosure*) closure; 4104s # void *data1, *data2; 4104s # gboolean v_return; 4104s # 4104s # g_return_if_fail (return_value != NULL); 4104s # g_return_if_fail (n_param_values == 3); 4104s # 4104s # if (G_CCLOSURE_SWAP_DATA (closure)) 4104s # { 4104s # data1 = closure->data; 4104s # data2 = g_value_peek_pointer (param_values + 0); 4104s # } 4104s # else 4104s # { 4104s # data1 = g_value_peek_pointer (param_values + 0); 4104s # data2 = closure->data; 4104s # } 4104s # 4104s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 4104s # (marshal_data ? marshal_data : cc->callback); 4104s # 4104s # v_return = 4104s # callback (data1, 4104s # g_marshal_value_peek_object (param_values + 1), 4104s # g_marshal_value_peek_uint (param_values + 2), 4104s # data2); 4104s # 4104s # g_value_set_boolean (return_value, v_return); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ 4104s # * Code for interface org.project.UsefulInterface 4104s # * ------------------------------------------------------------------------ 4104s # */ 4104s # 4104s # /** 4104s # * SECTION:OrgProjectUsefulInterface 4104s # * @title: OrgProjectUsefulInterface 4104s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4104s # * 4104s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4104s # */ 4104s # 4104s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4104s # 4104s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "arg_u", 4104s # (gchar *) "u", 4104s # NULL 4104s # }, 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "SingleArgMethodU", 4104s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "handle-single-arg-method-u", 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "org.project.UsefulInterface", 4104s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4104s # NULL, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "org-project-useful-interface", 4104s # }; 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_interface_info: 4104s # * 4104s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4104s # * 4104s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4104s # */ 4104s # GDBusInterfaceInfo * 4104s # org_project_useful_interface_interface_info (void) 4104s # { 4104s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_override_properties: 4104s # * @klass: The class structure for a #GObject derived class. 4104s # * @property_id_begin: The property id to assign to the first overridden property. 4104s # * 4104s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4104s # * The properties are overridden in the order they are defined. 4104s # * 4104s # * Returns: The last property id. 4104s # */ 4104s # guint 4104s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4104s # { 4104s # return property_id_begin - 1; 4104s # } 4104s # 4104s # 4104s # inline static void 4104s # org_project_useful_interface_method_marshal_single_arg_method_u ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint, 4104s # void *marshal_data) 4104s # { 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 4104s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4104s # } 4104s # 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterface: 4104s # * 4104s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceIface: 4104s # * @parent_iface: The parent interface. 4104s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 4104s # * 4104s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4104s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4104s # 4104s # static void 4104s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4104s # { 4104s # /* GObject signals for incoming D-Bus method calls: */ 4104s # /** 4104s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: A #GDBusMethodInvocation. 4104s # * @arg_arg_u: Argument passed by remote caller. 4104s # * 4104s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 4104s # * 4104s # * 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. 4104s # * 4104s # * 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. 4104s # */ 4104s # g_signal_new ("handle-single-arg-method-u", 4104s # G_TYPE_FROM_INTERFACE (iface), 4104s # G_SIGNAL_RUN_LAST, 4104s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 4104s # g_signal_accumulator_true_handled, 4104s # NULL, 4104s # org_project_useful_interface_method_marshal_single_arg_method_u, 4104s # G_TYPE_BOOLEAN, 4104s # 2, 4104s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 4104s # 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_u: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_u: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 4104s # */ 4104s # void 4104s # org_project_useful_interface_call_single_arg_method_u ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # guint arg_arg_u, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodU", 4104s # g_variant_new ("(u)", 4104s # arg_arg_u), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # callback, 4104s # user_data); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_u_finish: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_u_finish ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_u_sync: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_u: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_u_sync ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # guint arg_arg_u, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodU", 4104s # g_variant_new ("(u)", 4104s # arg_arg_u), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_complete_single_arg_method_u: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4104s # * 4104s # * 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. 4104s # * 4104s # * This method will free @invocation, you cannot use it afterwards. 4104s # */ 4104s # void 4104s # org_project_useful_interface_complete_single_arg_method_u ( 4104s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4104s # GDBusMethodInvocation *invocation) 4104s # { 4104s # g_dbus_method_invocation_return_value (invocation, 4104s # g_variant_new ("()")); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxy: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxyClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceProxyPrivate 4104s # { 4104s # GData *qdata; 4104s # }; 4104s # 4104s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_proxy_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4104s # g_datalist_clear (&proxy->priv->qdata); 4104s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # const GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4104s # const gchar *sender_name G_GNUC_UNUSED, 4104s # const gchar *signal_name, 4104s # GVariant *parameters) 4104s # { 4104s # _ExtendedGDBusSignalInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # gsize n; 4104s # guint signal_id; 4104s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4104s # if (info == NULL) 4104s # return; 4104s # num_params = g_variant_n_children (parameters); 4104s # paramv = g_new0 (GValue, num_params + 1); 4104s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[0], proxy); 4104s # g_variant_iter_init (&iter, parameters); 4104s # n = 1; 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_signal_emitv (paramv, signal_id, 0, NULL); 4104s # for (n = 0; n < num_params + 1; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4104s # GVariant *changed_properties, 4104s # const gchar *const *invalidated_properties) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4104s # guint n; 4104s # const gchar *key; 4104s # GVariantIter *iter; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # g_variant_get (changed_properties, "a{sv}", &iter); 4104s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4104s # g_datalist_remove_data (&proxy->priv->qdata, key); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # g_variant_iter_free (iter); 4104s # for (n = 0; invalidated_properties[n] != NULL; n++) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4104s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4104s # #else 4104s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4104s # #endif 4104s # 4104s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusProxyClass *proxy_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4104s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4104s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4104s # 4104s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4104s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4104s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_sync: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_sync ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new_for_bus ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_sync: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_sync ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeleton: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeletonClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4104s # { 4104s # GValue *properties; 4104s # GList *changed_properties; 4104s # GSource *changed_properties_idle_source; 4104s # GMainContext *context; 4104s # GMutex lock; 4104s # }; 4104s # 4104s # static void 4104s # _org_project_useful_interface_skeleton_handle_method_call ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name, 4104s # const gchar *method_name, 4104s # GVariant *parameters, 4104s # GDBusMethodInvocation *invocation, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # _ExtendedGDBusMethodInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # guint num_extra; 4104s # gsize n; 4104s # guint signal_id; 4104s # GValue return_value = G_VALUE_INIT; 4104s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4104s # g_assert (info != NULL); 4104s # num_params = g_variant_n_children (parameters); 4104s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4104s # n = 0; 4104s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[n++], skeleton); 4104s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4104s # g_value_set_object (¶mv[n++], invocation); 4104s # if (info->pass_fdlist) 4104s # { 4104s # #ifdef G_OS_UNIX 4104s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4104s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4104s # #else 4104s # g_assert_not_reached (); 4104s # #endif 4104s # } 4104s # g_variant_iter_init (&iter, parameters); 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4104s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4104s # if (!g_value_get_boolean (&return_value)) 4104s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4104s # g_value_unset (&return_value); 4104s # for (n = 0; n < num_params + num_extra; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static GVariant * 4104s # _org_project_useful_interface_skeleton_handle_get_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # GVariant *ret; 4104s # ret = NULL; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # g_value_init (&value, pspec->value_type); 4104s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4104s # g_value_unset (&value); 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _org_project_useful_interface_skeleton_handle_set_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GVariant *variant, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # gboolean ret; 4104s # ret = FALSE; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # if (info->use_gvariant) 4104s # g_value_set_variant (&value, variant); 4104s # else 4104s # g_dbus_gvariant_to_gvalue (variant, &value); 4104s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # g_value_unset (&value); 4104s # ret = TRUE; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4104s # { 4104s # _org_project_useful_interface_skeleton_handle_method_call, 4104s # _org_project_useful_interface_skeleton_handle_get_property, 4104s # _org_project_useful_interface_skeleton_handle_set_property, 4104s # {NULL} 4104s # }; 4104s # 4104s # static GDBusInterfaceInfo * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return org_project_useful_interface_interface_info (); 4104s # } 4104s # 4104s # static GDBusInterfaceVTable * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4104s # } 4104s # 4104s # static GVariant * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4104s # 4104s # GVariantBuilder builder; 4104s # guint n; 4104s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4104s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4104s # goto out; 4104s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4104s # { 4104s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4104s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4104s # { 4104s # GVariant *value; 4104s # 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); 4104s # if (value != NULL) 4104s # { 4104s # g_variant_take_ref (value); 4104s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4104s # g_variant_unref (value); 4104s # } 4104s # } 4104s # } 4104s # out: 4104s # return g_variant_builder_end (&builder); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_skeleton_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4104s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4104s # if (skeleton->priv->changed_properties_idle_source != NULL) 4104s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4104s # g_main_context_unref (skeleton->priv->context); 4104s # g_mutex_clear (&skeleton->priv->lock); 4104s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4104s # #else 4104s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4104s # #endif 4104s # 4104s # g_mutex_init (&skeleton->priv->lock); 4104s # skeleton->priv->context = g_main_context_ref_thread_default (); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusInterfaceSkeletonClass *skeleton_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4104s # 4104s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4104s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4104s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4104s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4104s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_skeleton_new: 4104s # * 4104s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_skeleton_new (void) 4104s # { 4104s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4104s # } 4104s # /tmp/tmp5t_p_xf7/tmps1oqpm1u.xml: 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmps1oqpm1u.xml', '--output', '-', '--body'] 4104s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4104s # Output: /* 4104s # * This file is generated by gdbus-codegen, do not modify it. 4104s # * 4104s # * The license of this code is the same as for the D-Bus interface description 4104s # * it was derived from. Note that it links to GLib, so must comply with the 4104s # * LGPL linking clauses. 4104s # */ 4104s # 4104s # #ifdef HAVE_CONFIG_H 4104s # # include "config.h" 4104s # #endif 4104s # 4104s # #include 4104s # #ifdef G_OS_UNIX 4104s # # include 4104s # #endif 4104s # 4104s # #ifdef G_ENABLE_DEBUG 4104s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4104s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4104s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4104s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4104s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4104s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4104s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4104s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4104s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4104s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4104s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4104s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4104s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4104s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4104s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4104s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4104s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4104s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4104s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4104s # #else /* !G_ENABLE_DEBUG */ 4104s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4104s # * Do not access GValues directly in your code. Instead, use the 4104s # * g_value_get_*() functions 4104s # */ 4104s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4104s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4104s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4104s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4104s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4104s # #endif /* !G_ENABLE_DEBUG */ 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusArgInfo parent_struct; 4104s # gboolean use_gvariant; 4104s # } _ExtendedGDBusArgInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusMethodInfo parent_struct; 4104s # const gchar *signal_name; 4104s # gboolean pass_fdlist; 4104s # } _ExtendedGDBusMethodInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusSignalInfo parent_struct; 4104s # const gchar *signal_name; 4104s # } _ExtendedGDBusSignalInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusPropertyInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # guint use_gvariant : 1; 4104s # guint emits_changed_signal : 1; 4104s # } _ExtendedGDBusPropertyInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusInterfaceInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # } _ExtendedGDBusInterfaceInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # const _ExtendedGDBusPropertyInfo *info; 4104s # guint prop_id; 4104s # GValue orig_value; /* the value before the change */ 4104s # } ChangedProperty; 4104s # 4104s # static void 4104s # _changed_property_free (ChangedProperty *data) 4104s # { 4104s # g_value_unset (&data->orig_value); 4104s # g_free (data); 4104s # } 4104s # 4104s # static gboolean 4104s # _g_strv_equal0 (gchar **a, gchar **b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # guint n; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # if (g_strv_length (a) != g_strv_length (b)) 4104s # goto out; 4104s # for (n = 0; a[n] != NULL; n++) 4104s # if (g_strcmp0 (a[n], b[n]) != 0) 4104s # goto out; 4104s # ret = TRUE; 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _g_variant_equal0 (GVariant *a, GVariant *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # ret = g_variant_equal (a, b); 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # G_GNUC_UNUSED static gboolean 4104s # _g_value_equal (const GValue *a, const GValue *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4104s # switch (G_VALUE_TYPE (a)) 4104s # { 4104s # case G_TYPE_BOOLEAN: 4104s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4104s # break; 4104s # case G_TYPE_UCHAR: 4104s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4104s # break; 4104s # case G_TYPE_INT: 4104s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4104s # break; 4104s # case G_TYPE_UINT: 4104s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4104s # break; 4104s # case G_TYPE_INT64: 4104s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4104s # break; 4104s # case G_TYPE_UINT64: 4104s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4104s # break; 4104s # case G_TYPE_DOUBLE: 4104s # { 4104s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4104s # gdouble da = g_value_get_double (a); 4104s # gdouble db = g_value_get_double (b); 4104s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4104s # } 4104s # break; 4104s # case G_TYPE_STRING: 4104s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4104s # break; 4104s # case G_TYPE_VARIANT: 4104s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4104s # break; 4104s # default: 4104s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4104s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4104s # else 4104s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4104s # break; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static void 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint G_GNUC_UNUSED, 4104s # void *marshal_data) 4104s # { 4104s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 4104s # (void *data1, 4104s # GDBusMethodInvocation *arg_method_invocation, 4104s # gint64 arg_arg_x, 4104s # void *data2); 4104s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 4104s # GCClosure *cc = (GCClosure*) closure; 4104s # void *data1, *data2; 4104s # gboolean v_return; 4104s # 4104s # g_return_if_fail (return_value != NULL); 4104s # g_return_if_fail (n_param_values == 3); 4104s # 4104s # if (G_CCLOSURE_SWAP_DATA (closure)) 4104s # { 4104s # data1 = closure->data; 4104s # data2 = g_value_peek_pointer (param_values + 0); 4104s # } 4104s # else 4104s # { 4104s # data1 = g_value_peek_pointer (param_values + 0); 4104s # data2 = closure->data; 4104s # } 4104s # 4104s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 4104s # (marshal_data ? marshal_data : cc->callback); 4104s # 4104s # v_return = 4104s # callback (data1, 4104s # g_marshal_value_peek_object (param_values + 1), 4104s # g_marshal_value_peek_int64 (param_values + 2), 4104s # data2); 4104s # 4104s # g_value_set_boolean (return_value, v_return); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ 4104s # * Code for interface org.project.UsefulInterface 4104s # * ------------------------------------------------------------------------ 4104s # */ 4104s # 4104s # /** 4104s # * SECTION:OrgProjectUsefulInterface 4104s # * @title: OrgProjectUsefulInterface 4104s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4104s # * 4104s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4104s # */ 4104s # 4104s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4104s # 4104s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "arg_x", 4104s # (gchar *) "x", 4104s # NULL 4104s # }, 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "SingleArgMethodX", 4104s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "handle-single-arg-method-x", 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "org.project.UsefulInterface", 4104s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4104s # NULL, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "org-project-useful-interface", 4104s # }; 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_interface_info: 4104s # * 4104s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4104s # * 4104s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4104s # */ 4104s # GDBusInterfaceInfo * 4104s # org_project_useful_interface_interface_info (void) 4104s # { 4104s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_override_properties: 4104s # * @klass: The class structure for a #GObject derived class. 4104s # * @property_id_begin: The property id to assign to the first overridden property. 4104s # * 4104s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4104s # * The properties are overridden in the order they are defined. 4104s # * 4104s # * Returns: The last property id. 4104s # */ 4104s # guint 4104s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4104s # { 4104s # return property_id_begin - 1; 4104s # } 4104s # 4104s # 4104s # inline static void 4104s # org_project_useful_interface_method_marshal_single_arg_method_x ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint, 4104s # void *marshal_data) 4104s # { 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 4104s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4104s # } 4104s # 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterface: 4104s # * 4104s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceIface: 4104s # * @parent_iface: The parent interface. 4104s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 4104s # * 4104s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4104s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4104s # 4104s # static void 4104s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4104s # { 4104s # /* GObject signals for incoming D-Bus method calls: */ 4104s # /** 4104s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: A #GDBusMethodInvocation. 4104s # * @arg_arg_x: Argument passed by remote caller. 4104s # * 4104s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 4104s # * 4104s # * 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. 4104s # * 4104s # * 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. 4104s # */ 4104s # g_signal_new ("handle-single-arg-method-x", 4104s # G_TYPE_FROM_INTERFACE (iface), 4104s # G_SIGNAL_RUN_LAST, 4104s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 4104s # g_signal_accumulator_true_handled, 4104s # NULL, 4104s # org_project_useful_interface_method_marshal_single_arg_method_x, 4104s # G_TYPE_BOOLEAN, 4104s # 2, 4104s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 4104s # 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_x: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_x: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 4104s # */ 4104s # void 4104s # org_project_useful_interface_call_single_arg_method_x ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # gint64 arg_arg_x, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodX", 4104s # g_variant_new ("(x)", 4104s # arg_arg_x), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # callback, 4104s # user_data); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_x_finish: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_x_finish ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_x_sync: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_x: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_x_sync ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # gint64 arg_arg_x, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodX", 4104s # g_variant_new ("(x)", 4104s # arg_arg_x), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_complete_single_arg_method_x: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4104s # * 4104s # * 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. 4104s # * 4104s # * This method will free @invocation, you cannot use it afterwards. 4104s # */ 4104s # void 4104s # org_project_useful_interface_complete_single_arg_method_x ( 4104s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4104s # GDBusMethodInvocation *invocation) 4104s # { 4104s # g_dbus_method_invocation_return_value (invocation, 4104s # g_variant_new ("()")); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxy: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxyClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceProxyPrivate 4104s # { 4104s # GData *qdata; 4104s # }; 4104s # 4104s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_proxy_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4104s # g_datalist_clear (&proxy->priv->qdata); 4104s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # const GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4104s # const gchar *sender_name G_GNUC_UNUSED, 4104s # const gchar *signal_name, 4104s # GVariant *parameters) 4104s # { 4104s # _ExtendedGDBusSignalInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # gsize n; 4104s # guint signal_id; 4104s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4104s # if (info == NULL) 4104s # return; 4104s # num_params = g_variant_n_children (parameters); 4104s # paramv = g_new0 (GValue, num_params + 1); 4104s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[0], proxy); 4104s # g_variant_iter_init (&iter, parameters); 4104s # n = 1; 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_signal_emitv (paramv, signal_id, 0, NULL); 4104s # for (n = 0; n < num_params + 1; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4104s # GVariant *changed_properties, 4104s # const gchar *const *invalidated_properties) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4104s # guint n; 4104s # const gchar *key; 4104s # GVariantIter *iter; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # g_variant_get (changed_properties, "a{sv}", &iter); 4104s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4104s # g_datalist_remove_data (&proxy->priv->qdata, key); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # g_variant_iter_free (iter); 4104s # for (n = 0; invalidated_properties[n] != NULL; n++) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4104s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4104s # #else 4104s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4104s # #endif 4104s # 4104s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusProxyClass *proxy_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4104s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4104s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4104s # 4104s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4104s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4104s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_sync: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_sync ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new_for_bus ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_sync: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_sync ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeleton: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeletonClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4104s # { 4104s # GValue *properties; 4104s # GList *changed_properties; 4104s # GSource *changed_properties_idle_source; 4104s # GMainContext *context; 4104s # GMutex lock; 4104s # }; 4104s # 4104s # static void 4104s # _org_project_useful_interface_skeleton_handle_method_call ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name, 4104s # const gchar *method_name, 4104s # GVariant *parameters, 4104s # GDBusMethodInvocation *invocation, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # _ExtendedGDBusMethodInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # guint num_extra; 4104s # gsize n; 4104s # guint signal_id; 4104s # GValue return_value = G_VALUE_INIT; 4104s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4104s # g_assert (info != NULL); 4104s # num_params = g_variant_n_children (parameters); 4104s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4104s # n = 0; 4104s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[n++], skeleton); 4104s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4104s # g_value_set_object (¶mv[n++], invocation); 4104s # if (info->pass_fdlist) 4104s # { 4104s # #ifdef G_OS_UNIX 4104s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4104s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4104s # #else 4104s # g_assert_not_reached (); 4104s # #endif 4104s # } 4104s # g_variant_iter_init (&iter, parameters); 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4104s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4104s # if (!g_value_get_boolean (&return_value)) 4104s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4104s # g_value_unset (&return_value); 4104s # for (n = 0; n < num_params + num_extra; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static GVariant * 4104s # _org_project_useful_interface_skeleton_handle_get_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # GVariant *ret; 4104s # ret = NULL; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # g_value_init (&value, pspec->value_type); 4104s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4104s # g_value_unset (&value); 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _org_project_useful_interface_skeleton_handle_set_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GVariant *variant, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # gboolean ret; 4104s # ret = FALSE; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # if (info->use_gvariant) 4104s # g_value_set_variant (&value, variant); 4104s # else 4104s # g_dbus_gvariant_to_gvalue (variant, &value); 4104s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # g_value_unset (&value); 4104s # ret = TRUE; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4104s # { 4104s # _org_project_useful_interface_skeleton_handle_method_call, 4104s # _org_project_useful_interface_skeleton_handle_get_property, 4104s # _org_project_useful_interface_skeleton_handle_set_property, 4104s # {NULL} 4104s # }; 4104s # 4104s # static GDBusInterfaceInfo * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return org_project_useful_interface_interface_info (); 4104s # } 4104s # 4104s # static GDBusInterfaceVTable * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4104s # } 4104s # 4104s # static GVariant * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4104s # 4104s # GVariantBuilder builder; 4104s # guint n; 4104s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4104s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4104s # goto out; 4104s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4104s # { 4104s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4104s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4104s # { 4104s # GVariant *value; 4104s # 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); 4104s # if (value != NULL) 4104s # { 4104s # g_variant_take_ref (value); 4104s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4104s # g_variant_unref (value); 4104s # } 4104s # } 4104s # } 4104s # out: 4104s # return g_variant_builder_end (&builder); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_skeleton_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4104s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4104s # if (skeleton->priv->changed_properties_idle_source != NULL) 4104s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4104s # g_main_context_unref (skeleton->priv->context); 4104s # g_mutex_clear (&skeleton->priv->lock); 4104s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4104s # #else 4104s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4104s # #endif 4104s # 4104s # g_mutex_init (&skeleton->priv->lock); 4104s # skeleton->priv->context = g_main_context_ref_thread_default (); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusInterfaceSkeletonClass *skeleton_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4104s # 4104s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4104s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4104s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4104s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4104s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_skeleton_new: 4104s # * 4104s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_skeleton_new (void) 4104s # { 4104s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4104s # } 4104s # /tmp/tmp5t_p_xf7/tmps_7ileys.xml: 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmps_7ileys.xml', '--output', '-', '--body'] 4104s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4104s # Output: /* 4104s # * This file is generated by gdbus-codegen, do not modify it. 4104s # * 4104s # * The license of this code is the same as for the D-Bus interface description 4104s # * it was derived from. Note that it links to GLib, so must comply with the 4104s # * LGPL linking clauses. 4104s # */ 4104s # 4104s # #ifdef HAVE_CONFIG_H 4104s # # include "config.h" 4104s # #endif 4104s # 4104s # #include 4104s # #ifdef G_OS_UNIX 4104s # # include 4104s # #endif 4104s # 4104s # #ifdef G_ENABLE_DEBUG 4104s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4104s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4104s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4104s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4104s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4104s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4104s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4104s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4104s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4104s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4104s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4104s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4104s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4104s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4104s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4104s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4104s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4104s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4104s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4104s # #else /* !G_ENABLE_DEBUG */ 4104s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4104s # * Do not access GValues directly in your code. Instead, use the 4104s # * g_value_get_*() functions 4104s # */ 4104s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4104s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4104s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4104s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4104s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4104s # #endif /* !G_ENABLE_DEBUG */ 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusArgInfo parent_struct; 4104s # gboolean use_gvariant; 4104s # } _ExtendedGDBusArgInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusMethodInfo parent_struct; 4104s # const gchar *signal_name; 4104s # gboolean pass_fdlist; 4104s # } _ExtendedGDBusMethodInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusSignalInfo parent_struct; 4104s # const gchar *signal_name; 4104s # } _ExtendedGDBusSignalInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusPropertyInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # guint use_gvariant : 1; 4104s # guint emits_changed_signal : 1; 4104s # } _ExtendedGDBusPropertyInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusInterfaceInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # } _ExtendedGDBusInterfaceInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # const _ExtendedGDBusPropertyInfo *info; 4104s # guint prop_id; 4104s # GValue orig_value; /* the value before the change */ 4104s # } ChangedProperty; 4104s # 4104s # static void 4104s # _changed_property_free (ChangedProperty *data) 4104s # { 4104s # g_value_unset (&data->orig_value); 4104s # g_free (data); 4104s # } 4104s # 4104s # static gboolean 4104s # _g_strv_equal0 (gchar **a, gchar **b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # guint n; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # if (g_strv_length (a) != g_strv_length (b)) 4104s # goto out; 4104s # for (n = 0; a[n] != NULL; n++) 4104s # if (g_strcmp0 (a[n], b[n]) != 0) 4104s # goto out; 4104s # ret = TRUE; 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _g_variant_equal0 (GVariant *a, GVariant *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # ret = g_variant_equal (a, b); 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # G_GNUC_UNUSED static gboolean 4104s # _g_value_equal (const GValue *a, const GValue *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4104s # switch (G_VALUE_TYPE (a)) 4104s # { 4104s # case G_TYPE_BOOLEAN: 4104s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4104s # break; 4104s # case G_TYPE_UCHAR: 4104s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4104s # break; 4104s # case G_TYPE_INT: 4104s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4104s # break; 4104s # case G_TYPE_UINT: 4104s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4104s # break; 4104s # case G_TYPE_INT64: 4104s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4104s # break; 4104s # case G_TYPE_UINT64: 4104s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4104s # break; 4104s # case G_TYPE_DOUBLE: 4104s # { 4104s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4104s # gdouble da = g_value_get_double (a); 4104s # gdouble db = g_value_get_double (b); 4104s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4104s # } 4104s # break; 4104s # case G_TYPE_STRING: 4104s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4104s # break; 4104s # case G_TYPE_VARIANT: 4104s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4104s # break; 4104s # default: 4104s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4104s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4104s # else 4104s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4104s # break; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static void 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint G_GNUC_UNUSED, 4104s # void *marshal_data) 4104s # { 4104s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 4104s # (void *data1, 4104s # GDBusMethodInvocation *arg_method_invocation, 4104s # guint64 arg_arg_t, 4104s # void *data2); 4104s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 4104s # GCClosure *cc = (GCClosure*) closure; 4104s # void *data1, *data2; 4104s # gboolean v_return; 4104s # 4104s # g_return_if_fail (return_value != NULL); 4104s # g_return_if_fail (n_param_values == 3); 4104s # 4104s # if (G_CCLOSURE_SWAP_DATA (closure)) 4104s # { 4104s # data1 = closure->data; 4104s # data2 = g_value_peek_pointer (param_values + 0); 4104s # } 4104s # else 4104s # { 4104s # data1 = g_value_peek_pointer (param_values + 0); 4104s # data2 = closure->data; 4104s # } 4104s # 4104s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 4104s # (marshal_data ? marshal_data : cc->callback); 4104s # 4104s # v_return = 4104s # callback (data1, 4104s # g_marshal_value_peek_object (param_values + 1), 4104s # g_marshal_value_peek_uint64 (param_values + 2), 4104s # data2); 4104s # 4104s # g_value_set_boolean (return_value, v_return); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ 4104s # * Code for interface org.project.UsefulInterface 4104s # * ------------------------------------------------------------------------ 4104s # */ 4104s # 4104s # /** 4104s # * SECTION:OrgProjectUsefulInterface 4104s # * @title: OrgProjectUsefulInterface 4104s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4104s # * 4104s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4104s # */ 4104s # 4104s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4104s # 4104s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "arg_t", 4104s # (gchar *) "t", 4104s # NULL 4104s # }, 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "SingleArgMethodT", 4104s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "handle-single-arg-method-t", 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "org.project.UsefulInterface", 4104s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4104s # NULL, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "org-project-useful-interface", 4104s # }; 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_interface_info: 4104s # * 4104s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4104s # * 4104s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4104s # */ 4104s # GDBusInterfaceInfo * 4104s # org_project_useful_interface_interface_info (void) 4104s # { 4104s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_override_properties: 4104s # * @klass: The class structure for a #GObject derived class. 4104s # * @property_id_begin: The property id to assign to the first overridden property. 4104s # * 4104s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4104s # * The properties are overridden in the order they are defined. 4104s # * 4104s # * Returns: The last property id. 4104s # */ 4104s # guint 4104s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4104s # { 4104s # return property_id_begin - 1; 4104s # } 4104s # 4104s # 4104s # inline static void 4104s # org_project_useful_interface_method_marshal_single_arg_method_t ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint, 4104s # void *marshal_data) 4104s # { 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 4104s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4104s # } 4104s # 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterface: 4104s # * 4104s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceIface: 4104s # * @parent_iface: The parent interface. 4104s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 4104s # * 4104s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4104s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4104s # 4104s # static void 4104s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4104s # { 4104s # /* GObject signals for incoming D-Bus method calls: */ 4104s # /** 4104s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: A #GDBusMethodInvocation. 4104s # * @arg_arg_t: Argument passed by remote caller. 4104s # * 4104s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 4104s # * 4104s # * 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. 4104s # * 4104s # * 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. 4104s # */ 4104s # g_signal_new ("handle-single-arg-method-t", 4104s # G_TYPE_FROM_INTERFACE (iface), 4104s # G_SIGNAL_RUN_LAST, 4104s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 4104s # g_signal_accumulator_true_handled, 4104s # NULL, 4104s # org_project_useful_interface_method_marshal_single_arg_method_t, 4104s # G_TYPE_BOOLEAN, 4104s # 2, 4104s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 4104s # 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_t: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_t: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 4104s # */ 4104s # void 4104s # org_project_useful_interface_call_single_arg_method_t ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # guint64 arg_arg_t, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodT", 4104s # g_variant_new ("(t)", 4104s # arg_arg_t), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # callback, 4104s # user_data); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_t_finish: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_t_finish ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_t_sync: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_t: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_t_sync ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # guint64 arg_arg_t, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodT", 4104s # g_variant_new ("(t)", 4104s # arg_arg_t), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_complete_single_arg_method_t: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4104s # * 4104s # * 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. 4104s # * 4104s # * This method will free @invocation, you cannot use it afterwards. 4104s # */ 4104s # void 4104s # org_project_useful_interface_complete_single_arg_method_t ( 4104s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4104s # GDBusMethodInvocation *invocation) 4104s # { 4104s # g_dbus_method_invocation_return_value (invocation, 4104s # g_variant_new ("()")); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxy: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxyClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceProxyPrivate 4104s # { 4104s # GData *qdata; 4104s # }; 4104s # 4104s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_proxy_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4104s # g_datalist_clear (&proxy->priv->qdata); 4104s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # const GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4104s # const gchar *sender_name G_GNUC_UNUSED, 4104s # const gchar *signal_name, 4104s # GVariant *parameters) 4104s # { 4104s # _ExtendedGDBusSignalInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # gsize n; 4104s # guint signal_id; 4104s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4104s # if (info == NULL) 4104s # return; 4104s # num_params = g_variant_n_children (parameters); 4104s # paramv = g_new0 (GValue, num_params + 1); 4104s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[0], proxy); 4104s # g_variant_iter_init (&iter, parameters); 4104s # n = 1; 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_signal_emitv (paramv, signal_id, 0, NULL); 4104s # for (n = 0; n < num_params + 1; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4104s # GVariant *changed_properties, 4104s # const gchar *const *invalidated_properties) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4104s # guint n; 4104s # const gchar *key; 4104s # GVariantIter *iter; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # g_variant_get (changed_properties, "a{sv}", &iter); 4104s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4104s # g_datalist_remove_data (&proxy->priv->qdata, key); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # g_variant_iter_free (iter); 4104s # for (n = 0; invalidated_properties[n] != NULL; n++) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4104s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4104s # #else 4104s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4104s # #endif 4104s # 4104s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusProxyClass *proxy_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4104s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4104s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4104s # 4104s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4104s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4104s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_sync: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_sync ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new_for_bus ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_sync: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_sync ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeleton: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeletonClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4104s # { 4104s # GValue *properties; 4104s # GList *changed_properties; 4104s # GSource *changed_properties_idle_source; 4104s # GMainContext *context; 4104s # GMutex lock; 4104s # }; 4104s # 4104s # static void 4104s # _org_project_useful_interface_skeleton_handle_method_call ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name, 4104s # const gchar *method_name, 4104s # GVariant *parameters, 4104s # GDBusMethodInvocation *invocation, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # _ExtendedGDBusMethodInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # guint num_extra; 4104s # gsize n; 4104s # guint signal_id; 4104s # GValue return_value = G_VALUE_INIT; 4104s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4104s # g_assert (info != NULL); 4104s # num_params = g_variant_n_children (parameters); 4104s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4104s # n = 0; 4104s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[n++], skeleton); 4104s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4104s # g_value_set_object (¶mv[n++], invocation); 4104s # if (info->pass_fdlist) 4104s # { 4104s # #ifdef G_OS_UNIX 4104s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4104s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4104s # #else 4104s # g_assert_not_reached (); 4104s # #endif 4104s # } 4104s # g_variant_iter_init (&iter, parameters); 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4104s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4104s # if (!g_value_get_boolean (&return_value)) 4104s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4104s # g_value_unset (&return_value); 4104s # for (n = 0; n < num_params + num_extra; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static GVariant * 4104s # _org_project_useful_interface_skeleton_handle_get_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # GVariant *ret; 4104s # ret = NULL; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # g_value_init (&value, pspec->value_type); 4104s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4104s # g_value_unset (&value); 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _org_project_useful_interface_skeleton_handle_set_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GVariant *variant, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # gboolean ret; 4104s # ret = FALSE; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # if (info->use_gvariant) 4104s # g_value_set_variant (&value, variant); 4104s # else 4104s # g_dbus_gvariant_to_gvalue (variant, &value); 4104s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # g_value_unset (&value); 4104s # ret = TRUE; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4104s # { 4104s # _org_project_useful_interface_skeleton_handle_method_call, 4104s # _org_project_useful_interface_skeleton_handle_get_property, 4104s # _org_project_useful_interface_skeleton_handle_set_property, 4104s # {NULL} 4104s # }; 4104s # 4104s # static GDBusInterfaceInfo * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return org_project_useful_interface_interface_info (); 4104s # } 4104s # 4104s # static GDBusInterfaceVTable * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4104s # } 4104s # 4104s # static GVariant * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4104s # 4104s # GVariantBuilder builder; 4104s # guint n; 4104s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4104s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4104s # goto out; 4104s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4104s # { 4104s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4104s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4104s # { 4104s # GVariant *value; 4104s # 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); 4104s # if (value != NULL) 4104s # { 4104s # g_variant_take_ref (value); 4104s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4104s # g_variant_unref (value); 4104s # } 4104s # } 4104s # } 4104s # out: 4104s # return g_variant_builder_end (&builder); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_skeleton_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4104s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4104s # if (skeleton->priv->changed_properties_idle_source != NULL) 4104s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4104s # g_main_context_unref (skeleton->priv->context); 4104s # g_mutex_clear (&skeleton->priv->lock); 4104s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4104s # #else 4104s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4104s # #endif 4104s # 4104s # g_mutex_init (&skeleton->priv->lock); 4104s # skeleton->priv->context = g_main_context_ref_thread_default (); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusInterfaceSkeletonClass *skeleton_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4104s # 4104s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4104s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4104s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4104s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4104s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_skeleton_new: 4104s # * 4104s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_skeleton_new (void) 4104s # { 4104s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4104s # } 4104s # /tmp/tmp5t_p_xf7/tmp7dkr783f.xml: 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmp7dkr783f.xml', '--output', '-', '--body'] 4104s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4104s # Output: /* 4104s # * This file is generated by gdbus-codegen, do not modify it. 4104s # * 4104s # * The license of this code is the same as for the D-Bus interface description 4104s # * it was derived from. Note that it links to GLib, so must comply with the 4104s # * LGPL linking clauses. 4104s # */ 4104s # 4104s # #ifdef HAVE_CONFIG_H 4104s # # include "config.h" 4104s # #endif 4104s # 4104s # #include 4104s # #ifdef G_OS_UNIX 4104s # # include 4104s # #endif 4104s # 4104s # #ifdef G_ENABLE_DEBUG 4104s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4104s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4104s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4104s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4104s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4104s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4104s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4104s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4104s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4104s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4104s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4104s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4104s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4104s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4104s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4104s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4104s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4104s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4104s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4104s # #else /* !G_ENABLE_DEBUG */ 4104s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4104s # * Do not access GValues directly in your code. Instead, use the 4104s # * g_value_get_*() functions 4104s # */ 4104s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4104s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4104s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4104s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4104s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4104s # #endif /* !G_ENABLE_DEBUG */ 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusArgInfo parent_struct; 4104s # gboolean use_gvariant; 4104s # } _ExtendedGDBusArgInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusMethodInfo parent_struct; 4104s # const gchar *signal_name; 4104s # gboolean pass_fdlist; 4104s # } _ExtendedGDBusMethodInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusSignalInfo parent_struct; 4104s # const gchar *signal_name; 4104s # } _ExtendedGDBusSignalInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusPropertyInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # guint use_gvariant : 1; 4104s # guint emits_changed_signal : 1; 4104s # } _ExtendedGDBusPropertyInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusInterfaceInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # } _ExtendedGDBusInterfaceInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # const _ExtendedGDBusPropertyInfo *info; 4104s # guint prop_id; 4104s # GValue orig_value; /* the value before the change */ 4104s # } ChangedProperty; 4104s # 4104s # static void 4104s # _changed_property_free (ChangedProperty *data) 4104s # { 4104s # g_value_unset (&data->orig_value); 4104s # g_free (data); 4104s # } 4104s # 4104s # static gboolean 4104s # _g_strv_equal0 (gchar **a, gchar **b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # guint n; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # if (g_strv_length (a) != g_strv_length (b)) 4104s # goto out; 4104s # for (n = 0; a[n] != NULL; n++) 4104s # if (g_strcmp0 (a[n], b[n]) != 0) 4104s # goto out; 4104s # ret = TRUE; 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _g_variant_equal0 (GVariant *a, GVariant *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # ret = g_variant_equal (a, b); 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # G_GNUC_UNUSED static gboolean 4104s # _g_value_equal (const GValue *a, const GValue *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4104s # switch (G_VALUE_TYPE (a)) 4104s # { 4104s # case G_TYPE_BOOLEAN: 4104s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4104s # break; 4104s # case G_TYPE_UCHAR: 4104s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4104s # break; 4104s # case G_TYPE_INT: 4104s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4104s # break; 4104s # case G_TYPE_UINT: 4104s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4104s # break; 4104s # case G_TYPE_INT64: 4104s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4104s # break; 4104s # case G_TYPE_UINT64: 4104s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4104s # break; 4104s # case G_TYPE_DOUBLE: 4104s # { 4104s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4104s # gdouble da = g_value_get_double (a); 4104s # gdouble db = g_value_get_double (b); 4104s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4104s # } 4104s # break; 4104s # case G_TYPE_STRING: 4104s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4104s # break; 4104s # case G_TYPE_VARIANT: 4104s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4104s # break; 4104s # default: 4104s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4104s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4104s # else 4104s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4104s # break; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static void 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint G_GNUC_UNUSED, 4104s # void *marshal_data) 4104s # { 4104s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 4104s # (void *data1, 4104s # GDBusMethodInvocation *arg_method_invocation, 4104s # gdouble arg_arg_d, 4104s # void *data2); 4104s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 4104s # GCClosure *cc = (GCClosure*) closure; 4104s # void *data1, *data2; 4104s # gboolean v_return; 4104s # 4104s # g_return_if_fail (return_value != NULL); 4104s # g_return_if_fail (n_param_values == 3); 4104s # 4104s # if (G_CCLOSURE_SWAP_DATA (closure)) 4104s # { 4104s # data1 = closure->data; 4104s # data2 = g_value_peek_pointer (param_values + 0); 4104s # } 4104s # else 4104s # { 4104s # data1 = g_value_peek_pointer (param_values + 0); 4104s # data2 = closure->data; 4104s # } 4104s # 4104s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 4104s # (marshal_data ? marshal_data : cc->callback); 4104s # 4104s # v_return = 4104s # callback (data1, 4104s # g_marshal_value_peek_object (param_values + 1), 4104s # g_marshal_value_peek_double (param_values + 2), 4104s # data2); 4104s # 4104s # g_value_set_boolean (return_value, v_return); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ 4104s # * Code for interface org.project.UsefulInterface 4104s # * ------------------------------------------------------------------------ 4104s # */ 4104s # 4104s # /** 4104s # * SECTION:OrgProjectUsefulInterface 4104s # * @title: OrgProjectUsefulInterface 4104s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4104s # * 4104s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4104s # */ 4104s # 4104s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4104s # 4104s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "arg_d", 4104s # (gchar *) "d", 4104s # NULL 4104s # }, 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "SingleArgMethodD", 4104s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "handle-single-arg-method-d", 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "org.project.UsefulInterface", 4104s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4104s # NULL, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "org-project-useful-interface", 4104s # }; 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_interface_info: 4104s # * 4104s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4104s # * 4104s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4104s # */ 4104s # GDBusInterfaceInfo * 4104s # org_project_useful_interface_interface_info (void) 4104s # { 4104s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_override_properties: 4104s # * @klass: The class structure for a #GObject derived class. 4104s # * @property_id_begin: The property id to assign to the first overridden property. 4104s # * 4104s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4104s # * The properties are overridden in the order they are defined. 4104s # * 4104s # * Returns: The last property id. 4104s # */ 4104s # guint 4104s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4104s # { 4104s # return property_id_begin - 1; 4104s # } 4104s # 4104s # 4104s # inline static void 4104s # org_project_useful_interface_method_marshal_single_arg_method_d ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint, 4104s # void *marshal_data) 4104s # { 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 4104s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4104s # } 4104s # 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterface: 4104s # * 4104s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceIface: 4104s # * @parent_iface: The parent interface. 4104s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 4104s # * 4104s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4104s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4104s # 4104s # static void 4104s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4104s # { 4104s # /* GObject signals for incoming D-Bus method calls: */ 4104s # /** 4104s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: A #GDBusMethodInvocation. 4104s # * @arg_arg_d: Argument passed by remote caller. 4104s # * 4104s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 4104s # * 4104s # * 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. 4104s # * 4104s # * 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. 4104s # */ 4104s # g_signal_new ("handle-single-arg-method-d", 4104s # G_TYPE_FROM_INTERFACE (iface), 4104s # G_SIGNAL_RUN_LAST, 4104s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 4104s # g_signal_accumulator_true_handled, 4104s # NULL, 4104s # org_project_useful_interface_method_marshal_single_arg_method_d, 4104s # G_TYPE_BOOLEAN, 4104s # 2, 4104s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 4104s # 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_d: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_d: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 4104s # */ 4104s # void 4104s # org_project_useful_interface_call_single_arg_method_d ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # gdouble arg_arg_d, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodD", 4104s # g_variant_new ("(d)", 4104s # arg_arg_d), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # callback, 4104s # user_data); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_d_finish: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_d_finish ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_d_sync: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_d: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_d_sync ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # gdouble arg_arg_d, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodD", 4104s # g_variant_new ("(d)", 4104s # arg_arg_d), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_complete_single_arg_method_d: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4104s # * 4104s # * 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. 4104s # * 4104s # * This method will free @invocation, you cannot use it afterwards. 4104s # */ 4104s # void 4104s # org_project_useful_interface_complete_single_arg_method_d ( 4104s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4104s # GDBusMethodInvocation *invocation) 4104s # { 4104s # g_dbus_method_invocation_return_value (invocation, 4104s # g_variant_new ("()")); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxy: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceProxyClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceProxyPrivate 4104s # { 4104s # GData *qdata; 4104s # }; 4104s # 4104s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_proxy_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4104s # g_datalist_clear (&proxy->priv->qdata); 4104s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4104s # guint prop_id G_GNUC_UNUSED, 4104s # const GValue *value G_GNUC_UNUSED, 4104s # GParamSpec *pspec G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4104s # const gchar *sender_name G_GNUC_UNUSED, 4104s # const gchar *signal_name, 4104s # GVariant *parameters) 4104s # { 4104s # _ExtendedGDBusSignalInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # gsize n; 4104s # guint signal_id; 4104s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4104s # if (info == NULL) 4104s # return; 4104s # num_params = g_variant_n_children (parameters); 4104s # paramv = g_new0 (GValue, num_params + 1); 4104s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[0], proxy); 4104s # g_variant_iter_init (&iter, parameters); 4104s # n = 1; 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_signal_emitv (paramv, signal_id, 0, NULL); 4104s # for (n = 0; n < num_params + 1; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4104s # GVariant *changed_properties, 4104s # const gchar *const *invalidated_properties) 4104s # { 4104s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4104s # guint n; 4104s # const gchar *key; 4104s # GVariantIter *iter; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # g_variant_get (changed_properties, "a{sv}", &iter); 4104s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4104s # g_datalist_remove_data (&proxy->priv->qdata, key); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # g_variant_iter_free (iter); 4104s # for (n = 0; invalidated_properties[n] != NULL; n++) 4104s # { 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4104s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4104s # if (info != NULL) 4104s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4104s # } 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4104s # #else 4104s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4104s # #endif 4104s # 4104s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusProxyClass *proxy_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4104s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4104s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4104s # 4104s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4104s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4104s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_sync: 4104s # * @connection: A #GDBusConnection. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_sync ( 4104s # GDBusConnection *connection, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4104s # */ 4104s # void 4104s # org_project_useful_interface_proxy_new_for_bus ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_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); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_finish: 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_finish ( 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GObject *ret; 4104s # GObject *source_object; 4104s # source_object = g_async_result_get_source_object (res); 4104s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4104s # g_object_unref (source_object); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_proxy_new_for_bus_sync: 4104s # * @bus_type: A #GBusType. 4104s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4104s # * @name: A bus name (well-known or unique). 4104s # * @object_path: An object path. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @error: Return location for error or %NULL 4104s # * 4104s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4104s # * 4104s # * The calling thread is blocked until a reply is received. 4104s # * 4104s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_proxy_new_for_bus_sync ( 4104s # GBusType bus_type, 4104s # GDBusProxyFlags flags, 4104s # const gchar *name, 4104s # const gchar *object_path, 4104s # GCancellable *cancellable, 4104s # GError **error) 4104s # { 4104s # GInitable *ret; 4104s # 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); 4104s # if (ret != NULL) 4104s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4104s # else 4104s # return NULL; 4104s # } 4104s # 4104s # 4104s # /* ------------------------------------------------------------------------ */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeleton: 4104s # * 4104s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceSkeletonClass: 4104s # * @parent_class: The parent class. 4104s # * 4104s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4104s # */ 4104s # 4104s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4104s # { 4104s # GValue *properties; 4104s # GList *changed_properties; 4104s # GSource *changed_properties_idle_source; 4104s # GMainContext *context; 4104s # GMutex lock; 4104s # }; 4104s # 4104s # static void 4104s # _org_project_useful_interface_skeleton_handle_method_call ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name, 4104s # const gchar *method_name, 4104s # GVariant *parameters, 4104s # GDBusMethodInvocation *invocation, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # _ExtendedGDBusMethodInfo *info; 4104s # GVariantIter iter; 4104s # GVariant *child; 4104s # GValue *paramv; 4104s # gsize num_params; 4104s # guint num_extra; 4104s # gsize n; 4104s # guint signal_id; 4104s # GValue return_value = G_VALUE_INIT; 4104s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4104s # g_assert (info != NULL); 4104s # num_params = g_variant_n_children (parameters); 4104s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4104s # n = 0; 4104s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_set_object (¶mv[n++], skeleton); 4104s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4104s # g_value_set_object (¶mv[n++], invocation); 4104s # if (info->pass_fdlist) 4104s # { 4104s # #ifdef G_OS_UNIX 4104s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4104s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4104s # #else 4104s # g_assert_not_reached (); 4104s # #endif 4104s # } 4104s # g_variant_iter_init (&iter, parameters); 4104s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4104s # { 4104s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4104s # if (arg_info->use_gvariant) 4104s # { 4104s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4104s # g_value_set_variant (¶mv[n], child); 4104s # n++; 4104s # } 4104s # else 4104s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4104s # g_variant_unref (child); 4104s # } 4104s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4104s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4104s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4104s # if (!g_value_get_boolean (&return_value)) 4104s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4104s # g_value_unset (&return_value); 4104s # for (n = 0; n < num_params + num_extra; n++) 4104s # g_value_unset (¶mv[n]); 4104s # g_free (paramv); 4104s # } 4104s # 4104s # static GVariant * 4104s # _org_project_useful_interface_skeleton_handle_get_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # GVariant *ret; 4104s # ret = NULL; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # g_value_init (&value, pspec->value_type); 4104s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4104s # g_value_unset (&value); 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _org_project_useful_interface_skeleton_handle_set_property ( 4104s # GDBusConnection *connection G_GNUC_UNUSED, 4104s # const gchar *sender G_GNUC_UNUSED, 4104s # const gchar *object_path G_GNUC_UNUSED, 4104s # const gchar *interface_name G_GNUC_UNUSED, 4104s # const gchar *property_name, 4104s # GVariant *variant, 4104s # GError **error, 4104s # gpointer user_data) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4104s # GValue value = G_VALUE_INIT; 4104s # GParamSpec *pspec; 4104s # _ExtendedGDBusPropertyInfo *info; 4104s # gboolean ret; 4104s # ret = FALSE; 4104s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4104s # g_assert (info != NULL); 4104s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4104s # if (pspec == NULL) 4104s # { 4104s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4104s # } 4104s # else 4104s # { 4104s # if (info->use_gvariant) 4104s # g_value_set_variant (&value, variant); 4104s # else 4104s # g_dbus_gvariant_to_gvalue (variant, &value); 4104s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4104s # g_value_unset (&value); 4104s # ret = TRUE; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4104s # { 4104s # _org_project_useful_interface_skeleton_handle_method_call, 4104s # _org_project_useful_interface_skeleton_handle_get_property, 4104s # _org_project_useful_interface_skeleton_handle_set_property, 4104s # {NULL} 4104s # }; 4104s # 4104s # static GDBusInterfaceInfo * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return org_project_useful_interface_interface_info (); 4104s # } 4104s # 4104s # static GDBusInterfaceVTable * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4104s # { 4104s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4104s # } 4104s # 4104s # static GVariant * 4104s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4104s # 4104s # GVariantBuilder builder; 4104s # guint n; 4104s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4104s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4104s # goto out; 4104s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4104s # { 4104s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4104s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4104s # { 4104s # GVariant *value; 4104s # 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); 4104s # if (value != NULL) 4104s # { 4104s # g_variant_take_ref (value); 4104s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4104s # g_variant_unref (value); 4104s # } 4104s # } 4104s # } 4104s # out: 4104s # return g_variant_builder_end (&builder); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #else 4104s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4104s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4104s # 4104s # #endif 4104s # static void 4104s # org_project_useful_interface_skeleton_finalize (GObject *object) 4104s # { 4104s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4104s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4104s # if (skeleton->priv->changed_properties_idle_source != NULL) 4104s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4104s # g_main_context_unref (skeleton->priv->context); 4104s # g_mutex_clear (&skeleton->priv->lock); 4104s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4104s # { 4104s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4104s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4104s # #else 4104s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4104s # #endif 4104s # 4104s # g_mutex_init (&skeleton->priv->lock); 4104s # skeleton->priv->context = g_main_context_ref_thread_default (); 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4104s # { 4104s # GObjectClass *gobject_class; 4104s # GDBusInterfaceSkeletonClass *skeleton_class; 4104s # 4104s # gobject_class = G_OBJECT_CLASS (klass); 4104s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4104s # 4104s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4104s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4104s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4104s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4104s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4104s # 4104s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4104s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4104s # #endif 4104s # } 4104s # 4104s # static void 4104s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4104s # { 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_skeleton_new: 4104s # * 4104s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4104s # * 4104s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4104s # */ 4104s # OrgProjectUsefulInterface * 4104s # org_project_useful_interface_skeleton_new (void) 4104s # { 4104s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4104s # } 4104s # /tmp/tmp5t_p_xf7/tmpr81dgfsm.xml: 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # 4104s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmpr81dgfsm.xml', '--output', '-', '--body'] 4104s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4104s # Output: /* 4104s # * This file is generated by gdbus-codegen, do not modify it. 4104s # * 4104s # * The license of this code is the same as for the D-Bus interface description 4104s # * it was derived from. Note that it links to GLib, so must comply with the 4104s # * LGPL linking clauses. 4104s # */ 4104s # 4104s # #ifdef HAVE_CONFIG_H 4104s # # include "config.h" 4104s # #endif 4104s # 4104s # #include 4104s # #ifdef G_OS_UNIX 4104s # # include 4104s # #endif 4104s # 4104s # #ifdef G_ENABLE_DEBUG 4104s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4104s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4104s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4104s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4104s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4104s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4104s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4104s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4104s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4104s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4104s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4104s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4104s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4104s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4104s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4104s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4104s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4104s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4104s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4104s # #else /* !G_ENABLE_DEBUG */ 4104s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4104s # * Do not access GValues directly in your code. Instead, use the 4104s # * g_value_get_*() functions 4104s # */ 4104s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4104s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4104s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4104s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4104s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4104s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4104s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4104s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4104s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4104s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4104s # #endif /* !G_ENABLE_DEBUG */ 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusArgInfo parent_struct; 4104s # gboolean use_gvariant; 4104s # } _ExtendedGDBusArgInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusMethodInfo parent_struct; 4104s # const gchar *signal_name; 4104s # gboolean pass_fdlist; 4104s # } _ExtendedGDBusMethodInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusSignalInfo parent_struct; 4104s # const gchar *signal_name; 4104s # } _ExtendedGDBusSignalInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusPropertyInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # guint use_gvariant : 1; 4104s # guint emits_changed_signal : 1; 4104s # } _ExtendedGDBusPropertyInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # GDBusInterfaceInfo parent_struct; 4104s # const gchar *hyphen_name; 4104s # } _ExtendedGDBusInterfaceInfo; 4104s # 4104s # typedef struct 4104s # { 4104s # const _ExtendedGDBusPropertyInfo *info; 4104s # guint prop_id; 4104s # GValue orig_value; /* the value before the change */ 4104s # } ChangedProperty; 4104s # 4104s # static void 4104s # _changed_property_free (ChangedProperty *data) 4104s # { 4104s # g_value_unset (&data->orig_value); 4104s # g_free (data); 4104s # } 4104s # 4104s # static gboolean 4104s # _g_strv_equal0 (gchar **a, gchar **b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # guint n; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # if (g_strv_length (a) != g_strv_length (b)) 4104s # goto out; 4104s # for (n = 0; a[n] != NULL; n++) 4104s # if (g_strcmp0 (a[n], b[n]) != 0) 4104s # goto out; 4104s # ret = TRUE; 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # static gboolean 4104s # _g_variant_equal0 (GVariant *a, GVariant *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # if (a == NULL && b == NULL) 4104s # { 4104s # ret = TRUE; 4104s # goto out; 4104s # } 4104s # if (a == NULL || b == NULL) 4104s # goto out; 4104s # ret = g_variant_equal (a, b); 4104s # out: 4104s # return ret; 4104s # } 4104s # 4104s # G_GNUC_UNUSED static gboolean 4104s # _g_value_equal (const GValue *a, const GValue *b) 4104s # { 4104s # gboolean ret = FALSE; 4104s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4104s # switch (G_VALUE_TYPE (a)) 4104s # { 4104s # case G_TYPE_BOOLEAN: 4104s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4104s # break; 4104s # case G_TYPE_UCHAR: 4104s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4104s # break; 4104s # case G_TYPE_INT: 4104s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4104s # break; 4104s # case G_TYPE_UINT: 4104s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4104s # break; 4104s # case G_TYPE_INT64: 4104s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4104s # break; 4104s # case G_TYPE_UINT64: 4104s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4104s # break; 4104s # case G_TYPE_DOUBLE: 4104s # { 4104s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4104s # gdouble da = g_value_get_double (a); 4104s # gdouble db = g_value_get_double (b); 4104s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4104s # } 4104s # break; 4104s # case G_TYPE_STRING: 4104s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4104s # break; 4104s # case G_TYPE_VARIANT: 4104s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4104s # break; 4104s # default: 4104s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4104s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4104s # else 4104s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4104s # break; 4104s # } 4104s # return ret; 4104s # } 4104s # 4104s # static void 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint G_GNUC_UNUSED, 4104s # void *marshal_data) 4104s # { 4104s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 4104s # (void *data1, 4104s # GDBusMethodInvocation *arg_method_invocation, 4104s # const gchar *arg_arg_s, 4104s # void *data2); 4104s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 4104s # GCClosure *cc = (GCClosure*) closure; 4104s # void *data1, *data2; 4104s # gboolean v_return; 4104s # 4104s # g_return_if_fail (return_value != NULL); 4104s # g_return_if_fail (n_param_values == 3); 4104s # 4104s # if (G_CCLOSURE_SWAP_DATA (closure)) 4104s # { 4104s # data1 = closure->data; 4104s # data2 = g_value_peek_pointer (param_values + 0); 4104s # } 4104s # else 4104s # { 4104s # data1 = g_value_peek_pointer (param_values + 0); 4104s # data2 = closure->data; 4104s # } 4104s # 4104s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 4104s # (marshal_data ? marshal_data : cc->callback); 4104s # 4104s # v_return = 4104s # callback (data1, 4104s # g_marshal_value_peek_object (param_values + 1), 4104s # g_marshal_value_peek_string (param_values + 2), 4104s # data2); 4104s # 4104s # g_value_set_boolean (return_value, v_return); 4104s # } 4104s # 4104s # /* ------------------------------------------------------------------------ 4104s # * Code for interface org.project.UsefulInterface 4104s # * ------------------------------------------------------------------------ 4104s # */ 4104s # 4104s # /** 4104s # * SECTION:OrgProjectUsefulInterface 4104s # * @title: OrgProjectUsefulInterface 4104s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4104s # * 4104s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4104s # */ 4104s # 4104s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4104s # 4104s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "arg_s", 4104s # (gchar *) "s", 4104s # NULL 4104s # }, 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "SingleArgMethodS", 4104s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "handle-single-arg-method-s", 4104s # FALSE 4104s # }; 4104s # 4104s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4104s # { 4104s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 4104s # NULL 4104s # }; 4104s # 4104s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4104s # { 4104s # { 4104s # -1, 4104s # (gchar *) "org.project.UsefulInterface", 4104s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4104s # NULL, 4104s # NULL, 4104s # NULL 4104s # }, 4104s # "org-project-useful-interface", 4104s # }; 4104s # 4104s # 4104s # /** 4104s # * org_project_useful_interface_interface_info: 4104s # * 4104s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4104s # * 4104s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4104s # */ 4104s # GDBusInterfaceInfo * 4104s # org_project_useful_interface_interface_info (void) 4104s # { 4104s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_override_properties: 4104s # * @klass: The class structure for a #GObject derived class. 4104s # * @property_id_begin: The property id to assign to the first overridden property. 4104s # * 4104s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4104s # * The properties are overridden in the order they are defined. 4104s # * 4104s # * Returns: The last property id. 4104s # */ 4104s # guint 4104s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4104s # { 4104s # return property_id_begin - 1; 4104s # } 4104s # 4104s # 4104s # inline static void 4104s # org_project_useful_interface_method_marshal_single_arg_method_s ( 4104s # GClosure *closure, 4104s # GValue *return_value, 4104s # unsigned int n_param_values, 4104s # const GValue *param_values, 4104s # void *invocation_hint, 4104s # void *marshal_data) 4104s # { 4104s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 4104s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4104s # } 4104s # 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterface: 4104s # * 4104s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # /** 4104s # * OrgProjectUsefulInterfaceIface: 4104s # * @parent_iface: The parent interface. 4104s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 4104s # * 4104s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4104s # */ 4104s # 4104s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4104s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4104s # 4104s # static void 4104s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4104s # { 4104s # /* GObject signals for incoming D-Bus method calls: */ 4104s # /** 4104s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 4104s # * @object: A #OrgProjectUsefulInterface. 4104s # * @invocation: A #GDBusMethodInvocation. 4104s # * @arg_arg_s: Argument passed by remote caller. 4104s # * 4104s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 4104s # * 4104s # * 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. 4104s # * 4104s # * 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. 4104s # */ 4104s # g_signal_new ("handle-single-arg-method-s", 4104s # G_TYPE_FROM_INTERFACE (iface), 4104s # G_SIGNAL_RUN_LAST, 4104s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 4104s # g_signal_accumulator_true_handled, 4104s # NULL, 4104s # org_project_useful_interface_method_marshal_single_arg_method_s, 4104s # G_TYPE_BOOLEAN, 4104s # 2, 4104s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 4104s # 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_s: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @arg_arg_s: Argument to pass with the method invocation. 4104s # * @cancellable: (nullable): A #GCancellable or %NULL. 4104s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4104s # * @user_data: User data to pass to @callback. 4104s # * 4104s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 4104s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4104s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 4104s # * 4104s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 4104s # */ 4104s # void 4104s # org_project_useful_interface_call_single_arg_method_s ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # const gchar *arg_arg_s, 4104s # GCancellable *cancellable, 4104s # GAsyncReadyCallback callback, 4104s # gpointer user_data) 4104s # { 4104s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4104s # "SingleArgMethodS", 4104s # g_variant_new ("(s)", 4104s # arg_arg_s), 4104s # G_DBUS_CALL_FLAGS_NONE, 4104s # -1, 4104s # cancellable, 4104s # callback, 4104s # user_data); 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_s_finish: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4104s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 4104s # * @error: Return location for error or %NULL. 4104s # * 4104s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 4104s # * 4104s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4104s # */ 4104s # gboolean 4104s # org_project_useful_interface_call_single_arg_method_s_finish ( 4104s # OrgProjectUsefulInterface *proxy, 4104s # GAsyncResult *res, 4104s # GError **error) 4104s # { 4104s # GVariant *_ret; 4104s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4104s # if (_ret == NULL) 4104s # goto _out; 4104s # g_variant_get (_ret, 4104s # "()"); 4104s # g_variant_unref (_ret); 4104s # _out: 4104s # return _ret != NULL; 4104s # } 4104s # 4104s # /** 4104s # * org_project_useful_interface_call_single_arg_method_s_sync: 4104s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_s: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_s_sync ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # const gchar *arg_arg_s, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodS", 4105s # g_variant_new ("(s)", 4105s # arg_arg_s), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_complete_single_arg_method_s: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4105s # * 4105s # * 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. 4105s # * 4105s # * This method will free @invocation, you cannot use it afterwards. 4105s # */ 4105s # void 4105s # org_project_useful_interface_complete_single_arg_method_s ( 4105s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4105s # GDBusMethodInvocation *invocation) 4105s # { 4105s # g_dbus_method_invocation_return_value (invocation, 4105s # g_variant_new ("()")); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxy: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxyClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceProxyPrivate 4105s # { 4105s # GData *qdata; 4105s # }; 4105s # 4105s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_proxy_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4105s # g_datalist_clear (&proxy->priv->qdata); 4105s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # const GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4105s # const gchar *sender_name G_GNUC_UNUSED, 4105s # const gchar *signal_name, 4105s # GVariant *parameters) 4105s # { 4105s # _ExtendedGDBusSignalInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # gsize n; 4105s # guint signal_id; 4105s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4105s # if (info == NULL) 4105s # return; 4105s # num_params = g_variant_n_children (parameters); 4105s # paramv = g_new0 (GValue, num_params + 1); 4105s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[0], proxy); 4105s # g_variant_iter_init (&iter, parameters); 4105s # n = 1; 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_signal_emitv (paramv, signal_id, 0, NULL); 4105s # for (n = 0; n < num_params + 1; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4105s # GVariant *changed_properties, 4105s # const gchar *const *invalidated_properties) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4105s # guint n; 4105s # const gchar *key; 4105s # GVariantIter *iter; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # g_variant_get (changed_properties, "a{sv}", &iter); 4105s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4105s # g_datalist_remove_data (&proxy->priv->qdata, key); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # g_variant_iter_free (iter); 4105s # for (n = 0; invalidated_properties[n] != NULL; n++) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4105s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4105s # #else 4105s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4105s # #endif 4105s # 4105s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusProxyClass *proxy_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4105s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4105s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4105s # 4105s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4105s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4105s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_sync: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_sync ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new_for_bus ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_sync: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_sync ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeleton: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeletonClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4105s # { 4105s # GValue *properties; 4105s # GList *changed_properties; 4105s # GSource *changed_properties_idle_source; 4105s # GMainContext *context; 4105s # GMutex lock; 4105s # }; 4105s # 4105s # static void 4105s # _org_project_useful_interface_skeleton_handle_method_call ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name, 4105s # const gchar *method_name, 4105s # GVariant *parameters, 4105s # GDBusMethodInvocation *invocation, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # _ExtendedGDBusMethodInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # guint num_extra; 4105s # gsize n; 4105s # guint signal_id; 4105s # GValue return_value = G_VALUE_INIT; 4105s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4105s # g_assert (info != NULL); 4105s # num_params = g_variant_n_children (parameters); 4105s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4105s # n = 0; 4105s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[n++], skeleton); 4105s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4105s # g_value_set_object (¶mv[n++], invocation); 4105s # if (info->pass_fdlist) 4105s # { 4105s # #ifdef G_OS_UNIX 4105s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4105s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4105s # #else 4105s # g_assert_not_reached (); 4105s # #endif 4105s # } 4105s # g_variant_iter_init (&iter, parameters); 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4105s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4105s # if (!g_value_get_boolean (&return_value)) 4105s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4105s # g_value_unset (&return_value); 4105s # for (n = 0; n < num_params + num_extra; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static GVariant * 4105s # _org_project_useful_interface_skeleton_handle_get_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # GVariant *ret; 4105s # ret = NULL; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # g_value_init (&value, pspec->value_type); 4105s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4105s # g_value_unset (&value); 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _org_project_useful_interface_skeleton_handle_set_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GVariant *variant, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # gboolean ret; 4105s # ret = FALSE; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # if (info->use_gvariant) 4105s # g_value_set_variant (&value, variant); 4105s # else 4105s # g_dbus_gvariant_to_gvalue (variant, &value); 4105s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # g_value_unset (&value); 4105s # ret = TRUE; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4105s # { 4105s # _org_project_useful_interface_skeleton_handle_method_call, 4105s # _org_project_useful_interface_skeleton_handle_get_property, 4105s # _org_project_useful_interface_skeleton_handle_set_property, 4105s # {NULL} 4105s # }; 4105s # 4105s # static GDBusInterfaceInfo * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return org_project_useful_interface_interface_info (); 4105s # } 4105s # 4105s # static GDBusInterfaceVTable * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4105s # } 4105s # 4105s # static GVariant * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4105s # 4105s # GVariantBuilder builder; 4105s # guint n; 4105s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4105s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4105s # goto out; 4105s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4105s # { 4105s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4105s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4105s # { 4105s # GVariant *value; 4105s # 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); 4105s # if (value != NULL) 4105s # { 4105s # g_variant_take_ref (value); 4105s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4105s # g_variant_unref (value); 4105s # } 4105s # } 4105s # } 4105s # out: 4105s # return g_variant_builder_end (&builder); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_skeleton_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4105s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4105s # if (skeleton->priv->changed_properties_idle_source != NULL) 4105s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4105s # g_main_context_unref (skeleton->priv->context); 4105s # g_mutex_clear (&skeleton->priv->lock); 4105s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4105s # #else 4105s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4105s # #endif 4105s # 4105s # g_mutex_init (&skeleton->priv->lock); 4105s # skeleton->priv->context = g_main_context_ref_thread_default (); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusInterfaceSkeletonClass *skeleton_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4105s # 4105s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4105s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4105s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4105s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4105s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_skeleton_new: 4105s # * 4105s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_skeleton_new (void) 4105s # { 4105s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4105s # } 4105s # /tmp/tmp5t_p_xf7/tmpypo0003k.xml: 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmpypo0003k.xml', '--output', '-', '--body'] 4105s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4105s # Output: /* 4105s # * This file is generated by gdbus-codegen, do not modify it. 4105s # * 4105s # * The license of this code is the same as for the D-Bus interface description 4105s # * it was derived from. Note that it links to GLib, so must comply with the 4105s # * LGPL linking clauses. 4105s # */ 4105s # 4105s # #ifdef HAVE_CONFIG_H 4105s # # include "config.h" 4105s # #endif 4105s # 4105s # #include 4105s # #ifdef G_OS_UNIX 4105s # # include 4105s # #endif 4105s # 4105s # #ifdef G_ENABLE_DEBUG 4105s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4105s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4105s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4105s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4105s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4105s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4105s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4105s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4105s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4105s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4105s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4105s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4105s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4105s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4105s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4105s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4105s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4105s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4105s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4105s # #else /* !G_ENABLE_DEBUG */ 4105s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4105s # * Do not access GValues directly in your code. Instead, use the 4105s # * g_value_get_*() functions 4105s # */ 4105s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4105s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4105s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4105s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4105s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4105s # #endif /* !G_ENABLE_DEBUG */ 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusArgInfo parent_struct; 4105s # gboolean use_gvariant; 4105s # } _ExtendedGDBusArgInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusMethodInfo parent_struct; 4105s # const gchar *signal_name; 4105s # gboolean pass_fdlist; 4105s # } _ExtendedGDBusMethodInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusSignalInfo parent_struct; 4105s # const gchar *signal_name; 4105s # } _ExtendedGDBusSignalInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusPropertyInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # guint use_gvariant : 1; 4105s # guint emits_changed_signal : 1; 4105s # } _ExtendedGDBusPropertyInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusInterfaceInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # } _ExtendedGDBusInterfaceInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # const _ExtendedGDBusPropertyInfo *info; 4105s # guint prop_id; 4105s # GValue orig_value; /* the value before the change */ 4105s # } ChangedProperty; 4105s # 4105s # static void 4105s # _changed_property_free (ChangedProperty *data) 4105s # { 4105s # g_value_unset (&data->orig_value); 4105s # g_free (data); 4105s # } 4105s # 4105s # static gboolean 4105s # _g_strv_equal0 (gchar **a, gchar **b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # guint n; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # if (g_strv_length (a) != g_strv_length (b)) 4105s # goto out; 4105s # for (n = 0; a[n] != NULL; n++) 4105s # if (g_strcmp0 (a[n], b[n]) != 0) 4105s # goto out; 4105s # ret = TRUE; 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _g_variant_equal0 (GVariant *a, GVariant *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # ret = g_variant_equal (a, b); 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # G_GNUC_UNUSED static gboolean 4105s # _g_value_equal (const GValue *a, const GValue *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4105s # switch (G_VALUE_TYPE (a)) 4105s # { 4105s # case G_TYPE_BOOLEAN: 4105s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4105s # break; 4105s # case G_TYPE_UCHAR: 4105s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4105s # break; 4105s # case G_TYPE_INT: 4105s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4105s # break; 4105s # case G_TYPE_UINT: 4105s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4105s # break; 4105s # case G_TYPE_INT64: 4105s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4105s # break; 4105s # case G_TYPE_UINT64: 4105s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4105s # break; 4105s # case G_TYPE_DOUBLE: 4105s # { 4105s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4105s # gdouble da = g_value_get_double (a); 4105s # gdouble db = g_value_get_double (b); 4105s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4105s # } 4105s # break; 4105s # case G_TYPE_STRING: 4105s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4105s # break; 4105s # case G_TYPE_VARIANT: 4105s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4105s # break; 4105s # default: 4105s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4105s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4105s # else 4105s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4105s # break; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static void 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint G_GNUC_UNUSED, 4105s # void *marshal_data) 4105s # { 4105s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 4105s # (void *data1, 4105s # GDBusMethodInvocation *arg_method_invocation, 4105s # const gchar *arg_arg_o, 4105s # void *data2); 4105s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 4105s # GCClosure *cc = (GCClosure*) closure; 4105s # void *data1, *data2; 4105s # gboolean v_return; 4105s # 4105s # g_return_if_fail (return_value != NULL); 4105s # g_return_if_fail (n_param_values == 3); 4105s # 4105s # if (G_CCLOSURE_SWAP_DATA (closure)) 4105s # { 4105s # data1 = closure->data; 4105s # data2 = g_value_peek_pointer (param_values + 0); 4105s # } 4105s # else 4105s # { 4105s # data1 = g_value_peek_pointer (param_values + 0); 4105s # data2 = closure->data; 4105s # } 4105s # 4105s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 4105s # (marshal_data ? marshal_data : cc->callback); 4105s # 4105s # v_return = 4105s # callback (data1, 4105s # g_marshal_value_peek_object (param_values + 1), 4105s # g_marshal_value_peek_string (param_values + 2), 4105s # data2); 4105s # 4105s # g_value_set_boolean (return_value, v_return); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ 4105s # * Code for interface org.project.UsefulInterface 4105s # * ------------------------------------------------------------------------ 4105s # */ 4105s # 4105s # /** 4105s # * SECTION:OrgProjectUsefulInterface 4105s # * @title: OrgProjectUsefulInterface 4105s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4105s # * 4105s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4105s # */ 4105s # 4105s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4105s # 4105s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "arg_o", 4105s # (gchar *) "o", 4105s # NULL 4105s # }, 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "SingleArgMethodO", 4105s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "handle-single-arg-method-o", 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "org.project.UsefulInterface", 4105s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4105s # NULL, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "org-project-useful-interface", 4105s # }; 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_interface_info: 4105s # * 4105s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4105s # * 4105s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4105s # */ 4105s # GDBusInterfaceInfo * 4105s # org_project_useful_interface_interface_info (void) 4105s # { 4105s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_override_properties: 4105s # * @klass: The class structure for a #GObject derived class. 4105s # * @property_id_begin: The property id to assign to the first overridden property. 4105s # * 4105s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4105s # * The properties are overridden in the order they are defined. 4105s # * 4105s # * Returns: The last property id. 4105s # */ 4105s # guint 4105s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4105s # { 4105s # return property_id_begin - 1; 4105s # } 4105s # 4105s # 4105s # inline static void 4105s # org_project_useful_interface_method_marshal_single_arg_method_o ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint, 4105s # void *marshal_data) 4105s # { 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 4105s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4105s # } 4105s # 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterface: 4105s # * 4105s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceIface: 4105s # * @parent_iface: The parent interface. 4105s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 4105s # * 4105s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4105s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4105s # 4105s # static void 4105s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4105s # { 4105s # /* GObject signals for incoming D-Bus method calls: */ 4105s # /** 4105s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: A #GDBusMethodInvocation. 4105s # * @arg_arg_o: Argument passed by remote caller. 4105s # * 4105s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 4105s # * 4105s # * 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. 4105s # * 4105s # * 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. 4105s # */ 4105s # g_signal_new ("handle-single-arg-method-o", 4105s # G_TYPE_FROM_INTERFACE (iface), 4105s # G_SIGNAL_RUN_LAST, 4105s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 4105s # g_signal_accumulator_true_handled, 4105s # NULL, 4105s # org_project_useful_interface_method_marshal_single_arg_method_o, 4105s # G_TYPE_BOOLEAN, 4105s # 2, 4105s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 4105s # 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_o: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_o: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 4105s # */ 4105s # void 4105s # org_project_useful_interface_call_single_arg_method_o ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # const gchar *arg_arg_o, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodO", 4105s # g_variant_new ("(o)", 4105s # arg_arg_o), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # callback, 4105s # user_data); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_o_finish: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_o_finish ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_o_sync: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_o: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_o_sync ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # const gchar *arg_arg_o, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodO", 4105s # g_variant_new ("(o)", 4105s # arg_arg_o), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_complete_single_arg_method_o: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4105s # * 4105s # * 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. 4105s # * 4105s # * This method will free @invocation, you cannot use it afterwards. 4105s # */ 4105s # void 4105s # org_project_useful_interface_complete_single_arg_method_o ( 4105s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4105s # GDBusMethodInvocation *invocation) 4105s # { 4105s # g_dbus_method_invocation_return_value (invocation, 4105s # g_variant_new ("()")); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxy: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxyClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceProxyPrivate 4105s # { 4105s # GData *qdata; 4105s # }; 4105s # 4105s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_proxy_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4105s # g_datalist_clear (&proxy->priv->qdata); 4105s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # const GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4105s # const gchar *sender_name G_GNUC_UNUSED, 4105s # const gchar *signal_name, 4105s # GVariant *parameters) 4105s # { 4105s # _ExtendedGDBusSignalInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # gsize n; 4105s # guint signal_id; 4105s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4105s # if (info == NULL) 4105s # return; 4105s # num_params = g_variant_n_children (parameters); 4105s # paramv = g_new0 (GValue, num_params + 1); 4105s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[0], proxy); 4105s # g_variant_iter_init (&iter, parameters); 4105s # n = 1; 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_signal_emitv (paramv, signal_id, 0, NULL); 4105s # for (n = 0; n < num_params + 1; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4105s # GVariant *changed_properties, 4105s # const gchar *const *invalidated_properties) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4105s # guint n; 4105s # const gchar *key; 4105s # GVariantIter *iter; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # g_variant_get (changed_properties, "a{sv}", &iter); 4105s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4105s # g_datalist_remove_data (&proxy->priv->qdata, key); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # g_variant_iter_free (iter); 4105s # for (n = 0; invalidated_properties[n] != NULL; n++) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4105s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4105s # #else 4105s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4105s # #endif 4105s # 4105s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusProxyClass *proxy_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4105s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4105s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4105s # 4105s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4105s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4105s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_sync: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_sync ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new_for_bus ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_sync: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_sync ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeleton: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeletonClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4105s # { 4105s # GValue *properties; 4105s # GList *changed_properties; 4105s # GSource *changed_properties_idle_source; 4105s # GMainContext *context; 4105s # GMutex lock; 4105s # }; 4105s # 4105s # static void 4105s # _org_project_useful_interface_skeleton_handle_method_call ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name, 4105s # const gchar *method_name, 4105s # GVariant *parameters, 4105s # GDBusMethodInvocation *invocation, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # _ExtendedGDBusMethodInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # guint num_extra; 4105s # gsize n; 4105s # guint signal_id; 4105s # GValue return_value = G_VALUE_INIT; 4105s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4105s # g_assert (info != NULL); 4105s # num_params = g_variant_n_children (parameters); 4105s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4105s # n = 0; 4105s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[n++], skeleton); 4105s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4105s # g_value_set_object (¶mv[n++], invocation); 4105s # if (info->pass_fdlist) 4105s # { 4105s # #ifdef G_OS_UNIX 4105s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4105s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4105s # #else 4105s # g_assert_not_reached (); 4105s # #endif 4105s # } 4105s # g_variant_iter_init (&iter, parameters); 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4105s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4105s # if (!g_value_get_boolean (&return_value)) 4105s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4105s # g_value_unset (&return_value); 4105s # for (n = 0; n < num_params + num_extra; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static GVariant * 4105s # _org_project_useful_interface_skeleton_handle_get_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # GVariant *ret; 4105s # ret = NULL; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # g_value_init (&value, pspec->value_type); 4105s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4105s # g_value_unset (&value); 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _org_project_useful_interface_skeleton_handle_set_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GVariant *variant, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # gboolean ret; 4105s # ret = FALSE; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # if (info->use_gvariant) 4105s # g_value_set_variant (&value, variant); 4105s # else 4105s # g_dbus_gvariant_to_gvalue (variant, &value); 4105s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # g_value_unset (&value); 4105s # ret = TRUE; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4105s # { 4105s # _org_project_useful_interface_skeleton_handle_method_call, 4105s # _org_project_useful_interface_skeleton_handle_get_property, 4105s # _org_project_useful_interface_skeleton_handle_set_property, 4105s # {NULL} 4105s # }; 4105s # 4105s # static GDBusInterfaceInfo * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return org_project_useful_interface_interface_info (); 4105s # } 4105s # 4105s # static GDBusInterfaceVTable * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4105s # } 4105s # 4105s # static GVariant * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4105s # 4105s # GVariantBuilder builder; 4105s # guint n; 4105s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4105s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4105s # goto out; 4105s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4105s # { 4105s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4105s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4105s # { 4105s # GVariant *value; 4105s # 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); 4105s # if (value != NULL) 4105s # { 4105s # g_variant_take_ref (value); 4105s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4105s # g_variant_unref (value); 4105s # } 4105s # } 4105s # } 4105s # out: 4105s # return g_variant_builder_end (&builder); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_skeleton_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4105s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4105s # if (skeleton->priv->changed_properties_idle_source != NULL) 4105s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4105s # g_main_context_unref (skeleton->priv->context); 4105s # g_mutex_clear (&skeleton->priv->lock); 4105s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4105s # #else 4105s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4105s # #endif 4105s # 4105s # g_mutex_init (&skeleton->priv->lock); 4105s # skeleton->priv->context = g_main_context_ref_thread_default (); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusInterfaceSkeletonClass *skeleton_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4105s # 4105s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4105s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4105s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4105s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4105s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_skeleton_new: 4105s # * 4105s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_skeleton_new (void) 4105s # { 4105s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4105s # } 4105s # /tmp/tmp5t_p_xf7/tmp85v3xn0h.xml: 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmp85v3xn0h.xml', '--output', '-', '--body'] 4105s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4105s # Output: /* 4105s # * This file is generated by gdbus-codegen, do not modify it. 4105s # * 4105s # * The license of this code is the same as for the D-Bus interface description 4105s # * it was derived from. Note that it links to GLib, so must comply with the 4105s # * LGPL linking clauses. 4105s # */ 4105s # 4105s # #ifdef HAVE_CONFIG_H 4105s # # include "config.h" 4105s # #endif 4105s # 4105s # #include 4105s # #ifdef G_OS_UNIX 4105s # # include 4105s # #endif 4105s # 4105s # #ifdef G_ENABLE_DEBUG 4105s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4105s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4105s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4105s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4105s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4105s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4105s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4105s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4105s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4105s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4105s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4105s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4105s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4105s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4105s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4105s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4105s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4105s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4105s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4105s # #else /* !G_ENABLE_DEBUG */ 4105s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4105s # * Do not access GValues directly in your code. Instead, use the 4105s # * g_value_get_*() functions 4105s # */ 4105s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4105s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4105s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4105s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4105s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4105s # #endif /* !G_ENABLE_DEBUG */ 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusArgInfo parent_struct; 4105s # gboolean use_gvariant; 4105s # } _ExtendedGDBusArgInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusMethodInfo parent_struct; 4105s # const gchar *signal_name; 4105s # gboolean pass_fdlist; 4105s # } _ExtendedGDBusMethodInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusSignalInfo parent_struct; 4105s # const gchar *signal_name; 4105s # } _ExtendedGDBusSignalInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusPropertyInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # guint use_gvariant : 1; 4105s # guint emits_changed_signal : 1; 4105s # } _ExtendedGDBusPropertyInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusInterfaceInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # } _ExtendedGDBusInterfaceInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # const _ExtendedGDBusPropertyInfo *info; 4105s # guint prop_id; 4105s # GValue orig_value; /* the value before the change */ 4105s # } ChangedProperty; 4105s # 4105s # static void 4105s # _changed_property_free (ChangedProperty *data) 4105s # { 4105s # g_value_unset (&data->orig_value); 4105s # g_free (data); 4105s # } 4105s # 4105s # static gboolean 4105s # _g_strv_equal0 (gchar **a, gchar **b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # guint n; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # if (g_strv_length (a) != g_strv_length (b)) 4105s # goto out; 4105s # for (n = 0; a[n] != NULL; n++) 4105s # if (g_strcmp0 (a[n], b[n]) != 0) 4105s # goto out; 4105s # ret = TRUE; 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _g_variant_equal0 (GVariant *a, GVariant *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # ret = g_variant_equal (a, b); 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # G_GNUC_UNUSED static gboolean 4105s # _g_value_equal (const GValue *a, const GValue *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4105s # switch (G_VALUE_TYPE (a)) 4105s # { 4105s # case G_TYPE_BOOLEAN: 4105s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4105s # break; 4105s # case G_TYPE_UCHAR: 4105s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4105s # break; 4105s # case G_TYPE_INT: 4105s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4105s # break; 4105s # case G_TYPE_UINT: 4105s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4105s # break; 4105s # case G_TYPE_INT64: 4105s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4105s # break; 4105s # case G_TYPE_UINT64: 4105s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4105s # break; 4105s # case G_TYPE_DOUBLE: 4105s # { 4105s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4105s # gdouble da = g_value_get_double (a); 4105s # gdouble db = g_value_get_double (b); 4105s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4105s # } 4105s # break; 4105s # case G_TYPE_STRING: 4105s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4105s # break; 4105s # case G_TYPE_VARIANT: 4105s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4105s # break; 4105s # default: 4105s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4105s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4105s # else 4105s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4105s # break; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static void 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint G_GNUC_UNUSED, 4105s # void *marshal_data) 4105s # { 4105s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 4105s # (void *data1, 4105s # GDBusMethodInvocation *arg_method_invocation, 4105s # const gchar *arg_arg_g, 4105s # void *data2); 4105s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 4105s # GCClosure *cc = (GCClosure*) closure; 4105s # void *data1, *data2; 4105s # gboolean v_return; 4105s # 4105s # g_return_if_fail (return_value != NULL); 4105s # g_return_if_fail (n_param_values == 3); 4105s # 4105s # if (G_CCLOSURE_SWAP_DATA (closure)) 4105s # { 4105s # data1 = closure->data; 4105s # data2 = g_value_peek_pointer (param_values + 0); 4105s # } 4105s # else 4105s # { 4105s # data1 = g_value_peek_pointer (param_values + 0); 4105s # data2 = closure->data; 4105s # } 4105s # 4105s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 4105s # (marshal_data ? marshal_data : cc->callback); 4105s # 4105s # v_return = 4105s # callback (data1, 4105s # g_marshal_value_peek_object (param_values + 1), 4105s # g_marshal_value_peek_string (param_values + 2), 4105s # data2); 4105s # 4105s # g_value_set_boolean (return_value, v_return); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ 4105s # * Code for interface org.project.UsefulInterface 4105s # * ------------------------------------------------------------------------ 4105s # */ 4105s # 4105s # /** 4105s # * SECTION:OrgProjectUsefulInterface 4105s # * @title: OrgProjectUsefulInterface 4105s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4105s # * 4105s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4105s # */ 4105s # 4105s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4105s # 4105s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "arg_g", 4105s # (gchar *) "g", 4105s # NULL 4105s # }, 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "SingleArgMethodG", 4105s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "handle-single-arg-method-g", 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "org.project.UsefulInterface", 4105s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4105s # NULL, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "org-project-useful-interface", 4105s # }; 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_interface_info: 4105s # * 4105s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4105s # * 4105s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4105s # */ 4105s # GDBusInterfaceInfo * 4105s # org_project_useful_interface_interface_info (void) 4105s # { 4105s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_override_properties: 4105s # * @klass: The class structure for a #GObject derived class. 4105s # * @property_id_begin: The property id to assign to the first overridden property. 4105s # * 4105s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4105s # * The properties are overridden in the order they are defined. 4105s # * 4105s # * Returns: The last property id. 4105s # */ 4105s # guint 4105s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4105s # { 4105s # return property_id_begin - 1; 4105s # } 4105s # 4105s # 4105s # inline static void 4105s # org_project_useful_interface_method_marshal_single_arg_method_g ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint, 4105s # void *marshal_data) 4105s # { 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 4105s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4105s # } 4105s # 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterface: 4105s # * 4105s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceIface: 4105s # * @parent_iface: The parent interface. 4105s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 4105s # * 4105s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4105s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4105s # 4105s # static void 4105s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4105s # { 4105s # /* GObject signals for incoming D-Bus method calls: */ 4105s # /** 4105s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: A #GDBusMethodInvocation. 4105s # * @arg_arg_g: Argument passed by remote caller. 4105s # * 4105s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 4105s # * 4105s # * 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. 4105s # * 4105s # * 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. 4105s # */ 4105s # g_signal_new ("handle-single-arg-method-g", 4105s # G_TYPE_FROM_INTERFACE (iface), 4105s # G_SIGNAL_RUN_LAST, 4105s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 4105s # g_signal_accumulator_true_handled, 4105s # NULL, 4105s # org_project_useful_interface_method_marshal_single_arg_method_g, 4105s # G_TYPE_BOOLEAN, 4105s # 2, 4105s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 4105s # 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_g: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_g: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 4105s # */ 4105s # void 4105s # org_project_useful_interface_call_single_arg_method_g ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # const gchar *arg_arg_g, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodG", 4105s # g_variant_new ("(g)", 4105s # arg_arg_g), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # callback, 4105s # user_data); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_g_finish: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_g_finish ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_g_sync: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_g: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_g_sync ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # const gchar *arg_arg_g, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodG", 4105s # g_variant_new ("(g)", 4105s # arg_arg_g), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_complete_single_arg_method_g: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4105s # * 4105s # * 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. 4105s # * 4105s # * This method will free @invocation, you cannot use it afterwards. 4105s # */ 4105s # void 4105s # org_project_useful_interface_complete_single_arg_method_g ( 4105s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4105s # GDBusMethodInvocation *invocation) 4105s # { 4105s # g_dbus_method_invocation_return_value (invocation, 4105s # g_variant_new ("()")); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxy: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxyClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceProxyPrivate 4105s # { 4105s # GData *qdata; 4105s # }; 4105s # 4105s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_proxy_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4105s # g_datalist_clear (&proxy->priv->qdata); 4105s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # const GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4105s # const gchar *sender_name G_GNUC_UNUSED, 4105s # const gchar *signal_name, 4105s # GVariant *parameters) 4105s # { 4105s # _ExtendedGDBusSignalInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # gsize n; 4105s # guint signal_id; 4105s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4105s # if (info == NULL) 4105s # return; 4105s # num_params = g_variant_n_children (parameters); 4105s # paramv = g_new0 (GValue, num_params + 1); 4105s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[0], proxy); 4105s # g_variant_iter_init (&iter, parameters); 4105s # n = 1; 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_signal_emitv (paramv, signal_id, 0, NULL); 4105s # for (n = 0; n < num_params + 1; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4105s # GVariant *changed_properties, 4105s # const gchar *const *invalidated_properties) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4105s # guint n; 4105s # const gchar *key; 4105s # GVariantIter *iter; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # g_variant_get (changed_properties, "a{sv}", &iter); 4105s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4105s # g_datalist_remove_data (&proxy->priv->qdata, key); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # g_variant_iter_free (iter); 4105s # for (n = 0; invalidated_properties[n] != NULL; n++) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4105s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4105s # #else 4105s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4105s # #endif 4105s # 4105s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusProxyClass *proxy_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4105s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4105s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4105s # 4105s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4105s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4105s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_sync: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_sync ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new_for_bus ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_sync: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_sync ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeleton: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeletonClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4105s # { 4105s # GValue *properties; 4105s # GList *changed_properties; 4105s # GSource *changed_properties_idle_source; 4105s # GMainContext *context; 4105s # GMutex lock; 4105s # }; 4105s # 4105s # static void 4105s # _org_project_useful_interface_skeleton_handle_method_call ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name, 4105s # const gchar *method_name, 4105s # GVariant *parameters, 4105s # GDBusMethodInvocation *invocation, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # _ExtendedGDBusMethodInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # guint num_extra; 4105s # gsize n; 4105s # guint signal_id; 4105s # GValue return_value = G_VALUE_INIT; 4105s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4105s # g_assert (info != NULL); 4105s # num_params = g_variant_n_children (parameters); 4105s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4105s # n = 0; 4105s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[n++], skeleton); 4105s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4105s # g_value_set_object (¶mv[n++], invocation); 4105s # if (info->pass_fdlist) 4105s # { 4105s # #ifdef G_OS_UNIX 4105s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4105s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4105s # #else 4105s # g_assert_not_reached (); 4105s # #endif 4105s # } 4105s # g_variant_iter_init (&iter, parameters); 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4105s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4105s # if (!g_value_get_boolean (&return_value)) 4105s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4105s # g_value_unset (&return_value); 4105s # for (n = 0; n < num_params + num_extra; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static GVariant * 4105s # _org_project_useful_interface_skeleton_handle_get_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # GVariant *ret; 4105s # ret = NULL; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # g_value_init (&value, pspec->value_type); 4105s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4105s # g_value_unset (&value); 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _org_project_useful_interface_skeleton_handle_set_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GVariant *variant, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # gboolean ret; 4105s # ret = FALSE; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # if (info->use_gvariant) 4105s # g_value_set_variant (&value, variant); 4105s # else 4105s # g_dbus_gvariant_to_gvalue (variant, &value); 4105s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # g_value_unset (&value); 4105s # ret = TRUE; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4105s # { 4105s # _org_project_useful_interface_skeleton_handle_method_call, 4105s # _org_project_useful_interface_skeleton_handle_get_property, 4105s # _org_project_useful_interface_skeleton_handle_set_property, 4105s # {NULL} 4105s # }; 4105s # 4105s # static GDBusInterfaceInfo * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return org_project_useful_interface_interface_info (); 4105s # } 4105s # 4105s # static GDBusInterfaceVTable * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4105s # } 4105s # 4105s # static GVariant * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4105s # 4105s # GVariantBuilder builder; 4105s # guint n; 4105s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4105s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4105s # goto out; 4105s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4105s # { 4105s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4105s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4105s # { 4105s # GVariant *value; 4105s # 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); 4105s # if (value != NULL) 4105s # { 4105s # g_variant_take_ref (value); 4105s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4105s # g_variant_unref (value); 4105s # } 4105s # } 4105s # } 4105s # out: 4105s # return g_variant_builder_end (&builder); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_skeleton_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4105s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4105s # if (skeleton->priv->changed_properties_idle_source != NULL) 4105s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4105s # g_main_context_unref (skeleton->priv->context); 4105s # g_mutex_clear (&skeleton->priv->lock); 4105s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4105s # #else 4105s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4105s # #endif 4105s # 4105s # g_mutex_init (&skeleton->priv->lock); 4105s # skeleton->priv->context = g_main_context_ref_thread_default (); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusInterfaceSkeletonClass *skeleton_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4105s # 4105s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4105s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4105s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4105s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4105s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_skeleton_new: 4105s # * 4105s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_skeleton_new (void) 4105s # { 4105s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4105s # } 4105s # /tmp/tmp5t_p_xf7/tmpwt0z17o5.xml: 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmpwt0z17o5.xml', '--output', '-', '--body'] 4105s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4105s # Output: /* 4105s # * This file is generated by gdbus-codegen, do not modify it. 4105s # * 4105s # * The license of this code is the same as for the D-Bus interface description 4105s # * it was derived from. Note that it links to GLib, so must comply with the 4105s # * LGPL linking clauses. 4105s # */ 4105s # 4105s # #ifdef HAVE_CONFIG_H 4105s # # include "config.h" 4105s # #endif 4105s # 4105s # #include 4105s # #ifdef G_OS_UNIX 4105s # # include 4105s # #endif 4105s # 4105s # #ifdef G_ENABLE_DEBUG 4105s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4105s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4105s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4105s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4105s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4105s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4105s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4105s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4105s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4105s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4105s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4105s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4105s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4105s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4105s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4105s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4105s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4105s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4105s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4105s # #else /* !G_ENABLE_DEBUG */ 4105s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4105s # * Do not access GValues directly in your code. Instead, use the 4105s # * g_value_get_*() functions 4105s # */ 4105s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4105s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4105s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4105s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4105s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4105s # #endif /* !G_ENABLE_DEBUG */ 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusArgInfo parent_struct; 4105s # gboolean use_gvariant; 4105s # } _ExtendedGDBusArgInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusMethodInfo parent_struct; 4105s # const gchar *signal_name; 4105s # gboolean pass_fdlist; 4105s # } _ExtendedGDBusMethodInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusSignalInfo parent_struct; 4105s # const gchar *signal_name; 4105s # } _ExtendedGDBusSignalInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusPropertyInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # guint use_gvariant : 1; 4105s # guint emits_changed_signal : 1; 4105s # } _ExtendedGDBusPropertyInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusInterfaceInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # } _ExtendedGDBusInterfaceInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # const _ExtendedGDBusPropertyInfo *info; 4105s # guint prop_id; 4105s # GValue orig_value; /* the value before the change */ 4105s # } ChangedProperty; 4105s # 4105s # static void 4105s # _changed_property_free (ChangedProperty *data) 4105s # { 4105s # g_value_unset (&data->orig_value); 4105s # g_free (data); 4105s # } 4105s # 4105s # static gboolean 4105s # _g_strv_equal0 (gchar **a, gchar **b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # guint n; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # if (g_strv_length (a) != g_strv_length (b)) 4105s # goto out; 4105s # for (n = 0; a[n] != NULL; n++) 4105s # if (g_strcmp0 (a[n], b[n]) != 0) 4105s # goto out; 4105s # ret = TRUE; 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _g_variant_equal0 (GVariant *a, GVariant *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # ret = g_variant_equal (a, b); 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # G_GNUC_UNUSED static gboolean 4105s # _g_value_equal (const GValue *a, const GValue *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4105s # switch (G_VALUE_TYPE (a)) 4105s # { 4105s # case G_TYPE_BOOLEAN: 4105s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4105s # break; 4105s # case G_TYPE_UCHAR: 4105s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4105s # break; 4105s # case G_TYPE_INT: 4105s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4105s # break; 4105s # case G_TYPE_UINT: 4105s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4105s # break; 4105s # case G_TYPE_INT64: 4105s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4105s # break; 4105s # case G_TYPE_UINT64: 4105s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4105s # break; 4105s # case G_TYPE_DOUBLE: 4105s # { 4105s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4105s # gdouble da = g_value_get_double (a); 4105s # gdouble db = g_value_get_double (b); 4105s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4105s # } 4105s # break; 4105s # case G_TYPE_STRING: 4105s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4105s # break; 4105s # case G_TYPE_VARIANT: 4105s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4105s # break; 4105s # default: 4105s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4105s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4105s # else 4105s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4105s # break; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static void 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint G_GNUC_UNUSED, 4105s # void *marshal_data) 4105s # { 4105s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 4105s # (void *data1, 4105s # GDBusMethodInvocation *arg_method_invocation, 4105s # GVariant *arg_arg_h, 4105s # void *data2); 4105s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 4105s # GCClosure *cc = (GCClosure*) closure; 4105s # void *data1, *data2; 4105s # gboolean v_return; 4105s # 4105s # g_return_if_fail (return_value != NULL); 4105s # g_return_if_fail (n_param_values == 3); 4105s # 4105s # if (G_CCLOSURE_SWAP_DATA (closure)) 4105s # { 4105s # data1 = closure->data; 4105s # data2 = g_value_peek_pointer (param_values + 0); 4105s # } 4105s # else 4105s # { 4105s # data1 = g_value_peek_pointer (param_values + 0); 4105s # data2 = closure->data; 4105s # } 4105s # 4105s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 4105s # (marshal_data ? marshal_data : cc->callback); 4105s # 4105s # v_return = 4105s # callback (data1, 4105s # g_marshal_value_peek_object (param_values + 1), 4105s # g_marshal_value_peek_variant (param_values + 2), 4105s # data2); 4105s # 4105s # g_value_set_boolean (return_value, v_return); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ 4105s # * Code for interface org.project.UsefulInterface 4105s # * ------------------------------------------------------------------------ 4105s # */ 4105s # 4105s # /** 4105s # * SECTION:OrgProjectUsefulInterface 4105s # * @title: OrgProjectUsefulInterface 4105s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4105s # * 4105s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4105s # */ 4105s # 4105s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4105s # 4105s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "arg_h", 4105s # (gchar *) "h", 4105s # NULL 4105s # }, 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "SingleArgMethodH", 4105s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "handle-single-arg-method-h", 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "org.project.UsefulInterface", 4105s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4105s # NULL, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "org-project-useful-interface", 4105s # }; 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_interface_info: 4105s # * 4105s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4105s # * 4105s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4105s # */ 4105s # GDBusInterfaceInfo * 4105s # org_project_useful_interface_interface_info (void) 4105s # { 4105s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_override_properties: 4105s # * @klass: The class structure for a #GObject derived class. 4105s # * @property_id_begin: The property id to assign to the first overridden property. 4105s # * 4105s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4105s # * The properties are overridden in the order they are defined. 4105s # * 4105s # * Returns: The last property id. 4105s # */ 4105s # guint 4105s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4105s # { 4105s # return property_id_begin - 1; 4105s # } 4105s # 4105s # 4105s # inline static void 4105s # org_project_useful_interface_method_marshal_single_arg_method_h ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint, 4105s # void *marshal_data) 4105s # { 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 4105s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4105s # } 4105s # 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterface: 4105s # * 4105s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceIface: 4105s # * @parent_iface: The parent interface. 4105s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 4105s # * 4105s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4105s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4105s # 4105s # static void 4105s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4105s # { 4105s # /* GObject signals for incoming D-Bus method calls: */ 4105s # /** 4105s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: A #GDBusMethodInvocation. 4105s # * @arg_arg_h: Argument passed by remote caller. 4105s # * 4105s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 4105s # * 4105s # * 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. 4105s # * 4105s # * 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. 4105s # */ 4105s # g_signal_new ("handle-single-arg-method-h", 4105s # G_TYPE_FROM_INTERFACE (iface), 4105s # G_SIGNAL_RUN_LAST, 4105s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 4105s # g_signal_accumulator_true_handled, 4105s # NULL, 4105s # org_project_useful_interface_method_marshal_single_arg_method_h, 4105s # G_TYPE_BOOLEAN, 4105s # 2, 4105s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 4105s # 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_h: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_h: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 4105s # */ 4105s # void 4105s # org_project_useful_interface_call_single_arg_method_h ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # GVariant *arg_arg_h, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodH", 4105s # g_variant_new ("(@h)", 4105s # arg_arg_h), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # callback, 4105s # user_data); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_h_finish: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_h_finish ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_h_sync: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_h: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_h_sync ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # GVariant *arg_arg_h, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodH", 4105s # g_variant_new ("(@h)", 4105s # arg_arg_h), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_complete_single_arg_method_h: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4105s # * 4105s # * 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. 4105s # * 4105s # * This method will free @invocation, you cannot use it afterwards. 4105s # */ 4105s # void 4105s # org_project_useful_interface_complete_single_arg_method_h ( 4105s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4105s # GDBusMethodInvocation *invocation) 4105s # { 4105s # g_dbus_method_invocation_return_value (invocation, 4105s # g_variant_new ("()")); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxy: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxyClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceProxyPrivate 4105s # { 4105s # GData *qdata; 4105s # }; 4105s # 4105s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_proxy_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4105s # g_datalist_clear (&proxy->priv->qdata); 4105s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # const GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4105s # const gchar *sender_name G_GNUC_UNUSED, 4105s # const gchar *signal_name, 4105s # GVariant *parameters) 4105s # { 4105s # _ExtendedGDBusSignalInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # gsize n; 4105s # guint signal_id; 4105s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4105s # if (info == NULL) 4105s # return; 4105s # num_params = g_variant_n_children (parameters); 4105s # paramv = g_new0 (GValue, num_params + 1); 4105s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[0], proxy); 4105s # g_variant_iter_init (&iter, parameters); 4105s # n = 1; 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_signal_emitv (paramv, signal_id, 0, NULL); 4105s # for (n = 0; n < num_params + 1; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4105s # GVariant *changed_properties, 4105s # const gchar *const *invalidated_properties) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4105s # guint n; 4105s # const gchar *key; 4105s # GVariantIter *iter; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # g_variant_get (changed_properties, "a{sv}", &iter); 4105s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4105s # g_datalist_remove_data (&proxy->priv->qdata, key); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # g_variant_iter_free (iter); 4105s # for (n = 0; invalidated_properties[n] != NULL; n++) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4105s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4105s # #else 4105s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4105s # #endif 4105s # 4105s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusProxyClass *proxy_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4105s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4105s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4105s # 4105s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4105s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4105s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_sync: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_sync ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new_for_bus ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_sync: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_sync ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeleton: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeletonClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4105s # { 4105s # GValue *properties; 4105s # GList *changed_properties; 4105s # GSource *changed_properties_idle_source; 4105s # GMainContext *context; 4105s # GMutex lock; 4105s # }; 4105s # 4105s # static void 4105s # _org_project_useful_interface_skeleton_handle_method_call ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name, 4105s # const gchar *method_name, 4105s # GVariant *parameters, 4105s # GDBusMethodInvocation *invocation, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # _ExtendedGDBusMethodInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # guint num_extra; 4105s # gsize n; 4105s # guint signal_id; 4105s # GValue return_value = G_VALUE_INIT; 4105s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4105s # g_assert (info != NULL); 4105s # num_params = g_variant_n_children (parameters); 4105s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4105s # n = 0; 4105s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[n++], skeleton); 4105s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4105s # g_value_set_object (¶mv[n++], invocation); 4105s # if (info->pass_fdlist) 4105s # { 4105s # #ifdef G_OS_UNIX 4105s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4105s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4105s # #else 4105s # g_assert_not_reached (); 4105s # #endif 4105s # } 4105s # g_variant_iter_init (&iter, parameters); 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4105s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4105s # if (!g_value_get_boolean (&return_value)) 4105s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4105s # g_value_unset (&return_value); 4105s # for (n = 0; n < num_params + num_extra; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static GVariant * 4105s # _org_project_useful_interface_skeleton_handle_get_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # GVariant *ret; 4105s # ret = NULL; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # g_value_init (&value, pspec->value_type); 4105s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4105s # g_value_unset (&value); 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _org_project_useful_interface_skeleton_handle_set_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GVariant *variant, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # gboolean ret; 4105s # ret = FALSE; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # if (info->use_gvariant) 4105s # g_value_set_variant (&value, variant); 4105s # else 4105s # g_dbus_gvariant_to_gvalue (variant, &value); 4105s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # g_value_unset (&value); 4105s # ret = TRUE; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4105s # { 4105s # _org_project_useful_interface_skeleton_handle_method_call, 4105s # _org_project_useful_interface_skeleton_handle_get_property, 4105s # _org_project_useful_interface_skeleton_handle_set_property, 4105s # {NULL} 4105s # }; 4105s # 4105s # static GDBusInterfaceInfo * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return org_project_useful_interface_interface_info (); 4105s # } 4105s # 4105s # static GDBusInterfaceVTable * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4105s # } 4105s # 4105s # static GVariant * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4105s # 4105s # GVariantBuilder builder; 4105s # guint n; 4105s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4105s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4105s # goto out; 4105s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4105s # { 4105s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4105s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4105s # { 4105s # GVariant *value; 4105s # 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); 4105s # if (value != NULL) 4105s # { 4105s # g_variant_take_ref (value); 4105s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4105s # g_variant_unref (value); 4105s # } 4105s # } 4105s # } 4105s # out: 4105s # return g_variant_builder_end (&builder); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_skeleton_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4105s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4105s # if (skeleton->priv->changed_properties_idle_source != NULL) 4105s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4105s # g_main_context_unref (skeleton->priv->context); 4105s # g_mutex_clear (&skeleton->priv->lock); 4105s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4105s # #else 4105s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4105s # #endif 4105s # 4105s # g_mutex_init (&skeleton->priv->lock); 4105s # skeleton->priv->context = g_main_context_ref_thread_default (); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusInterfaceSkeletonClass *skeleton_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4105s # 4105s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4105s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4105s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4105s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4105s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_skeleton_new: 4105s # * 4105s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_skeleton_new (void) 4105s # { 4105s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4105s # } 4105s # /tmp/tmp5t_p_xf7/tmpw7n8i6xo.xml: 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmpw7n8i6xo.xml', '--output', '-', '--body'] 4105s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4105s # Output: /* 4105s # * This file is generated by gdbus-codegen, do not modify it. 4105s # * 4105s # * The license of this code is the same as for the D-Bus interface description 4105s # * it was derived from. Note that it links to GLib, so must comply with the 4105s # * LGPL linking clauses. 4105s # */ 4105s # 4105s # #ifdef HAVE_CONFIG_H 4105s # # include "config.h" 4105s # #endif 4105s # 4105s # #include 4105s # #ifdef G_OS_UNIX 4105s # # include 4105s # #endif 4105s # 4105s # #ifdef G_ENABLE_DEBUG 4105s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4105s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4105s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4105s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4105s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4105s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4105s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4105s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4105s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4105s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4105s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4105s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4105s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4105s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4105s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4105s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4105s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4105s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4105s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4105s # #else /* !G_ENABLE_DEBUG */ 4105s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4105s # * Do not access GValues directly in your code. Instead, use the 4105s # * g_value_get_*() functions 4105s # */ 4105s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4105s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4105s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4105s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4105s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4105s # #endif /* !G_ENABLE_DEBUG */ 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusArgInfo parent_struct; 4105s # gboolean use_gvariant; 4105s # } _ExtendedGDBusArgInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusMethodInfo parent_struct; 4105s # const gchar *signal_name; 4105s # gboolean pass_fdlist; 4105s # } _ExtendedGDBusMethodInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusSignalInfo parent_struct; 4105s # const gchar *signal_name; 4105s # } _ExtendedGDBusSignalInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusPropertyInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # guint use_gvariant : 1; 4105s # guint emits_changed_signal : 1; 4105s # } _ExtendedGDBusPropertyInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusInterfaceInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # } _ExtendedGDBusInterfaceInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # const _ExtendedGDBusPropertyInfo *info; 4105s # guint prop_id; 4105s # GValue orig_value; /* the value before the change */ 4105s # } ChangedProperty; 4105s # 4105s # static void 4105s # _changed_property_free (ChangedProperty *data) 4105s # { 4105s # g_value_unset (&data->orig_value); 4105s # g_free (data); 4105s # } 4105s # 4105s # static gboolean 4105s # _g_strv_equal0 (gchar **a, gchar **b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # guint n; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # if (g_strv_length (a) != g_strv_length (b)) 4105s # goto out; 4105s # for (n = 0; a[n] != NULL; n++) 4105s # if (g_strcmp0 (a[n], b[n]) != 0) 4105s # goto out; 4105s # ret = TRUE; 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _g_variant_equal0 (GVariant *a, GVariant *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # ret = g_variant_equal (a, b); 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # G_GNUC_UNUSED static gboolean 4105s # _g_value_equal (const GValue *a, const GValue *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4105s # switch (G_VALUE_TYPE (a)) 4105s # { 4105s # case G_TYPE_BOOLEAN: 4105s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4105s # break; 4105s # case G_TYPE_UCHAR: 4105s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4105s # break; 4105s # case G_TYPE_INT: 4105s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4105s # break; 4105s # case G_TYPE_UINT: 4105s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4105s # break; 4105s # case G_TYPE_INT64: 4105s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4105s # break; 4105s # case G_TYPE_UINT64: 4105s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4105s # break; 4105s # case G_TYPE_DOUBLE: 4105s # { 4105s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4105s # gdouble da = g_value_get_double (a); 4105s # gdouble db = g_value_get_double (b); 4105s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4105s # } 4105s # break; 4105s # case G_TYPE_STRING: 4105s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4105s # break; 4105s # case G_TYPE_VARIANT: 4105s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4105s # break; 4105s # default: 4105s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4105s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4105s # else 4105s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4105s # break; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static void 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint G_GNUC_UNUSED, 4105s # void *marshal_data) 4105s # { 4105s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 4105s # (void *data1, 4105s # GDBusMethodInvocation *arg_method_invocation, 4105s # const gchar *arg_arg_ay, 4105s # void *data2); 4105s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 4105s # GCClosure *cc = (GCClosure*) closure; 4105s # void *data1, *data2; 4105s # gboolean v_return; 4105s # 4105s # g_return_if_fail (return_value != NULL); 4105s # g_return_if_fail (n_param_values == 3); 4105s # 4105s # if (G_CCLOSURE_SWAP_DATA (closure)) 4105s # { 4105s # data1 = closure->data; 4105s # data2 = g_value_peek_pointer (param_values + 0); 4105s # } 4105s # else 4105s # { 4105s # data1 = g_value_peek_pointer (param_values + 0); 4105s # data2 = closure->data; 4105s # } 4105s # 4105s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 4105s # (marshal_data ? marshal_data : cc->callback); 4105s # 4105s # v_return = 4105s # callback (data1, 4105s # g_marshal_value_peek_object (param_values + 1), 4105s # g_marshal_value_peek_string (param_values + 2), 4105s # data2); 4105s # 4105s # g_value_set_boolean (return_value, v_return); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ 4105s # * Code for interface org.project.UsefulInterface 4105s # * ------------------------------------------------------------------------ 4105s # */ 4105s # 4105s # /** 4105s # * SECTION:OrgProjectUsefulInterface 4105s # * @title: OrgProjectUsefulInterface 4105s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4105s # * 4105s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4105s # */ 4105s # 4105s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4105s # 4105s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "arg_ay", 4105s # (gchar *) "ay", 4105s # NULL 4105s # }, 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "SingleArgMethodAy", 4105s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "handle-single-arg-method-ay", 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "org.project.UsefulInterface", 4105s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4105s # NULL, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "org-project-useful-interface", 4105s # }; 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_interface_info: 4105s # * 4105s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4105s # * 4105s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4105s # */ 4105s # GDBusInterfaceInfo * 4105s # org_project_useful_interface_interface_info (void) 4105s # { 4105s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_override_properties: 4105s # * @klass: The class structure for a #GObject derived class. 4105s # * @property_id_begin: The property id to assign to the first overridden property. 4105s # * 4105s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4105s # * The properties are overridden in the order they are defined. 4105s # * 4105s # * Returns: The last property id. 4105s # */ 4105s # guint 4105s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4105s # { 4105s # return property_id_begin - 1; 4105s # } 4105s # 4105s # 4105s # inline static void 4105s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint, 4105s # void *marshal_data) 4105s # { 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 4105s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4105s # } 4105s # 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterface: 4105s # * 4105s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceIface: 4105s # * @parent_iface: The parent interface. 4105s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 4105s # * 4105s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4105s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4105s # 4105s # static void 4105s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4105s # { 4105s # /* GObject signals for incoming D-Bus method calls: */ 4105s # /** 4105s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: A #GDBusMethodInvocation. 4105s # * @arg_arg_ay: Argument passed by remote caller. 4105s # * 4105s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 4105s # * 4105s # * 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. 4105s # * 4105s # * 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. 4105s # */ 4105s # g_signal_new ("handle-single-arg-method-ay", 4105s # G_TYPE_FROM_INTERFACE (iface), 4105s # G_SIGNAL_RUN_LAST, 4105s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 4105s # g_signal_accumulator_true_handled, 4105s # NULL, 4105s # org_project_useful_interface_method_marshal_single_arg_method_ay, 4105s # G_TYPE_BOOLEAN, 4105s # 2, 4105s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 4105s # 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_ay: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_ay: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 4105s # */ 4105s # void 4105s # org_project_useful_interface_call_single_arg_method_ay ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # const gchar *arg_arg_ay, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodAy", 4105s # g_variant_new ("(^ay)", 4105s # arg_arg_ay), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # callback, 4105s # user_data); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_ay_finish: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_ay_finish ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_ay_sync: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_ay: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_ay_sync ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # const gchar *arg_arg_ay, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodAy", 4105s # g_variant_new ("(^ay)", 4105s # arg_arg_ay), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_complete_single_arg_method_ay: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4105s # * 4105s # * 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. 4105s # * 4105s # * This method will free @invocation, you cannot use it afterwards. 4105s # */ 4105s # void 4105s # org_project_useful_interface_complete_single_arg_method_ay ( 4105s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4105s # GDBusMethodInvocation *invocation) 4105s # { 4105s # g_dbus_method_invocation_return_value (invocation, 4105s # g_variant_new ("()")); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxy: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxyClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceProxyPrivate 4105s # { 4105s # GData *qdata; 4105s # }; 4105s # 4105s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_proxy_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4105s # g_datalist_clear (&proxy->priv->qdata); 4105s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # const GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4105s # const gchar *sender_name G_GNUC_UNUSED, 4105s # const gchar *signal_name, 4105s # GVariant *parameters) 4105s # { 4105s # _ExtendedGDBusSignalInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # gsize n; 4105s # guint signal_id; 4105s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4105s # if (info == NULL) 4105s # return; 4105s # num_params = g_variant_n_children (parameters); 4105s # paramv = g_new0 (GValue, num_params + 1); 4105s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[0], proxy); 4105s # g_variant_iter_init (&iter, parameters); 4105s # n = 1; 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_signal_emitv (paramv, signal_id, 0, NULL); 4105s # for (n = 0; n < num_params + 1; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4105s # GVariant *changed_properties, 4105s # const gchar *const *invalidated_properties) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4105s # guint n; 4105s # const gchar *key; 4105s # GVariantIter *iter; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # g_variant_get (changed_properties, "a{sv}", &iter); 4105s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4105s # g_datalist_remove_data (&proxy->priv->qdata, key); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # g_variant_iter_free (iter); 4105s # for (n = 0; invalidated_properties[n] != NULL; n++) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4105s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4105s # #else 4105s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4105s # #endif 4105s # 4105s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusProxyClass *proxy_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4105s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4105s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4105s # 4105s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4105s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4105s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_sync: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_sync ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new_for_bus ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_sync: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_sync ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeleton: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeletonClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4105s # { 4105s # GValue *properties; 4105s # GList *changed_properties; 4105s # GSource *changed_properties_idle_source; 4105s # GMainContext *context; 4105s # GMutex lock; 4105s # }; 4105s # 4105s # static void 4105s # _org_project_useful_interface_skeleton_handle_method_call ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name, 4105s # const gchar *method_name, 4105s # GVariant *parameters, 4105s # GDBusMethodInvocation *invocation, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # _ExtendedGDBusMethodInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # guint num_extra; 4105s # gsize n; 4105s # guint signal_id; 4105s # GValue return_value = G_VALUE_INIT; 4105s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4105s # g_assert (info != NULL); 4105s # num_params = g_variant_n_children (parameters); 4105s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4105s # n = 0; 4105s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[n++], skeleton); 4105s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4105s # g_value_set_object (¶mv[n++], invocation); 4105s # if (info->pass_fdlist) 4105s # { 4105s # #ifdef G_OS_UNIX 4105s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4105s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4105s # #else 4105s # g_assert_not_reached (); 4105s # #endif 4105s # } 4105s # g_variant_iter_init (&iter, parameters); 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4105s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4105s # if (!g_value_get_boolean (&return_value)) 4105s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4105s # g_value_unset (&return_value); 4105s # for (n = 0; n < num_params + num_extra; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static GVariant * 4105s # _org_project_useful_interface_skeleton_handle_get_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # GVariant *ret; 4105s # ret = NULL; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # g_value_init (&value, pspec->value_type); 4105s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4105s # g_value_unset (&value); 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _org_project_useful_interface_skeleton_handle_set_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GVariant *variant, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # gboolean ret; 4105s # ret = FALSE; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # if (info->use_gvariant) 4105s # g_value_set_variant (&value, variant); 4105s # else 4105s # g_dbus_gvariant_to_gvalue (variant, &value); 4105s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # g_value_unset (&value); 4105s # ret = TRUE; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4105s # { 4105s # _org_project_useful_interface_skeleton_handle_method_call, 4105s # _org_project_useful_interface_skeleton_handle_get_property, 4105s # _org_project_useful_interface_skeleton_handle_set_property, 4105s # {NULL} 4105s # }; 4105s # 4105s # static GDBusInterfaceInfo * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return org_project_useful_interface_interface_info (); 4105s # } 4105s # 4105s # static GDBusInterfaceVTable * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4105s # } 4105s # 4105s # static GVariant * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4105s # 4105s # GVariantBuilder builder; 4105s # guint n; 4105s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4105s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4105s # goto out; 4105s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4105s # { 4105s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4105s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4105s # { 4105s # GVariant *value; 4105s # 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); 4105s # if (value != NULL) 4105s # { 4105s # g_variant_take_ref (value); 4105s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4105s # g_variant_unref (value); 4105s # } 4105s # } 4105s # } 4105s # out: 4105s # return g_variant_builder_end (&builder); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_skeleton_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4105s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4105s # if (skeleton->priv->changed_properties_idle_source != NULL) 4105s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4105s # g_main_context_unref (skeleton->priv->context); 4105s # g_mutex_clear (&skeleton->priv->lock); 4105s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4105s # #else 4105s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4105s # #endif 4105s # 4105s # g_mutex_init (&skeleton->priv->lock); 4105s # skeleton->priv->context = g_main_context_ref_thread_default (); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusInterfaceSkeletonClass *skeleton_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4105s # 4105s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4105s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4105s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4105s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4105s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_skeleton_new: 4105s # * 4105s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_skeleton_new (void) 4105s # { 4105s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4105s # } 4105s # /tmp/tmp5t_p_xf7/tmp9v98w6hv.xml: 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmp9v98w6hv.xml', '--output', '-', '--body'] 4105s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4105s # Output: /* 4105s # * This file is generated by gdbus-codegen, do not modify it. 4105s # * 4105s # * The license of this code is the same as for the D-Bus interface description 4105s # * it was derived from. Note that it links to GLib, so must comply with the 4105s # * LGPL linking clauses. 4105s # */ 4105s # 4105s # #ifdef HAVE_CONFIG_H 4105s # # include "config.h" 4105s # #endif 4105s # 4105s # #include 4105s # #ifdef G_OS_UNIX 4105s # # include 4105s # #endif 4105s # 4105s # #ifdef G_ENABLE_DEBUG 4105s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4105s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4105s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4105s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4105s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4105s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4105s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4105s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4105s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4105s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4105s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4105s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4105s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4105s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4105s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4105s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4105s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4105s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4105s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4105s # #else /* !G_ENABLE_DEBUG */ 4105s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4105s # * Do not access GValues directly in your code. Instead, use the 4105s # * g_value_get_*() functions 4105s # */ 4105s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4105s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4105s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4105s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4105s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4105s # #endif /* !G_ENABLE_DEBUG */ 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusArgInfo parent_struct; 4105s # gboolean use_gvariant; 4105s # } _ExtendedGDBusArgInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusMethodInfo parent_struct; 4105s # const gchar *signal_name; 4105s # gboolean pass_fdlist; 4105s # } _ExtendedGDBusMethodInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusSignalInfo parent_struct; 4105s # const gchar *signal_name; 4105s # } _ExtendedGDBusSignalInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusPropertyInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # guint use_gvariant : 1; 4105s # guint emits_changed_signal : 1; 4105s # } _ExtendedGDBusPropertyInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusInterfaceInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # } _ExtendedGDBusInterfaceInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # const _ExtendedGDBusPropertyInfo *info; 4105s # guint prop_id; 4105s # GValue orig_value; /* the value before the change */ 4105s # } ChangedProperty; 4105s # 4105s # static void 4105s # _changed_property_free (ChangedProperty *data) 4105s # { 4105s # g_value_unset (&data->orig_value); 4105s # g_free (data); 4105s # } 4105s # 4105s # static gboolean 4105s # _g_strv_equal0 (gchar **a, gchar **b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # guint n; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # if (g_strv_length (a) != g_strv_length (b)) 4105s # goto out; 4105s # for (n = 0; a[n] != NULL; n++) 4105s # if (g_strcmp0 (a[n], b[n]) != 0) 4105s # goto out; 4105s # ret = TRUE; 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _g_variant_equal0 (GVariant *a, GVariant *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # ret = g_variant_equal (a, b); 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # G_GNUC_UNUSED static gboolean 4105s # _g_value_equal (const GValue *a, const GValue *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4105s # switch (G_VALUE_TYPE (a)) 4105s # { 4105s # case G_TYPE_BOOLEAN: 4105s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4105s # break; 4105s # case G_TYPE_UCHAR: 4105s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4105s # break; 4105s # case G_TYPE_INT: 4105s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4105s # break; 4105s # case G_TYPE_UINT: 4105s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4105s # break; 4105s # case G_TYPE_INT64: 4105s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4105s # break; 4105s # case G_TYPE_UINT64: 4105s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4105s # break; 4105s # case G_TYPE_DOUBLE: 4105s # { 4105s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4105s # gdouble da = g_value_get_double (a); 4105s # gdouble db = g_value_get_double (b); 4105s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4105s # } 4105s # break; 4105s # case G_TYPE_STRING: 4105s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4105s # break; 4105s # case G_TYPE_VARIANT: 4105s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4105s # break; 4105s # default: 4105s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4105s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4105s # else 4105s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4105s # break; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static void 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint G_GNUC_UNUSED, 4105s # void *marshal_data) 4105s # { 4105s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 4105s # (void *data1, 4105s # GDBusMethodInvocation *arg_method_invocation, 4105s # const gchar *const *arg_arg_as, 4105s # void *data2); 4105s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 4105s # GCClosure *cc = (GCClosure*) closure; 4105s # void *data1, *data2; 4105s # gboolean v_return; 4105s # 4105s # g_return_if_fail (return_value != NULL); 4105s # g_return_if_fail (n_param_values == 3); 4105s # 4105s # if (G_CCLOSURE_SWAP_DATA (closure)) 4105s # { 4105s # data1 = closure->data; 4105s # data2 = g_value_peek_pointer (param_values + 0); 4105s # } 4105s # else 4105s # { 4105s # data1 = g_value_peek_pointer (param_values + 0); 4105s # data2 = closure->data; 4105s # } 4105s # 4105s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 4105s # (marshal_data ? marshal_data : cc->callback); 4105s # 4105s # v_return = 4105s # callback (data1, 4105s # g_marshal_value_peek_object (param_values + 1), 4105s # g_marshal_value_peek_boxed (param_values + 2), 4105s # data2); 4105s # 4105s # g_value_set_boolean (return_value, v_return); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ 4105s # * Code for interface org.project.UsefulInterface 4105s # * ------------------------------------------------------------------------ 4105s # */ 4105s # 4105s # /** 4105s # * SECTION:OrgProjectUsefulInterface 4105s # * @title: OrgProjectUsefulInterface 4105s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4105s # * 4105s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4105s # */ 4105s # 4105s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4105s # 4105s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "arg_as", 4105s # (gchar *) "as", 4105s # NULL 4105s # }, 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "SingleArgMethodAs", 4105s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "handle-single-arg-method-as", 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "org.project.UsefulInterface", 4105s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4105s # NULL, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "org-project-useful-interface", 4105s # }; 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_interface_info: 4105s # * 4105s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4105s # * 4105s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4105s # */ 4105s # GDBusInterfaceInfo * 4105s # org_project_useful_interface_interface_info (void) 4105s # { 4105s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_override_properties: 4105s # * @klass: The class structure for a #GObject derived class. 4105s # * @property_id_begin: The property id to assign to the first overridden property. 4105s # * 4105s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4105s # * The properties are overridden in the order they are defined. 4105s # * 4105s # * Returns: The last property id. 4105s # */ 4105s # guint 4105s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4105s # { 4105s # return property_id_begin - 1; 4105s # } 4105s # 4105s # 4105s # inline static void 4105s # org_project_useful_interface_method_marshal_single_arg_method_as ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint, 4105s # void *marshal_data) 4105s # { 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 4105s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4105s # } 4105s # 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterface: 4105s # * 4105s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceIface: 4105s # * @parent_iface: The parent interface. 4105s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 4105s # * 4105s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4105s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4105s # 4105s # static void 4105s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4105s # { 4105s # /* GObject signals for incoming D-Bus method calls: */ 4105s # /** 4105s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: A #GDBusMethodInvocation. 4105s # * @arg_arg_as: Argument passed by remote caller. 4105s # * 4105s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 4105s # * 4105s # * 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. 4105s # * 4105s # * 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. 4105s # */ 4105s # g_signal_new ("handle-single-arg-method-as", 4105s # G_TYPE_FROM_INTERFACE (iface), 4105s # G_SIGNAL_RUN_LAST, 4105s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 4105s # g_signal_accumulator_true_handled, 4105s # NULL, 4105s # org_project_useful_interface_method_marshal_single_arg_method_as, 4105s # G_TYPE_BOOLEAN, 4105s # 2, 4105s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 4105s # 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_as: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_as: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 4105s # */ 4105s # void 4105s # org_project_useful_interface_call_single_arg_method_as ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # const gchar *const *arg_arg_as, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodAs", 4105s # g_variant_new ("(^as)", 4105s # arg_arg_as), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # callback, 4105s # user_data); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_as_finish: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_as_finish ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_as_sync: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_as: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_as_sync ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # const gchar *const *arg_arg_as, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodAs", 4105s # g_variant_new ("(^as)", 4105s # arg_arg_as), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_complete_single_arg_method_as: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4105s # * 4105s # * 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. 4105s # * 4105s # * This method will free @invocation, you cannot use it afterwards. 4105s # */ 4105s # void 4105s # org_project_useful_interface_complete_single_arg_method_as ( 4105s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4105s # GDBusMethodInvocation *invocation) 4105s # { 4105s # g_dbus_method_invocation_return_value (invocation, 4105s # g_variant_new ("()")); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxy: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxyClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceProxyPrivate 4105s # { 4105s # GData *qdata; 4105s # }; 4105s # 4105s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_proxy_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4105s # g_datalist_clear (&proxy->priv->qdata); 4105s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # const GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4105s # const gchar *sender_name G_GNUC_UNUSED, 4105s # const gchar *signal_name, 4105s # GVariant *parameters) 4105s # { 4105s # _ExtendedGDBusSignalInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # gsize n; 4105s # guint signal_id; 4105s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4105s # if (info == NULL) 4105s # return; 4105s # num_params = g_variant_n_children (parameters); 4105s # paramv = g_new0 (GValue, num_params + 1); 4105s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[0], proxy); 4105s # g_variant_iter_init (&iter, parameters); 4105s # n = 1; 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_signal_emitv (paramv, signal_id, 0, NULL); 4105s # for (n = 0; n < num_params + 1; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4105s # GVariant *changed_properties, 4105s # const gchar *const *invalidated_properties) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4105s # guint n; 4105s # const gchar *key; 4105s # GVariantIter *iter; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # g_variant_get (changed_properties, "a{sv}", &iter); 4105s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4105s # g_datalist_remove_data (&proxy->priv->qdata, key); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # g_variant_iter_free (iter); 4105s # for (n = 0; invalidated_properties[n] != NULL; n++) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4105s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4105s # #else 4105s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4105s # #endif 4105s # 4105s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusProxyClass *proxy_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4105s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4105s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4105s # 4105s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4105s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4105s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_sync: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_sync ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new_for_bus ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_sync: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_sync ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeleton: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeletonClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4105s # { 4105s # GValue *properties; 4105s # GList *changed_properties; 4105s # GSource *changed_properties_idle_source; 4105s # GMainContext *context; 4105s # GMutex lock; 4105s # }; 4105s # 4105s # static void 4105s # _org_project_useful_interface_skeleton_handle_method_call ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name, 4105s # const gchar *method_name, 4105s # GVariant *parameters, 4105s # GDBusMethodInvocation *invocation, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # _ExtendedGDBusMethodInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # guint num_extra; 4105s # gsize n; 4105s # guint signal_id; 4105s # GValue return_value = G_VALUE_INIT; 4105s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4105s # g_assert (info != NULL); 4105s # num_params = g_variant_n_children (parameters); 4105s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4105s # n = 0; 4105s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[n++], skeleton); 4105s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4105s # g_value_set_object (¶mv[n++], invocation); 4105s # if (info->pass_fdlist) 4105s # { 4105s # #ifdef G_OS_UNIX 4105s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4105s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4105s # #else 4105s # g_assert_not_reached (); 4105s # #endif 4105s # } 4105s # g_variant_iter_init (&iter, parameters); 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4105s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4105s # if (!g_value_get_boolean (&return_value)) 4105s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4105s # g_value_unset (&return_value); 4105s # for (n = 0; n < num_params + num_extra; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static GVariant * 4105s # _org_project_useful_interface_skeleton_handle_get_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # GVariant *ret; 4105s # ret = NULL; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # g_value_init (&value, pspec->value_type); 4105s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4105s # g_value_unset (&value); 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _org_project_useful_interface_skeleton_handle_set_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GVariant *variant, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # gboolean ret; 4105s # ret = FALSE; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # if (info->use_gvariant) 4105s # g_value_set_variant (&value, variant); 4105s # else 4105s # g_dbus_gvariant_to_gvalue (variant, &value); 4105s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # g_value_unset (&value); 4105s # ret = TRUE; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4105s # { 4105s # _org_project_useful_interface_skeleton_handle_method_call, 4105s # _org_project_useful_interface_skeleton_handle_get_property, 4105s # _org_project_useful_interface_skeleton_handle_set_property, 4105s # {NULL} 4105s # }; 4105s # 4105s # static GDBusInterfaceInfo * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return org_project_useful_interface_interface_info (); 4105s # } 4105s # 4105s # static GDBusInterfaceVTable * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4105s # } 4105s # 4105s # static GVariant * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4105s # 4105s # GVariantBuilder builder; 4105s # guint n; 4105s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4105s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4105s # goto out; 4105s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4105s # { 4105s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4105s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4105s # { 4105s # GVariant *value; 4105s # 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); 4105s # if (value != NULL) 4105s # { 4105s # g_variant_take_ref (value); 4105s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4105s # g_variant_unref (value); 4105s # } 4105s # } 4105s # } 4105s # out: 4105s # return g_variant_builder_end (&builder); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_skeleton_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4105s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4105s # if (skeleton->priv->changed_properties_idle_source != NULL) 4105s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4105s # g_main_context_unref (skeleton->priv->context); 4105s # g_mutex_clear (&skeleton->priv->lock); 4105s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4105s # #else 4105s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4105s # #endif 4105s # 4105s # g_mutex_init (&skeleton->priv->lock); 4105s # skeleton->priv->context = g_main_context_ref_thread_default (); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusInterfaceSkeletonClass *skeleton_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4105s # 4105s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4105s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4105s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4105s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4105s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_skeleton_new: 4105s # * 4105s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_skeleton_new (void) 4105s # { 4105s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4105s # } 4105s # /tmp/tmp5t_p_xf7/tmpas4hu0ej.xml: 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmpas4hu0ej.xml', '--output', '-', '--body'] 4105s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4105s # Output: /* 4105s # * This file is generated by gdbus-codegen, do not modify it. 4105s # * 4105s # * The license of this code is the same as for the D-Bus interface description 4105s # * it was derived from. Note that it links to GLib, so must comply with the 4105s # * LGPL linking clauses. 4105s # */ 4105s # 4105s # #ifdef HAVE_CONFIG_H 4105s # # include "config.h" 4105s # #endif 4105s # 4105s # #include 4105s # #ifdef G_OS_UNIX 4105s # # include 4105s # #endif 4105s # 4105s # #ifdef G_ENABLE_DEBUG 4105s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4105s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4105s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4105s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4105s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4105s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4105s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4105s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4105s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4105s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4105s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4105s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4105s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4105s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4105s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4105s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4105s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4105s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4105s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4105s # #else /* !G_ENABLE_DEBUG */ 4105s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4105s # * Do not access GValues directly in your code. Instead, use the 4105s # * g_value_get_*() functions 4105s # */ 4105s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4105s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4105s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4105s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4105s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4105s # #endif /* !G_ENABLE_DEBUG */ 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusArgInfo parent_struct; 4105s # gboolean use_gvariant; 4105s # } _ExtendedGDBusArgInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusMethodInfo parent_struct; 4105s # const gchar *signal_name; 4105s # gboolean pass_fdlist; 4105s # } _ExtendedGDBusMethodInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusSignalInfo parent_struct; 4105s # const gchar *signal_name; 4105s # } _ExtendedGDBusSignalInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusPropertyInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # guint use_gvariant : 1; 4105s # guint emits_changed_signal : 1; 4105s # } _ExtendedGDBusPropertyInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusInterfaceInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # } _ExtendedGDBusInterfaceInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # const _ExtendedGDBusPropertyInfo *info; 4105s # guint prop_id; 4105s # GValue orig_value; /* the value before the change */ 4105s # } ChangedProperty; 4105s # 4105s # static void 4105s # _changed_property_free (ChangedProperty *data) 4105s # { 4105s # g_value_unset (&data->orig_value); 4105s # g_free (data); 4105s # } 4105s # 4105s # static gboolean 4105s # _g_strv_equal0 (gchar **a, gchar **b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # guint n; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # if (g_strv_length (a) != g_strv_length (b)) 4105s # goto out; 4105s # for (n = 0; a[n] != NULL; n++) 4105s # if (g_strcmp0 (a[n], b[n]) != 0) 4105s # goto out; 4105s # ret = TRUE; 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _g_variant_equal0 (GVariant *a, GVariant *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # ret = g_variant_equal (a, b); 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # G_GNUC_UNUSED static gboolean 4105s # _g_value_equal (const GValue *a, const GValue *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4105s # switch (G_VALUE_TYPE (a)) 4105s # { 4105s # case G_TYPE_BOOLEAN: 4105s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4105s # break; 4105s # case G_TYPE_UCHAR: 4105s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4105s # break; 4105s # case G_TYPE_INT: 4105s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4105s # break; 4105s # case G_TYPE_UINT: 4105s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4105s # break; 4105s # case G_TYPE_INT64: 4105s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4105s # break; 4105s # case G_TYPE_UINT64: 4105s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4105s # break; 4105s # case G_TYPE_DOUBLE: 4105s # { 4105s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4105s # gdouble da = g_value_get_double (a); 4105s # gdouble db = g_value_get_double (b); 4105s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4105s # } 4105s # break; 4105s # case G_TYPE_STRING: 4105s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4105s # break; 4105s # case G_TYPE_VARIANT: 4105s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4105s # break; 4105s # default: 4105s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4105s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4105s # else 4105s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4105s # break; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static void 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint G_GNUC_UNUSED, 4105s # void *marshal_data) 4105s # { 4105s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 4105s # (void *data1, 4105s # GDBusMethodInvocation *arg_method_invocation, 4105s # const gchar *const *arg_arg_ao, 4105s # void *data2); 4105s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 4105s # GCClosure *cc = (GCClosure*) closure; 4105s # void *data1, *data2; 4105s # gboolean v_return; 4105s # 4105s # g_return_if_fail (return_value != NULL); 4105s # g_return_if_fail (n_param_values == 3); 4105s # 4105s # if (G_CCLOSURE_SWAP_DATA (closure)) 4105s # { 4105s # data1 = closure->data; 4105s # data2 = g_value_peek_pointer (param_values + 0); 4105s # } 4105s # else 4105s # { 4105s # data1 = g_value_peek_pointer (param_values + 0); 4105s # data2 = closure->data; 4105s # } 4105s # 4105s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 4105s # (marshal_data ? marshal_data : cc->callback); 4105s # 4105s # v_return = 4105s # callback (data1, 4105s # g_marshal_value_peek_object (param_values + 1), 4105s # g_marshal_value_peek_boxed (param_values + 2), 4105s # data2); 4105s # 4105s # g_value_set_boolean (return_value, v_return); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ 4105s # * Code for interface org.project.UsefulInterface 4105s # * ------------------------------------------------------------------------ 4105s # */ 4105s # 4105s # /** 4105s # * SECTION:OrgProjectUsefulInterface 4105s # * @title: OrgProjectUsefulInterface 4105s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4105s # * 4105s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4105s # */ 4105s # 4105s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4105s # 4105s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "arg_ao", 4105s # (gchar *) "ao", 4105s # NULL 4105s # }, 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "SingleArgMethodAo", 4105s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "handle-single-arg-method-ao", 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "org.project.UsefulInterface", 4105s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4105s # NULL, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "org-project-useful-interface", 4105s # }; 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_interface_info: 4105s # * 4105s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4105s # * 4105s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4105s # */ 4105s # GDBusInterfaceInfo * 4105s # org_project_useful_interface_interface_info (void) 4105s # { 4105s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_override_properties: 4105s # * @klass: The class structure for a #GObject derived class. 4105s # * @property_id_begin: The property id to assign to the first overridden property. 4105s # * 4105s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4105s # * The properties are overridden in the order they are defined. 4105s # * 4105s # * Returns: The last property id. 4105s # */ 4105s # guint 4105s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4105s # { 4105s # return property_id_begin - 1; 4105s # } 4105s # 4105s # 4105s # inline static void 4105s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint, 4105s # void *marshal_data) 4105s # { 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 4105s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4105s # } 4105s # 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterface: 4105s # * 4105s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceIface: 4105s # * @parent_iface: The parent interface. 4105s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 4105s # * 4105s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4105s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4105s # 4105s # static void 4105s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4105s # { 4105s # /* GObject signals for incoming D-Bus method calls: */ 4105s # /** 4105s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: A #GDBusMethodInvocation. 4105s # * @arg_arg_ao: Argument passed by remote caller. 4105s # * 4105s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 4105s # * 4105s # * 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. 4105s # * 4105s # * 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. 4105s # */ 4105s # g_signal_new ("handle-single-arg-method-ao", 4105s # G_TYPE_FROM_INTERFACE (iface), 4105s # G_SIGNAL_RUN_LAST, 4105s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 4105s # g_signal_accumulator_true_handled, 4105s # NULL, 4105s # org_project_useful_interface_method_marshal_single_arg_method_ao, 4105s # G_TYPE_BOOLEAN, 4105s # 2, 4105s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 4105s # 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_ao: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_ao: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 4105s # */ 4105s # void 4105s # org_project_useful_interface_call_single_arg_method_ao ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # const gchar *const *arg_arg_ao, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodAo", 4105s # g_variant_new ("(^ao)", 4105s # arg_arg_ao), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # callback, 4105s # user_data); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_ao_finish: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_ao_finish ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_ao_sync: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_ao: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_ao_sync ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # const gchar *const *arg_arg_ao, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodAo", 4105s # g_variant_new ("(^ao)", 4105s # arg_arg_ao), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_complete_single_arg_method_ao: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4105s # * 4105s # * 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. 4105s # * 4105s # * This method will free @invocation, you cannot use it afterwards. 4105s # */ 4105s # void 4105s # org_project_useful_interface_complete_single_arg_method_ao ( 4105s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4105s # GDBusMethodInvocation *invocation) 4105s # { 4105s # g_dbus_method_invocation_return_value (invocation, 4105s # g_variant_new ("()")); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxy: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxyClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceProxyPrivate 4105s # { 4105s # GData *qdata; 4105s # }; 4105s # 4105s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_proxy_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4105s # g_datalist_clear (&proxy->priv->qdata); 4105s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # const GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4105s # const gchar *sender_name G_GNUC_UNUSED, 4105s # const gchar *signal_name, 4105s # GVariant *parameters) 4105s # { 4105s # _ExtendedGDBusSignalInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # gsize n; 4105s # guint signal_id; 4105s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4105s # if (info == NULL) 4105s # return; 4105s # num_params = g_variant_n_children (parameters); 4105s # paramv = g_new0 (GValue, num_params + 1); 4105s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[0], proxy); 4105s # g_variant_iter_init (&iter, parameters); 4105s # n = 1; 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_signal_emitv (paramv, signal_id, 0, NULL); 4105s # for (n = 0; n < num_params + 1; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4105s # GVariant *changed_properties, 4105s # const gchar *const *invalidated_properties) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4105s # guint n; 4105s # const gchar *key; 4105s # GVariantIter *iter; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # g_variant_get (changed_properties, "a{sv}", &iter); 4105s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4105s # g_datalist_remove_data (&proxy->priv->qdata, key); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # g_variant_iter_free (iter); 4105s # for (n = 0; invalidated_properties[n] != NULL; n++) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4105s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4105s # #else 4105s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4105s # #endif 4105s # 4105s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusProxyClass *proxy_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4105s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4105s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4105s # 4105s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4105s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4105s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_sync: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_sync ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new_for_bus ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_sync: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_sync ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeleton: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeletonClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4105s # { 4105s # GValue *properties; 4105s # GList *changed_properties; 4105s # GSource *changed_properties_idle_source; 4105s # GMainContext *context; 4105s # GMutex lock; 4105s # }; 4105s # 4105s # static void 4105s # _org_project_useful_interface_skeleton_handle_method_call ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name, 4105s # const gchar *method_name, 4105s # GVariant *parameters, 4105s # GDBusMethodInvocation *invocation, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # _ExtendedGDBusMethodInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # guint num_extra; 4105s # gsize n; 4105s # guint signal_id; 4105s # GValue return_value = G_VALUE_INIT; 4105s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4105s # g_assert (info != NULL); 4105s # num_params = g_variant_n_children (parameters); 4105s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4105s # n = 0; 4105s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[n++], skeleton); 4105s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4105s # g_value_set_object (¶mv[n++], invocation); 4105s # if (info->pass_fdlist) 4105s # { 4105s # #ifdef G_OS_UNIX 4105s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4105s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4105s # #else 4105s # g_assert_not_reached (); 4105s # #endif 4105s # } 4105s # g_variant_iter_init (&iter, parameters); 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4105s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4105s # if (!g_value_get_boolean (&return_value)) 4105s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4105s # g_value_unset (&return_value); 4105s # for (n = 0; n < num_params + num_extra; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static GVariant * 4105s # _org_project_useful_interface_skeleton_handle_get_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # GVariant *ret; 4105s # ret = NULL; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # g_value_init (&value, pspec->value_type); 4105s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4105s # g_value_unset (&value); 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _org_project_useful_interface_skeleton_handle_set_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GVariant *variant, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # gboolean ret; 4105s # ret = FALSE; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # if (info->use_gvariant) 4105s # g_value_set_variant (&value, variant); 4105s # else 4105s # g_dbus_gvariant_to_gvalue (variant, &value); 4105s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # g_value_unset (&value); 4105s # ret = TRUE; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4105s # { 4105s # _org_project_useful_interface_skeleton_handle_method_call, 4105s # _org_project_useful_interface_skeleton_handle_get_property, 4105s # _org_project_useful_interface_skeleton_handle_set_property, 4105s # {NULL} 4105s # }; 4105s # 4105s # static GDBusInterfaceInfo * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return org_project_useful_interface_interface_info (); 4105s # } 4105s # 4105s # static GDBusInterfaceVTable * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4105s # } 4105s # 4105s # static GVariant * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4105s # 4105s # GVariantBuilder builder; 4105s # guint n; 4105s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4105s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4105s # goto out; 4105s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4105s # { 4105s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4105s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4105s # { 4105s # GVariant *value; 4105s # 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); 4105s # if (value != NULL) 4105s # { 4105s # g_variant_take_ref (value); 4105s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4105s # g_variant_unref (value); 4105s # } 4105s # } 4105s # } 4105s # out: 4105s # return g_variant_builder_end (&builder); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_skeleton_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4105s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4105s # if (skeleton->priv->changed_properties_idle_source != NULL) 4105s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4105s # g_main_context_unref (skeleton->priv->context); 4105s # g_mutex_clear (&skeleton->priv->lock); 4105s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4105s # #else 4105s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4105s # #endif 4105s # 4105s # g_mutex_init (&skeleton->priv->lock); 4105s # skeleton->priv->context = g_main_context_ref_thread_default (); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusInterfaceSkeletonClass *skeleton_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4105s # 4105s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4105s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4105s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4105s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4105s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_skeleton_new: 4105s # * 4105s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_skeleton_new (void) 4105s # { 4105s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4105s # } 4105s # /tmp/tmp5t_p_xf7/tmpivr7azkp.xml: 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmpivr7azkp.xml', '--output', '-', '--body'] 4105s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4105s # Output: /* 4105s # * This file is generated by gdbus-codegen, do not modify it. 4105s # * 4105s # * The license of this code is the same as for the D-Bus interface description 4105s # * it was derived from. Note that it links to GLib, so must comply with the 4105s # * LGPL linking clauses. 4105s # */ 4105s # 4105s # #ifdef HAVE_CONFIG_H 4105s # # include "config.h" 4105s # #endif 4105s # 4105s # #include 4105s # #ifdef G_OS_UNIX 4105s # # include 4105s # #endif 4105s # 4105s # #ifdef G_ENABLE_DEBUG 4105s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4105s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4105s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4105s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4105s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4105s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4105s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4105s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4105s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4105s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4105s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4105s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4105s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4105s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4105s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4105s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4105s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4105s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4105s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4105s # #else /* !G_ENABLE_DEBUG */ 4105s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4105s # * Do not access GValues directly in your code. Instead, use the 4105s # * g_value_get_*() functions 4105s # */ 4105s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4105s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4105s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4105s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4105s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4105s # #endif /* !G_ENABLE_DEBUG */ 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusArgInfo parent_struct; 4105s # gboolean use_gvariant; 4105s # } _ExtendedGDBusArgInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusMethodInfo parent_struct; 4105s # const gchar *signal_name; 4105s # gboolean pass_fdlist; 4105s # } _ExtendedGDBusMethodInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusSignalInfo parent_struct; 4105s # const gchar *signal_name; 4105s # } _ExtendedGDBusSignalInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusPropertyInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # guint use_gvariant : 1; 4105s # guint emits_changed_signal : 1; 4105s # } _ExtendedGDBusPropertyInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusInterfaceInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # } _ExtendedGDBusInterfaceInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # const _ExtendedGDBusPropertyInfo *info; 4105s # guint prop_id; 4105s # GValue orig_value; /* the value before the change */ 4105s # } ChangedProperty; 4105s # 4105s # static void 4105s # _changed_property_free (ChangedProperty *data) 4105s # { 4105s # g_value_unset (&data->orig_value); 4105s # g_free (data); 4105s # } 4105s # 4105s # static gboolean 4105s # _g_strv_equal0 (gchar **a, gchar **b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # guint n; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # if (g_strv_length (a) != g_strv_length (b)) 4105s # goto out; 4105s # for (n = 0; a[n] != NULL; n++) 4105s # if (g_strcmp0 (a[n], b[n]) != 0) 4105s # goto out; 4105s # ret = TRUE; 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _g_variant_equal0 (GVariant *a, GVariant *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # ret = g_variant_equal (a, b); 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # G_GNUC_UNUSED static gboolean 4105s # _g_value_equal (const GValue *a, const GValue *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4105s # switch (G_VALUE_TYPE (a)) 4105s # { 4105s # case G_TYPE_BOOLEAN: 4105s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4105s # break; 4105s # case G_TYPE_UCHAR: 4105s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4105s # break; 4105s # case G_TYPE_INT: 4105s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4105s # break; 4105s # case G_TYPE_UINT: 4105s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4105s # break; 4105s # case G_TYPE_INT64: 4105s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4105s # break; 4105s # case G_TYPE_UINT64: 4105s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4105s # break; 4105s # case G_TYPE_DOUBLE: 4105s # { 4105s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4105s # gdouble da = g_value_get_double (a); 4105s # gdouble db = g_value_get_double (b); 4105s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4105s # } 4105s # break; 4105s # case G_TYPE_STRING: 4105s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4105s # break; 4105s # case G_TYPE_VARIANT: 4105s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4105s # break; 4105s # default: 4105s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4105s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4105s # else 4105s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4105s # break; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static void 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint G_GNUC_UNUSED, 4105s # void *marshal_data) 4105s # { 4105s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 4105s # (void *data1, 4105s # GDBusMethodInvocation *arg_method_invocation, 4105s # const gchar *const *arg_arg_aay, 4105s # void *data2); 4105s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 4105s # GCClosure *cc = (GCClosure*) closure; 4105s # void *data1, *data2; 4105s # gboolean v_return; 4105s # 4105s # g_return_if_fail (return_value != NULL); 4105s # g_return_if_fail (n_param_values == 3); 4105s # 4105s # if (G_CCLOSURE_SWAP_DATA (closure)) 4105s # { 4105s # data1 = closure->data; 4105s # data2 = g_value_peek_pointer (param_values + 0); 4105s # } 4105s # else 4105s # { 4105s # data1 = g_value_peek_pointer (param_values + 0); 4105s # data2 = closure->data; 4105s # } 4105s # 4105s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 4105s # (marshal_data ? marshal_data : cc->callback); 4105s # 4105s # v_return = 4105s # callback (data1, 4105s # g_marshal_value_peek_object (param_values + 1), 4105s # g_marshal_value_peek_boxed (param_values + 2), 4105s # data2); 4105s # 4105s # g_value_set_boolean (return_value, v_return); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ 4105s # * Code for interface org.project.UsefulInterface 4105s # * ------------------------------------------------------------------------ 4105s # */ 4105s # 4105s # /** 4105s # * SECTION:OrgProjectUsefulInterface 4105s # * @title: OrgProjectUsefulInterface 4105s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4105s # * 4105s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4105s # */ 4105s # 4105s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4105s # 4105s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "arg_aay", 4105s # (gchar *) "aay", 4105s # NULL 4105s # }, 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "SingleArgMethodAay", 4105s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "handle-single-arg-method-aay", 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "org.project.UsefulInterface", 4105s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4105s # NULL, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "org-project-useful-interface", 4105s # }; 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_interface_info: 4105s # * 4105s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4105s # * 4105s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4105s # */ 4105s # GDBusInterfaceInfo * 4105s # org_project_useful_interface_interface_info (void) 4105s # { 4105s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_override_properties: 4105s # * @klass: The class structure for a #GObject derived class. 4105s # * @property_id_begin: The property id to assign to the first overridden property. 4105s # * 4105s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4105s # * The properties are overridden in the order they are defined. 4105s # * 4105s # * Returns: The last property id. 4105s # */ 4105s # guint 4105s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4105s # { 4105s # return property_id_begin - 1; 4105s # } 4105s # 4105s # 4105s # inline static void 4105s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint, 4105s # void *marshal_data) 4105s # { 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 4105s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4105s # } 4105s # 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterface: 4105s # * 4105s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceIface: 4105s # * @parent_iface: The parent interface. 4105s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 4105s # * 4105s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4105s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4105s # 4105s # static void 4105s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4105s # { 4105s # /* GObject signals for incoming D-Bus method calls: */ 4105s # /** 4105s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: A #GDBusMethodInvocation. 4105s # * @arg_arg_aay: Argument passed by remote caller. 4105s # * 4105s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 4105s # * 4105s # * 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. 4105s # * 4105s # * 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. 4105s # */ 4105s # g_signal_new ("handle-single-arg-method-aay", 4105s # G_TYPE_FROM_INTERFACE (iface), 4105s # G_SIGNAL_RUN_LAST, 4105s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 4105s # g_signal_accumulator_true_handled, 4105s # NULL, 4105s # org_project_useful_interface_method_marshal_single_arg_method_aay, 4105s # G_TYPE_BOOLEAN, 4105s # 2, 4105s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 4105s # 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_aay: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_aay: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 4105s # */ 4105s # void 4105s # org_project_useful_interface_call_single_arg_method_aay ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # const gchar *const *arg_arg_aay, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodAay", 4105s # g_variant_new ("(^aay)", 4105s # arg_arg_aay), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # callback, 4105s # user_data); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_aay_finish: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_aay_finish ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_aay_sync: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_aay: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_aay_sync ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # const gchar *const *arg_arg_aay, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodAay", 4105s # g_variant_new ("(^aay)", 4105s # arg_arg_aay), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_complete_single_arg_method_aay: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4105s # * 4105s # * 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. 4105s # * 4105s # * This method will free @invocation, you cannot use it afterwards. 4105s # */ 4105s # void 4105s # org_project_useful_interface_complete_single_arg_method_aay ( 4105s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4105s # GDBusMethodInvocation *invocation) 4105s # { 4105s # g_dbus_method_invocation_return_value (invocation, 4105s # g_variant_new ("()")); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxy: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxyClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceProxyPrivate 4105s # { 4105s # GData *qdata; 4105s # }; 4105s # 4105s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_proxy_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4105s # g_datalist_clear (&proxy->priv->qdata); 4105s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # const GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4105s # const gchar *sender_name G_GNUC_UNUSED, 4105s # const gchar *signal_name, 4105s # GVariant *parameters) 4105s # { 4105s # _ExtendedGDBusSignalInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # gsize n; 4105s # guint signal_id; 4105s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4105s # if (info == NULL) 4105s # return; 4105s # num_params = g_variant_n_children (parameters); 4105s # paramv = g_new0 (GValue, num_params + 1); 4105s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[0], proxy); 4105s # g_variant_iter_init (&iter, parameters); 4105s # n = 1; 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_signal_emitv (paramv, signal_id, 0, NULL); 4105s # for (n = 0; n < num_params + 1; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4105s # GVariant *changed_properties, 4105s # const gchar *const *invalidated_properties) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4105s # guint n; 4105s # const gchar *key; 4105s # GVariantIter *iter; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # g_variant_get (changed_properties, "a{sv}", &iter); 4105s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4105s # g_datalist_remove_data (&proxy->priv->qdata, key); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # g_variant_iter_free (iter); 4105s # for (n = 0; invalidated_properties[n] != NULL; n++) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4105s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4105s # #else 4105s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4105s # #endif 4105s # 4105s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusProxyClass *proxy_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4105s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4105s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4105s # 4105s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4105s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4105s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_sync: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_sync ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new_for_bus ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_sync: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_sync ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeleton: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeletonClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4105s # { 4105s # GValue *properties; 4105s # GList *changed_properties; 4105s # GSource *changed_properties_idle_source; 4105s # GMainContext *context; 4105s # GMutex lock; 4105s # }; 4105s # 4105s # static void 4105s # _org_project_useful_interface_skeleton_handle_method_call ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name, 4105s # const gchar *method_name, 4105s # GVariant *parameters, 4105s # GDBusMethodInvocation *invocation, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # _ExtendedGDBusMethodInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # guint num_extra; 4105s # gsize n; 4105s # guint signal_id; 4105s # GValue return_value = G_VALUE_INIT; 4105s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4105s # g_assert (info != NULL); 4105s # num_params = g_variant_n_children (parameters); 4105s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4105s # n = 0; 4105s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[n++], skeleton); 4105s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4105s # g_value_set_object (¶mv[n++], invocation); 4105s # if (info->pass_fdlist) 4105s # { 4105s # #ifdef G_OS_UNIX 4105s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4105s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4105s # #else 4105s # g_assert_not_reached (); 4105s # #endif 4105s # } 4105s # g_variant_iter_init (&iter, parameters); 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4105s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4105s # if (!g_value_get_boolean (&return_value)) 4105s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4105s # g_value_unset (&return_value); 4105s # for (n = 0; n < num_params + num_extra; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static GVariant * 4105s # _org_project_useful_interface_skeleton_handle_get_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # GVariant *ret; 4105s # ret = NULL; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # g_value_init (&value, pspec->value_type); 4105s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4105s # g_value_unset (&value); 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _org_project_useful_interface_skeleton_handle_set_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GVariant *variant, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # gboolean ret; 4105s # ret = FALSE; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # if (info->use_gvariant) 4105s # g_value_set_variant (&value, variant); 4105s # else 4105s # g_dbus_gvariant_to_gvalue (variant, &value); 4105s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # g_value_unset (&value); 4105s # ret = TRUE; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4105s # { 4105s # _org_project_useful_interface_skeleton_handle_method_call, 4105s # _org_project_useful_interface_skeleton_handle_get_property, 4105s # _org_project_useful_interface_skeleton_handle_set_property, 4105s # {NULL} 4105s # }; 4105s # 4105s # static GDBusInterfaceInfo * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return org_project_useful_interface_interface_info (); 4105s # } 4105s # 4105s # static GDBusInterfaceVTable * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4105s # } 4105s # 4105s # static GVariant * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4105s # 4105s # GVariantBuilder builder; 4105s # guint n; 4105s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4105s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4105s # goto out; 4105s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4105s # { 4105s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4105s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4105s # { 4105s # GVariant *value; 4105s # 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); 4105s # if (value != NULL) 4105s # { 4105s # g_variant_take_ref (value); 4105s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4105s # g_variant_unref (value); 4105s # } 4105s # } 4105s # } 4105s # out: 4105s # return g_variant_builder_end (&builder); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_skeleton_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4105s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4105s # if (skeleton->priv->changed_properties_idle_source != NULL) 4105s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4105s # g_main_context_unref (skeleton->priv->context); 4105s # g_mutex_clear (&skeleton->priv->lock); 4105s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4105s # #else 4105s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4105s # #endif 4105s # 4105s # g_mutex_init (&skeleton->priv->lock); 4105s # skeleton->priv->context = g_main_context_ref_thread_default (); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusInterfaceSkeletonClass *skeleton_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4105s # 4105s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4105s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4105s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4105s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4105s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_skeleton_new: 4105s # * 4105s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_skeleton_new (void) 4105s # { 4105s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4105s # } 4105s # /tmp/tmp5t_p_xf7/tmpu9of60kv.xml: 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # 4105s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5t_p_xf7/tmpu9of60kv.xml', '--output', '-', '--body'] 4105s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4105s # Output: /* 4105s # * This file is generated by gdbus-codegen, do not modify it. 4105s # * 4105s # * The license of this code is the same as for the D-Bus interface description 4105s # * it was derived from. Note that it links to GLib, so must comply with the 4105s # * LGPL linking clauses. 4105s # */ 4105s # 4105s # #ifdef HAVE_CONFIG_H 4105s # # include "config.h" 4105s # #endif 4105s # 4105s # #include 4105s # #ifdef G_OS_UNIX 4105s # # include 4105s # #endif 4105s # 4105s # #ifdef G_ENABLE_DEBUG 4105s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4105s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4105s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4105s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4105s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4105s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4105s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4105s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4105s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4105s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4105s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4105s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4105s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4105s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4105s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4105s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4105s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4105s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4105s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4105s # #else /* !G_ENABLE_DEBUG */ 4105s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4105s # * Do not access GValues directly in your code. Instead, use the 4105s # * g_value_get_*() functions 4105s # */ 4105s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4105s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4105s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4105s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4105s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4105s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4105s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4105s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4105s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4105s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4105s # #endif /* !G_ENABLE_DEBUG */ 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusArgInfo parent_struct; 4105s # gboolean use_gvariant; 4105s # } _ExtendedGDBusArgInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusMethodInfo parent_struct; 4105s # const gchar *signal_name; 4105s # gboolean pass_fdlist; 4105s # } _ExtendedGDBusMethodInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusSignalInfo parent_struct; 4105s # const gchar *signal_name; 4105s # } _ExtendedGDBusSignalInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusPropertyInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # guint use_gvariant : 1; 4105s # guint emits_changed_signal : 1; 4105s # } _ExtendedGDBusPropertyInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # GDBusInterfaceInfo parent_struct; 4105s # const gchar *hyphen_name; 4105s # } _ExtendedGDBusInterfaceInfo; 4105s # 4105s # typedef struct 4105s # { 4105s # const _ExtendedGDBusPropertyInfo *info; 4105s # guint prop_id; 4105s # GValue orig_value; /* the value before the change */ 4105s # } ChangedProperty; 4105s # 4105s # static void 4105s # _changed_property_free (ChangedProperty *data) 4105s # { 4105s # g_value_unset (&data->orig_value); 4105s # g_free (data); 4105s # } 4105s # 4105s # static gboolean 4105s # _g_strv_equal0 (gchar **a, gchar **b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # guint n; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # if (g_strv_length (a) != g_strv_length (b)) 4105s # goto out; 4105s # for (n = 0; a[n] != NULL; n++) 4105s # if (g_strcmp0 (a[n], b[n]) != 0) 4105s # goto out; 4105s # ret = TRUE; 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _g_variant_equal0 (GVariant *a, GVariant *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # if (a == NULL && b == NULL) 4105s # { 4105s # ret = TRUE; 4105s # goto out; 4105s # } 4105s # if (a == NULL || b == NULL) 4105s # goto out; 4105s # ret = g_variant_equal (a, b); 4105s # out: 4105s # return ret; 4105s # } 4105s # 4105s # G_GNUC_UNUSED static gboolean 4105s # _g_value_equal (const GValue *a, const GValue *b) 4105s # { 4105s # gboolean ret = FALSE; 4105s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4105s # switch (G_VALUE_TYPE (a)) 4105s # { 4105s # case G_TYPE_BOOLEAN: 4105s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4105s # break; 4105s # case G_TYPE_UCHAR: 4105s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4105s # break; 4105s # case G_TYPE_INT: 4105s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4105s # break; 4105s # case G_TYPE_UINT: 4105s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4105s # break; 4105s # case G_TYPE_INT64: 4105s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4105s # break; 4105s # case G_TYPE_UINT64: 4105s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4105s # break; 4105s # case G_TYPE_DOUBLE: 4105s # { 4105s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4105s # gdouble da = g_value_get_double (a); 4105s # gdouble db = g_value_get_double (b); 4105s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4105s # } 4105s # break; 4105s # case G_TYPE_STRING: 4105s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4105s # break; 4105s # case G_TYPE_VARIANT: 4105s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4105s # break; 4105s # default: 4105s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4105s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4105s # else 4105s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4105s # break; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static void 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint G_GNUC_UNUSED, 4105s # void *marshal_data) 4105s # { 4105s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 4105s # (void *data1, 4105s # GDBusMethodInvocation *arg_method_invocation, 4105s # GVariant *arg_arg_asv, 4105s # void *data2); 4105s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 4105s # GCClosure *cc = (GCClosure*) closure; 4105s # void *data1, *data2; 4105s # gboolean v_return; 4105s # 4105s # g_return_if_fail (return_value != NULL); 4105s # g_return_if_fail (n_param_values == 3); 4105s # 4105s # if (G_CCLOSURE_SWAP_DATA (closure)) 4105s # { 4105s # data1 = closure->data; 4105s # data2 = g_value_peek_pointer (param_values + 0); 4105s # } 4105s # else 4105s # { 4105s # data1 = g_value_peek_pointer (param_values + 0); 4105s # data2 = closure->data; 4105s # } 4105s # 4105s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 4105s # (marshal_data ? marshal_data : cc->callback); 4105s # 4105s # v_return = 4105s # callback (data1, 4105s # g_marshal_value_peek_object (param_values + 1), 4105s # g_marshal_value_peek_variant (param_values + 2), 4105s # data2); 4105s # 4105s # g_value_set_boolean (return_value, v_return); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ 4105s # * Code for interface org.project.UsefulInterface 4105s # * ------------------------------------------------------------------------ 4105s # */ 4105s # 4105s # /** 4105s # * SECTION:OrgProjectUsefulInterface 4105s # * @title: OrgProjectUsefulInterface 4105s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4105s # * 4105s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4105s # */ 4105s # 4105s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4105s # 4105s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "arg_asv", 4105s # (gchar *) "a{sv}", 4105s # NULL 4105s # }, 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "SingleArgMethodAsv", 4105s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "handle-single-arg-method-asv", 4105s # FALSE 4105s # }; 4105s # 4105s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4105s # { 4105s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 4105s # NULL 4105s # }; 4105s # 4105s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4105s # { 4105s # { 4105s # -1, 4105s # (gchar *) "org.project.UsefulInterface", 4105s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4105s # NULL, 4105s # NULL, 4105s # NULL 4105s # }, 4105s # "org-project-useful-interface", 4105s # }; 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_interface_info: 4105s # * 4105s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4105s # * 4105s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4105s # */ 4105s # GDBusInterfaceInfo * 4105s # org_project_useful_interface_interface_info (void) 4105s # { 4105s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_override_properties: 4105s # * @klass: The class structure for a #GObject derived class. 4105s # * @property_id_begin: The property id to assign to the first overridden property. 4105s # * 4105s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4105s # * The properties are overridden in the order they are defined. 4105s # * 4105s # * Returns: The last property id. 4105s # */ 4105s # guint 4105s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4105s # { 4105s # return property_id_begin - 1; 4105s # } 4105s # 4105s # 4105s # inline static void 4105s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 4105s # GClosure *closure, 4105s # GValue *return_value, 4105s # unsigned int n_param_values, 4105s # const GValue *param_values, 4105s # void *invocation_hint, 4105s # void *marshal_data) 4105s # { 4105s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 4105s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4105s # } 4105s # 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterface: 4105s # * 4105s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceIface: 4105s # * @parent_iface: The parent interface. 4105s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 4105s # * 4105s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4105s # */ 4105s # 4105s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4105s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4105s # 4105s # static void 4105s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4105s # { 4105s # /* GObject signals for incoming D-Bus method calls: */ 4105s # /** 4105s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: A #GDBusMethodInvocation. 4105s # * @arg_arg_asv: Argument passed by remote caller. 4105s # * 4105s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 4105s # * 4105s # * 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. 4105s # * 4105s # * 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. 4105s # */ 4105s # g_signal_new ("handle-single-arg-method-asv", 4105s # G_TYPE_FROM_INTERFACE (iface), 4105s # G_SIGNAL_RUN_LAST, 4105s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 4105s # g_signal_accumulator_true_handled, 4105s # NULL, 4105s # org_project_useful_interface_method_marshal_single_arg_method_asv, 4105s # G_TYPE_BOOLEAN, 4105s # 2, 4105s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 4105s # 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_asv: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_asv: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 4105s # */ 4105s # void 4105s # org_project_useful_interface_call_single_arg_method_asv ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # GVariant *arg_arg_asv, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodAsv", 4105s # g_variant_new ("(@a{sv})", 4105s # arg_arg_asv), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # callback, 4105s # user_data); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_asv_finish: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_asv_finish ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_call_single_arg_method_asv_sync: 4105s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4105s # * @arg_arg_asv: Argument to pass with the method invocation. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL. 4105s # * 4105s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 4105s # * 4105s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4105s # */ 4105s # gboolean 4105s # org_project_useful_interface_call_single_arg_method_asv_sync ( 4105s # OrgProjectUsefulInterface *proxy, 4105s # GVariant *arg_arg_asv, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GVariant *_ret; 4105s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4105s # "SingleArgMethodAsv", 4105s # g_variant_new ("(@a{sv})", 4105s # arg_arg_asv), 4105s # G_DBUS_CALL_FLAGS_NONE, 4105s # -1, 4105s # cancellable, 4105s # error); 4105s # if (_ret == NULL) 4105s # goto _out; 4105s # g_variant_get (_ret, 4105s # "()"); 4105s # g_variant_unref (_ret); 4105s # _out: 4105s # return _ret != NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_complete_single_arg_method_asv: 4105s # * @object: A #OrgProjectUsefulInterface. 4105s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4105s # * 4105s # * 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. 4105s # * 4105s # * This method will free @invocation, you cannot use it afterwards. 4105s # */ 4105s # void 4105s # org_project_useful_interface_complete_single_arg_method_asv ( 4105s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4105s # GDBusMethodInvocation *invocation) 4105s # { 4105s # g_dbus_method_invocation_return_value (invocation, 4105s # g_variant_new ("()")); 4105s # } 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxy: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceProxyClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceProxyPrivate 4105s # { 4105s # GData *qdata; 4105s # }; 4105s # 4105s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_proxy_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4105s # g_datalist_clear (&proxy->priv->qdata); 4105s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4105s # guint prop_id G_GNUC_UNUSED, 4105s # const GValue *value G_GNUC_UNUSED, 4105s # GParamSpec *pspec G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4105s # const gchar *sender_name G_GNUC_UNUSED, 4105s # const gchar *signal_name, 4105s # GVariant *parameters) 4105s # { 4105s # _ExtendedGDBusSignalInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # gsize n; 4105s # guint signal_id; 4105s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4105s # if (info == NULL) 4105s # return; 4105s # num_params = g_variant_n_children (parameters); 4105s # paramv = g_new0 (GValue, num_params + 1); 4105s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[0], proxy); 4105s # g_variant_iter_init (&iter, parameters); 4105s # n = 1; 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_signal_emitv (paramv, signal_id, 0, NULL); 4105s # for (n = 0; n < num_params + 1; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4105s # GVariant *changed_properties, 4105s # const gchar *const *invalidated_properties) 4105s # { 4105s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4105s # guint n; 4105s # const gchar *key; 4105s # GVariantIter *iter; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # g_variant_get (changed_properties, "a{sv}", &iter); 4105s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4105s # g_datalist_remove_data (&proxy->priv->qdata, key); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # g_variant_iter_free (iter); 4105s # for (n = 0; invalidated_properties[n] != NULL; n++) 4105s # { 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4105s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4105s # if (info != NULL) 4105s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4105s # } 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4105s # #else 4105s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4105s # #endif 4105s # 4105s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusProxyClass *proxy_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4105s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4105s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4105s # 4105s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4105s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4105s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_sync: 4105s # * @connection: A #GDBusConnection. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_sync ( 4105s # GDBusConnection *connection, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4105s # * @user_data: User data to pass to @callback. 4105s # * 4105s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4105s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4105s # */ 4105s # void 4105s # org_project_useful_interface_proxy_new_for_bus ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GAsyncReadyCallback callback, 4105s # gpointer user_data) 4105s # { 4105s # g_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); 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_finish: 4105s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_finish ( 4105s # GAsyncResult *res, 4105s # GError **error) 4105s # { 4105s # GObject *ret; 4105s # GObject *source_object; 4105s # source_object = g_async_result_get_source_object (res); 4105s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4105s # g_object_unref (source_object); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_proxy_new_for_bus_sync: 4105s # * @bus_type: A #GBusType. 4105s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4105s # * @name: A bus name (well-known or unique). 4105s # * @object_path: An object path. 4105s # * @cancellable: (nullable): A #GCancellable or %NULL. 4105s # * @error: Return location for error or %NULL 4105s # * 4105s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4105s # * 4105s # * The calling thread is blocked until a reply is received. 4105s # * 4105s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_proxy_new_for_bus_sync ( 4105s # GBusType bus_type, 4105s # GDBusProxyFlags flags, 4105s # const gchar *name, 4105s # const gchar *object_path, 4105s # GCancellable *cancellable, 4105s # GError **error) 4105s # { 4105s # GInitable *ret; 4105s # 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); 4105s # if (ret != NULL) 4105s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4105s # else 4105s # return NULL; 4105s # } 4105s # 4105s # 4105s # /* ------------------------------------------------------------------------ */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeleton: 4105s # * 4105s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4105s # */ 4105s # 4105s # /** 4105s # * OrgProjectUsefulInterfaceSkeletonClass: 4105s # * @parent_class: The parent class. 4105s # * 4105s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4105s # */ 4105s # 4105s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4105s # { 4105s # GValue *properties; 4105s # GList *changed_properties; 4105s # GSource *changed_properties_idle_source; 4105s # GMainContext *context; 4105s # GMutex lock; 4105s # }; 4105s # 4105s # static void 4105s # _org_project_useful_interface_skeleton_handle_method_call ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name, 4105s # const gchar *method_name, 4105s # GVariant *parameters, 4105s # GDBusMethodInvocation *invocation, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # _ExtendedGDBusMethodInfo *info; 4105s # GVariantIter iter; 4105s # GVariant *child; 4105s # GValue *paramv; 4105s # gsize num_params; 4105s # guint num_extra; 4105s # gsize n; 4105s # guint signal_id; 4105s # GValue return_value = G_VALUE_INIT; 4105s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4105s # g_assert (info != NULL); 4105s # num_params = g_variant_n_children (parameters); 4105s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4105s # n = 0; 4105s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_set_object (¶mv[n++], skeleton); 4105s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4105s # g_value_set_object (¶mv[n++], invocation); 4105s # if (info->pass_fdlist) 4105s # { 4105s # #ifdef G_OS_UNIX 4105s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4105s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4105s # #else 4105s # g_assert_not_reached (); 4105s # #endif 4105s # } 4105s # g_variant_iter_init (&iter, parameters); 4105s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4105s # { 4105s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4105s # if (arg_info->use_gvariant) 4105s # { 4105s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4105s # g_value_set_variant (¶mv[n], child); 4105s # n++; 4105s # } 4105s # else 4105s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4105s # g_variant_unref (child); 4105s # } 4105s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4105s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4105s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4105s # if (!g_value_get_boolean (&return_value)) 4105s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4105s # g_value_unset (&return_value); 4105s # for (n = 0; n < num_params + num_extra; n++) 4105s # g_value_unset (¶mv[n]); 4105s # g_free (paramv); 4105s # } 4105s # 4105s # static GVariant * 4105s # _org_project_useful_interface_skeleton_handle_get_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # GVariant *ret; 4105s # ret = NULL; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # g_value_init (&value, pspec->value_type); 4105s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4105s # g_value_unset (&value); 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static gboolean 4105s # _org_project_useful_interface_skeleton_handle_set_property ( 4105s # GDBusConnection *connection G_GNUC_UNUSED, 4105s # const gchar *sender G_GNUC_UNUSED, 4105s # const gchar *object_path G_GNUC_UNUSED, 4105s # const gchar *interface_name G_GNUC_UNUSED, 4105s # const gchar *property_name, 4105s # GVariant *variant, 4105s # GError **error, 4105s # gpointer user_data) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4105s # GValue value = G_VALUE_INIT; 4105s # GParamSpec *pspec; 4105s # _ExtendedGDBusPropertyInfo *info; 4105s # gboolean ret; 4105s # ret = FALSE; 4105s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4105s # g_assert (info != NULL); 4105s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4105s # if (pspec == NULL) 4105s # { 4105s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4105s # } 4105s # else 4105s # { 4105s # if (info->use_gvariant) 4105s # g_value_set_variant (&value, variant); 4105s # else 4105s # g_dbus_gvariant_to_gvalue (variant, &value); 4105s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4105s # g_value_unset (&value); 4105s # ret = TRUE; 4105s # } 4105s # return ret; 4105s # } 4105s # 4105s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4105s # { 4105s # _org_project_useful_interface_skeleton_handle_method_call, 4105s # _org_project_useful_interface_skeleton_handle_get_property, 4105s # _org_project_useful_interface_skeleton_handle_set_property, 4105s # {NULL} 4105s # }; 4105s # 4105s # static GDBusInterfaceInfo * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return org_project_useful_interface_interface_info (); 4105s # } 4105s # 4105s # static GDBusInterfaceVTable * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4105s # { 4105s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4105s # } 4105s # 4105s # static GVariant * 4105s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4105s # 4105s # GVariantBuilder builder; 4105s # guint n; 4105s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4105s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4105s # goto out; 4105s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4105s # { 4105s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4105s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4105s # { 4105s # GVariant *value; 4105s # 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); 4105s # if (value != NULL) 4105s # { 4105s # g_variant_take_ref (value); 4105s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4105s # g_variant_unref (value); 4105s # } 4105s # } 4105s # } 4105s # out: 4105s # return g_variant_builder_end (&builder); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #else 4105s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4105s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4105s # 4105s # #endif 4105s # static void 4105s # org_project_useful_interface_skeleton_finalize (GObject *object) 4105s # { 4105s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4105s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4105s # if (skeleton->priv->changed_properties_idle_source != NULL) 4105s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4105s # g_main_context_unref (skeleton->priv->context); 4105s # g_mutex_clear (&skeleton->priv->lock); 4105s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4105s # { 4105s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4105s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4105s # #else 4105s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4105s # #endif 4105s # 4105s # g_mutex_init (&skeleton->priv->lock); 4105s # skeleton->priv->context = g_main_context_ref_thread_default (); 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4105s # { 4105s # GObjectClass *gobject_class; 4105s # GDBusInterfaceSkeletonClass *skeleton_class; 4105s # 4105s # gobject_class = G_OBJECT_CLASS (klass); 4105s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4105s # 4105s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4105s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4105s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4105s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4105s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4105s # 4105s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4105s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4105s # #endif 4105s # } 4105s # 4105s # static void 4105s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4105s # { 4105s # } 4105s # 4105s # /** 4105s # * org_project_useful_interface_skeleton_new: 4105s # * 4105s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4105s # * 4105s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4105s # */ 4105s # OrgProjectUsefulInterface * 4105s # org_project_useful_interface_skeleton_new (void) 4105s # { 4105s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4105s # } 4107s # Executing: glib/codegen.py.test 4107s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 4107s # tmpdir: /tmp/tmpafs3soxw 4107s # codegen: /usr/bin/gdbus-codegen 4107s # /tmp/tmpafs3soxw/tmpwtksht49.xml: 4107s # 4107s # 4107s # 4107s # 4107s # 4107s # 4107s # 4107s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmpwtksht49.xml', '--output', '-', '--body'] 4107s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4107s # Output: /* 4107s # * This file is generated by gdbus-codegen, do not modify it. 4107s # * 4107s # * The license of this code is the same as for the D-Bus interface description 4107s # * it was derived from. Note that it links to GLib, so must comply with the 4107s # * LGPL linking clauses. 4107s # */ 4107s # 4107s # #ifdef HAVE_CONFIG_H 4107s # # include "config.h" 4107s # #endif 4107s # 4107s # #include 4107s # #ifdef G_OS_UNIX 4107s # # include 4107s # #endif 4107s # 4107s # #ifdef G_ENABLE_DEBUG 4107s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4107s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4107s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4107s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4107s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4107s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4107s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4107s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4107s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4107s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4107s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4107s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4107s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4107s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4107s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4107s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4107s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4107s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4107s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4107s # #else /* !G_ENABLE_DEBUG */ 4107s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4107s # * Do not access GValues directly in your code. Instead, use the 4107s # * g_value_get_*() functions 4107s # */ 4107s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4107s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4107s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4107s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4107s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4107s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4107s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4107s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4107s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4107s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4107s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4107s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4107s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4107s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4107s # #endif /* !G_ENABLE_DEBUG */ 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusArgInfo parent_struct; 4107s # gboolean use_gvariant; 4107s # } _ExtendedGDBusArgInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusMethodInfo parent_struct; 4107s # const gchar *signal_name; 4107s # gboolean pass_fdlist; 4107s # } _ExtendedGDBusMethodInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusSignalInfo parent_struct; 4107s # const gchar *signal_name; 4107s # } _ExtendedGDBusSignalInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusPropertyInfo parent_struct; 4107s # const gchar *hyphen_name; 4107s # guint use_gvariant : 1; 4107s # guint emits_changed_signal : 1; 4107s # } _ExtendedGDBusPropertyInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusInterfaceInfo parent_struct; 4107s # const gchar *hyphen_name; 4107s # } _ExtendedGDBusInterfaceInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # const _ExtendedGDBusPropertyInfo *info; 4107s # guint prop_id; 4107s # GValue orig_value; /* the value before the change */ 4107s # } ChangedProperty; 4107s # 4107s # static void 4107s # _changed_property_free (ChangedProperty *data) 4107s # { 4107s # g_value_unset (&data->orig_value); 4107s # g_free (data); 4107s # } 4107s # 4107s # static gboolean 4107s # _g_strv_equal0 (gchar **a, gchar **b) 4107s # { 4107s # gboolean ret = FALSE; 4107s # guint n; 4107s # if (a == NULL && b == NULL) 4107s # { 4107s # ret = TRUE; 4107s # goto out; 4107s # } 4107s # if (a == NULL || b == NULL) 4107s # goto out; 4107s # if (g_strv_length (a) != g_strv_length (b)) 4107s # goto out; 4107s # for (n = 0; a[n] != NULL; n++) 4107s # if (g_strcmp0 (a[n], b[n]) != 0) 4107s # goto out; 4107s # ret = TRUE; 4107s # out: 4107s # return ret; 4107s # } 4107s # 4107s # static gboolean 4107s # _g_variant_equal0 (GVariant *a, GVariant *b) 4107s # { 4107s # gboolean ret = FALSE; 4107s # if (a == NULL && b == NULL) 4107s # { 4107s # ret = TRUE; 4107s # goto out; 4107s # } 4107s # if (a == NULL || b == NULL) 4107s # goto out; 4107s # ret = g_variant_equal (a, b); 4107s # out: 4107s # return ret; 4107s # } 4107s # 4107s # G_GNUC_UNUSED static gboolean 4107s # _g_value_equal (const GValue *a, const GValue *b) 4107s # { 4107s # gboolean ret = FALSE; 4107s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4107s # switch (G_VALUE_TYPE (a)) 4107s # { 4107s # case G_TYPE_BOOLEAN: 4107s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4107s # break; 4107s # case G_TYPE_UCHAR: 4107s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4107s # break; 4107s # case G_TYPE_INT: 4107s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4107s # break; 4107s # case G_TYPE_UINT: 4107s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4107s # break; 4107s # case G_TYPE_INT64: 4107s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4107s # break; 4107s # case G_TYPE_UINT64: 4107s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4107s # break; 4107s # case G_TYPE_DOUBLE: 4107s # { 4107s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4107s # gdouble da = g_value_get_double (a); 4107s # gdouble db = g_value_get_double (b); 4107s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4107s # } 4107s # break; 4107s # case G_TYPE_STRING: 4107s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4107s # break; 4107s # case G_TYPE_VARIANT: 4107s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4107s # break; 4107s # default: 4107s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4107s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4107s # else 4107s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4107s # break; 4107s # } 4107s # return ret; 4107s # } 4107s # 4107s # static void 4107s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4107s # GClosure *closure, 4107s # GValue *return_value, 4107s # unsigned int n_param_values, 4107s # const GValue *param_values, 4107s # void *invocation_hint G_GNUC_UNUSED, 4107s # void *marshal_data) 4107s # { 4107s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4107s # (void *data1, 4107s # GDBusMethodInvocation *arg_method_invocation, 4107s # void *data2); 4107s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4107s # GCClosure *cc = (GCClosure*) closure; 4107s # void *data1, *data2; 4107s # gboolean v_return; 4107s # 4107s # g_return_if_fail (return_value != NULL); 4107s # g_return_if_fail (n_param_values == 2); 4107s # 4107s # if (G_CCLOSURE_SWAP_DATA (closure)) 4107s # { 4107s # data1 = closure->data; 4107s # data2 = g_value_peek_pointer (param_values + 0); 4107s # } 4107s # else 4107s # { 4107s # data1 = g_value_peek_pointer (param_values + 0); 4107s # data2 = closure->data; 4107s # } 4107s # 4107s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4107s # (marshal_data ? marshal_data : cc->callback); 4107s # 4107s # v_return = 4107s # callback (data1, 4107s # g_marshal_value_peek_object (param_values + 1), 4107s # data2); 4107s # 4107s # g_value_set_boolean (return_value, v_return); 4107s # } 4107s # 4107s # /* ------------------------------------------------------------------------ 4107s # * Code for interface org.project.UsefulInterface 4107s # * ------------------------------------------------------------------------ 4107s # */ 4107s # 4107s # /** 4107s # * SECTION:OrgProjectUsefulInterface 4107s # * @title: OrgProjectUsefulInterface 4107s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4107s # * 4107s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4107s # */ 4107s # 4107s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4107s # 4107s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 4107s # { 4107s # { 4107s # -1, 4107s # (gchar *) "arg_b", 4107s # (gchar *) "b", 4107s # NULL 4107s # }, 4107s # FALSE 4107s # }; 4107s # 4107s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 4107s # { 4107s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 4107s # NULL 4107s # }; 4107s # 4107s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 4107s # { 4107s # { 4107s # -1, 4107s # (gchar *) "SingleArgMethodB", 4107s # NULL, 4107s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 4107s # NULL 4107s # }, 4107s # "handle-single-arg-method-b", 4107s # FALSE 4107s # }; 4107s # 4107s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4107s # { 4107s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 4107s # NULL 4107s # }; 4107s # 4107s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4107s # { 4107s # { 4107s # -1, 4107s # (gchar *) "org.project.UsefulInterface", 4107s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4107s # NULL, 4107s # NULL, 4107s # NULL 4107s # }, 4107s # "org-project-useful-interface", 4107s # }; 4107s # 4107s # 4107s # /** 4107s # * org_project_useful_interface_interface_info: 4107s # * 4107s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4107s # * 4107s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4107s # */ 4107s # GDBusInterfaceInfo * 4107s # org_project_useful_interface_interface_info (void) 4107s # { 4107s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_override_properties: 4107s # * @klass: The class structure for a #GObject derived class. 4107s # * @property_id_begin: The property id to assign to the first overridden property. 4107s # * 4107s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4107s # * The properties are overridden in the order they are defined. 4107s # * 4107s # * Returns: The last property id. 4107s # */ 4107s # guint 4107s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4107s # { 4107s # return property_id_begin - 1; 4107s # } 4107s # 4107s # 4107s # inline static void 4107s # org_project_useful_interface_method_marshal_single_arg_method_b ( 4107s # GClosure *closure, 4107s # GValue *return_value, 4107s # unsigned int n_param_values, 4107s # const GValue *param_values, 4107s # void *invocation_hint, 4107s # void *marshal_data) 4107s # { 4107s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4107s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4107s # } 4107s # 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterface: 4107s # * 4107s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4107s # */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceIface: 4107s # * @parent_iface: The parent interface. 4107s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 4107s # * 4107s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4107s # */ 4107s # 4107s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4107s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4107s # 4107s # static void 4107s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4107s # { 4107s # /* GObject signals for incoming D-Bus method calls: */ 4107s # /** 4107s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 4107s # * @object: A #OrgProjectUsefulInterface. 4107s # * @invocation: A #GDBusMethodInvocation. 4107s # * 4107s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 4107s # * 4107s # * 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. 4107s # * 4107s # * 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. 4107s # */ 4107s # g_signal_new ("handle-single-arg-method-b", 4107s # G_TYPE_FROM_INTERFACE (iface), 4107s # G_SIGNAL_RUN_LAST, 4107s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 4107s # g_signal_accumulator_true_handled, 4107s # NULL, 4107s # org_project_useful_interface_method_marshal_single_arg_method_b, 4107s # G_TYPE_BOOLEAN, 4107s # 1, 4107s # G_TYPE_DBUS_METHOD_INVOCATION); 4107s # 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_call_single_arg_method_b: 4107s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4107s # * @user_data: User data to pass to @callback. 4107s # * 4107s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 4107s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4107s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 4107s # * 4107s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 4107s # */ 4107s # void 4107s # org_project_useful_interface_call_single_arg_method_b ( 4107s # OrgProjectUsefulInterface *proxy, 4107s # GCancellable *cancellable, 4107s # GAsyncReadyCallback callback, 4107s # gpointer user_data) 4107s # { 4107s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4107s # "SingleArgMethodB", 4107s # g_variant_new ("()"), 4107s # G_DBUS_CALL_FLAGS_NONE, 4107s # -1, 4107s # cancellable, 4107s # callback, 4107s # user_data); 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_call_single_arg_method_b_finish: 4107s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4107s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 4107s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 4107s # * @error: Return location for error or %NULL. 4107s # * 4107s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 4107s # * 4107s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4107s # */ 4107s # gboolean 4107s # org_project_useful_interface_call_single_arg_method_b_finish ( 4107s # OrgProjectUsefulInterface *proxy, 4107s # gboolean *out_arg_b, 4107s # GAsyncResult *res, 4107s # GError **error) 4107s # { 4107s # GVariant *_ret; 4107s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4107s # if (_ret == NULL) 4107s # goto _out; 4107s # g_variant_get (_ret, 4107s # "(b)", 4107s # out_arg_b); 4107s # g_variant_unref (_ret); 4107s # _out: 4107s # return _ret != NULL; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_call_single_arg_method_b_sync: 4107s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4107s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @error: Return location for error or %NULL. 4107s # * 4107s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4107s # * 4107s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 4107s # * 4107s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4107s # */ 4107s # gboolean 4107s # org_project_useful_interface_call_single_arg_method_b_sync ( 4107s # OrgProjectUsefulInterface *proxy, 4107s # gboolean *out_arg_b, 4107s # GCancellable *cancellable, 4107s # GError **error) 4107s # { 4107s # GVariant *_ret; 4107s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4107s # "SingleArgMethodB", 4107s # g_variant_new ("()"), 4107s # G_DBUS_CALL_FLAGS_NONE, 4107s # -1, 4107s # cancellable, 4107s # error); 4107s # if (_ret == NULL) 4107s # goto _out; 4107s # g_variant_get (_ret, 4107s # "(b)", 4107s # out_arg_b); 4107s # g_variant_unref (_ret); 4107s # _out: 4107s # return _ret != NULL; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_complete_single_arg_method_b: 4107s # * @object: A #OrgProjectUsefulInterface. 4107s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4107s # * @arg_b: Parameter to return. 4107s # * 4107s # * 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. 4107s # * 4107s # * This method will free @invocation, you cannot use it afterwards. 4107s # */ 4107s # void 4107s # org_project_useful_interface_complete_single_arg_method_b ( 4107s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4107s # GDBusMethodInvocation *invocation, 4107s # gboolean arg_b) 4107s # { 4107s # g_dbus_method_invocation_return_value (invocation, 4107s # g_variant_new ("(b)", 4107s # arg_b)); 4107s # } 4107s # 4107s # /* ------------------------------------------------------------------------ */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceProxy: 4107s # * 4107s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4107s # */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceProxyClass: 4107s # * @parent_class: The parent class. 4107s # * 4107s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4107s # */ 4107s # 4107s # struct _OrgProjectUsefulInterfaceProxyPrivate 4107s # { 4107s # GData *qdata; 4107s # }; 4107s # 4107s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4107s # 4107s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4107s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4107s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4107s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4107s # 4107s # #else 4107s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4107s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4107s # 4107s # #endif 4107s # static void 4107s # org_project_useful_interface_proxy_finalize (GObject *object) 4107s # { 4107s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4107s # g_datalist_clear (&proxy->priv->qdata); 4107s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4107s # guint prop_id G_GNUC_UNUSED, 4107s # GValue *value G_GNUC_UNUSED, 4107s # GParamSpec *pspec G_GNUC_UNUSED) 4107s # { 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4107s # guint prop_id G_GNUC_UNUSED, 4107s # const GValue *value G_GNUC_UNUSED, 4107s # GParamSpec *pspec G_GNUC_UNUSED) 4107s # { 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4107s # const gchar *sender_name G_GNUC_UNUSED, 4107s # const gchar *signal_name, 4107s # GVariant *parameters) 4107s # { 4107s # _ExtendedGDBusSignalInfo *info; 4107s # GVariantIter iter; 4107s # GVariant *child; 4107s # GValue *paramv; 4107s # gsize num_params; 4107s # gsize n; 4107s # guint signal_id; 4107s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4107s # if (info == NULL) 4107s # return; 4107s # num_params = g_variant_n_children (parameters); 4107s # paramv = g_new0 (GValue, num_params + 1); 4107s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4107s # g_value_set_object (¶mv[0], proxy); 4107s # g_variant_iter_init (&iter, parameters); 4107s # n = 1; 4107s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4107s # { 4107s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4107s # if (arg_info->use_gvariant) 4107s # { 4107s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4107s # g_value_set_variant (¶mv[n], child); 4107s # n++; 4107s # } 4107s # else 4107s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4107s # g_variant_unref (child); 4107s # } 4107s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4107s # g_signal_emitv (paramv, signal_id, 0, NULL); 4107s # for (n = 0; n < num_params + 1; n++) 4107s # g_value_unset (¶mv[n]); 4107s # g_free (paramv); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4107s # GVariant *changed_properties, 4107s # const gchar *const *invalidated_properties) 4107s # { 4107s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4107s # guint n; 4107s # const gchar *key; 4107s # GVariantIter *iter; 4107s # _ExtendedGDBusPropertyInfo *info; 4107s # g_variant_get (changed_properties, "a{sv}", &iter); 4107s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4107s # { 4107s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4107s # g_datalist_remove_data (&proxy->priv->qdata, key); 4107s # if (info != NULL) 4107s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4107s # } 4107s # g_variant_iter_free (iter); 4107s # for (n = 0; invalidated_properties[n] != NULL; n++) 4107s # { 4107s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4107s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4107s # if (info != NULL) 4107s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4107s # } 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4107s # { 4107s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4107s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4107s # #else 4107s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4107s # #endif 4107s # 4107s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4107s # { 4107s # GObjectClass *gobject_class; 4107s # GDBusProxyClass *proxy_class; 4107s # 4107s # gobject_class = G_OBJECT_CLASS (klass); 4107s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4107s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4107s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4107s # 4107s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4107s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4107s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4107s # 4107s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4107s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4107s # #endif 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4107s # { 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new: 4107s # * @connection: A #GDBusConnection. 4107s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4107s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4107s # * @object_path: An object path. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4107s # * @user_data: User data to pass to @callback. 4107s # * 4107s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4107s # * 4107s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4107s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4107s # * 4107s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4107s # */ 4107s # void 4107s # org_project_useful_interface_proxy_new ( 4107s # GDBusConnection *connection, 4107s # GDBusProxyFlags flags, 4107s # const gchar *name, 4107s # const gchar *object_path, 4107s # GCancellable *cancellable, 4107s # GAsyncReadyCallback callback, 4107s # gpointer user_data) 4107s # { 4107s # g_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); 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new_finish: 4107s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4107s # * @error: Return location for error or %NULL 4107s # * 4107s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4107s # * 4107s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4107s # */ 4107s # OrgProjectUsefulInterface * 4107s # org_project_useful_interface_proxy_new_finish ( 4107s # GAsyncResult *res, 4107s # GError **error) 4107s # { 4107s # GObject *ret; 4107s # GObject *source_object; 4107s # source_object = g_async_result_get_source_object (res); 4107s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4107s # g_object_unref (source_object); 4107s # if (ret != NULL) 4107s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4107s # else 4107s # return NULL; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new_sync: 4107s # * @connection: A #GDBusConnection. 4107s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4107s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4107s # * @object_path: An object path. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @error: Return location for error or %NULL 4107s # * 4107s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4107s # * 4107s # * The calling thread is blocked until a reply is received. 4107s # * 4107s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4107s # * 4107s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4107s # */ 4107s # OrgProjectUsefulInterface * 4107s # org_project_useful_interface_proxy_new_sync ( 4107s # GDBusConnection *connection, 4107s # GDBusProxyFlags flags, 4107s # const gchar *name, 4107s # const gchar *object_path, 4107s # GCancellable *cancellable, 4107s # GError **error) 4107s # { 4107s # GInitable *ret; 4107s # 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); 4107s # if (ret != NULL) 4107s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4107s # else 4107s # return NULL; 4107s # } 4107s # 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new_for_bus: 4107s # * @bus_type: A #GBusType. 4107s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4107s # * @name: A bus name (well-known or unique). 4107s # * @object_path: An object path. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4107s # * @user_data: User data to pass to @callback. 4107s # * 4107s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4107s # * 4107s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4107s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4107s # * 4107s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4107s # */ 4107s # void 4107s # org_project_useful_interface_proxy_new_for_bus ( 4107s # GBusType bus_type, 4107s # GDBusProxyFlags flags, 4107s # const gchar *name, 4107s # const gchar *object_path, 4107s # GCancellable *cancellable, 4107s # GAsyncReadyCallback callback, 4107s # gpointer user_data) 4107s # { 4107s # g_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); 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new_for_bus_finish: 4107s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4107s # * @error: Return location for error or %NULL 4107s # * 4107s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4107s # * 4107s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4107s # */ 4107s # OrgProjectUsefulInterface * 4107s # org_project_useful_interface_proxy_new_for_bus_finish ( 4107s # GAsyncResult *res, 4107s # GError **error) 4107s # { 4107s # GObject *ret; 4107s # GObject *source_object; 4107s # source_object = g_async_result_get_source_object (res); 4107s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4107s # g_object_unref (source_object); 4107s # if (ret != NULL) 4107s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4107s # else 4107s # return NULL; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new_for_bus_sync: 4107s # * @bus_type: A #GBusType. 4107s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4107s # * @name: A bus name (well-known or unique). 4107s # * @object_path: An object path. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @error: Return location for error or %NULL 4107s # * 4107s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4107s # * 4107s # * The calling thread is blocked until a reply is received. 4107s # * 4107s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4107s # * 4107s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4107s # */ 4107s # OrgProjectUsefulInterface * 4107s # org_project_useful_interface_proxy_new_for_bus_sync ( 4107s # GBusType bus_type, 4107s # GDBusProxyFlags flags, 4107s # const gchar *name, 4107s # const gchar *object_path, 4107s # GCancellable *cancellable, 4107s # GError **error) 4107s # { 4107s # GInitable *ret; 4107s # 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); 4107s # if (ret != NULL) 4107s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4107s # else 4107s # return NULL; 4107s # } 4107s # 4107s # 4107s # /* ------------------------------------------------------------------------ */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceSkeleton: 4107s # * 4107s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4107s # */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceSkeletonClass: 4107s # * @parent_class: The parent class. 4107s # * 4107s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4107s # */ 4107s # 4107s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4107s # { 4107s # GValue *properties; 4107s # GList *changed_properties; 4107s # GSource *changed_properties_idle_source; 4107s # GMainContext *context; 4107s # GMutex lock; 4107s # }; 4107s # 4107s # static void 4107s # _org_project_useful_interface_skeleton_handle_method_call ( 4107s # GDBusConnection *connection G_GNUC_UNUSED, 4107s # const gchar *sender G_GNUC_UNUSED, 4107s # const gchar *object_path G_GNUC_UNUSED, 4107s # const gchar *interface_name, 4107s # const gchar *method_name, 4107s # GVariant *parameters, 4107s # GDBusMethodInvocation *invocation, 4107s # gpointer user_data) 4107s # { 4107s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4107s # _ExtendedGDBusMethodInfo *info; 4107s # GVariantIter iter; 4107s # GVariant *child; 4107s # GValue *paramv; 4107s # gsize num_params; 4107s # guint num_extra; 4107s # gsize n; 4107s # guint signal_id; 4107s # GValue return_value = G_VALUE_INIT; 4107s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4107s # g_assert (info != NULL); 4107s # num_params = g_variant_n_children (parameters); 4107s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4107s # n = 0; 4107s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4107s # g_value_set_object (¶mv[n++], skeleton); 4107s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4107s # g_value_set_object (¶mv[n++], invocation); 4107s # if (info->pass_fdlist) 4107s # { 4107s # #ifdef G_OS_UNIX 4107s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4107s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4107s # #else 4107s # g_assert_not_reached (); 4107s # #endif 4107s # } 4107s # g_variant_iter_init (&iter, parameters); 4107s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4107s # { 4107s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4107s # if (arg_info->use_gvariant) 4107s # { 4107s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4107s # g_value_set_variant (¶mv[n], child); 4107s # n++; 4107s # } 4107s # else 4107s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4107s # g_variant_unref (child); 4107s # } 4107s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4107s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4107s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4107s # if (!g_value_get_boolean (&return_value)) 4107s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4107s # g_value_unset (&return_value); 4107s # for (n = 0; n < num_params + num_extra; n++) 4107s # g_value_unset (¶mv[n]); 4107s # g_free (paramv); 4107s # } 4107s # 4107s # static GVariant * 4107s # _org_project_useful_interface_skeleton_handle_get_property ( 4107s # GDBusConnection *connection G_GNUC_UNUSED, 4107s # const gchar *sender G_GNUC_UNUSED, 4107s # const gchar *object_path G_GNUC_UNUSED, 4107s # const gchar *interface_name G_GNUC_UNUSED, 4107s # const gchar *property_name, 4107s # GError **error, 4107s # gpointer user_data) 4107s # { 4107s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4107s # GValue value = G_VALUE_INIT; 4107s # GParamSpec *pspec; 4107s # _ExtendedGDBusPropertyInfo *info; 4107s # GVariant *ret; 4107s # ret = NULL; 4107s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4107s # g_assert (info != NULL); 4107s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4107s # if (pspec == NULL) 4107s # { 4107s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4107s # } 4107s # else 4107s # { 4107s # g_value_init (&value, pspec->value_type); 4107s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4107s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4107s # g_value_unset (&value); 4107s # } 4107s # return ret; 4107s # } 4107s # 4107s # static gboolean 4107s # _org_project_useful_interface_skeleton_handle_set_property ( 4107s # GDBusConnection *connection G_GNUC_UNUSED, 4107s # const gchar *sender G_GNUC_UNUSED, 4107s # const gchar *object_path G_GNUC_UNUSED, 4107s # const gchar *interface_name G_GNUC_UNUSED, 4107s # const gchar *property_name, 4107s # GVariant *variant, 4107s # GError **error, 4107s # gpointer user_data) 4107s # { 4107s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4107s # GValue value = G_VALUE_INIT; 4107s # GParamSpec *pspec; 4107s # _ExtendedGDBusPropertyInfo *info; 4107s # gboolean ret; 4107s # ret = FALSE; 4107s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4107s # g_assert (info != NULL); 4107s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4107s # if (pspec == NULL) 4107s # { 4107s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4107s # } 4107s # else 4107s # { 4107s # if (info->use_gvariant) 4107s # g_value_set_variant (&value, variant); 4107s # else 4107s # g_dbus_gvariant_to_gvalue (variant, &value); 4107s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4107s # g_value_unset (&value); 4107s # ret = TRUE; 4107s # } 4107s # return ret; 4107s # } 4107s # 4107s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4107s # { 4107s # _org_project_useful_interface_skeleton_handle_method_call, 4107s # _org_project_useful_interface_skeleton_handle_get_property, 4107s # _org_project_useful_interface_skeleton_handle_set_property, 4107s # {NULL} 4107s # }; 4107s # 4107s # static GDBusInterfaceInfo * 4107s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4107s # { 4107s # return org_project_useful_interface_interface_info (); 4107s # } 4107s # 4107s # static GDBusInterfaceVTable * 4107s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4107s # { 4107s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4107s # } 4107s # 4107s # static GVariant * 4107s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4107s # { 4107s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4107s # 4107s # GVariantBuilder builder; 4107s # guint n; 4107s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4107s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4107s # goto out; 4107s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4107s # { 4107s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4107s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4107s # { 4107s # GVariant *value; 4107s # 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); 4107s # if (value != NULL) 4107s # { 4107s # g_variant_take_ref (value); 4107s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4107s # g_variant_unref (value); 4107s # } 4107s # } 4107s # } 4107s # out: 4107s # return g_variant_builder_end (&builder); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4107s # { 4107s # } 4107s # 4107s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4107s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4107s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4107s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4107s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4107s # 4107s # #else 4107s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4107s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4107s # 4107s # #endif 4107s # static void 4107s # org_project_useful_interface_skeleton_finalize (GObject *object) 4107s # { 4107s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4107s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4107s # if (skeleton->priv->changed_properties_idle_source != NULL) 4107s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4107s # g_main_context_unref (skeleton->priv->context); 4107s # g_mutex_clear (&skeleton->priv->lock); 4107s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4107s # { 4107s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4107s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4107s # #else 4107s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4107s # #endif 4107s # 4107s # g_mutex_init (&skeleton->priv->lock); 4107s # skeleton->priv->context = g_main_context_ref_thread_default (); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4107s # { 4107s # GObjectClass *gobject_class; 4107s # GDBusInterfaceSkeletonClass *skeleton_class; 4107s # 4107s # gobject_class = G_OBJECT_CLASS (klass); 4107s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4107s # 4107s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4107s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4107s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4107s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4107s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4107s # 4107s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4107s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4107s # #endif 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4107s # { 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_skeleton_new: 4107s # * 4107s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4107s # * 4107s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4107s # */ 4107s # OrgProjectUsefulInterface * 4107s # org_project_useful_interface_skeleton_new (void) 4107s # { 4107s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4107s # } 4107s # /tmp/tmpafs3soxw/tmp097gxak5.xml: 4107s # 4107s # 4107s # 4107s # 4107s # 4107s # 4107s # 4107s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmp097gxak5.xml', '--output', '-', '--body'] 4107s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4107s # Output: /* 4107s # * This file is generated by gdbus-codegen, do not modify it. 4107s # * 4107s # * The license of this code is the same as for the D-Bus interface description 4107s # * it was derived from. Note that it links to GLib, so must comply with the 4107s # * LGPL linking clauses. 4107s # */ 4107s # 4107s # #ifdef HAVE_CONFIG_H 4107s # # include "config.h" 4107s # #endif 4107s # 4107s # #include 4107s # #ifdef G_OS_UNIX 4107s # # include 4107s # #endif 4107s # 4107s # #ifdef G_ENABLE_DEBUG 4107s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4107s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4107s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4107s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4107s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4107s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4107s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4107s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4107s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4107s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4107s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4107s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4107s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4107s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4107s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4107s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4107s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4107s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4107s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4107s # #else /* !G_ENABLE_DEBUG */ 4107s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4107s # * Do not access GValues directly in your code. Instead, use the 4107s # * g_value_get_*() functions 4107s # */ 4107s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4107s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4107s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4107s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4107s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4107s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4107s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4107s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4107s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4107s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4107s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4107s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4107s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4107s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4107s # #endif /* !G_ENABLE_DEBUG */ 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusArgInfo parent_struct; 4107s # gboolean use_gvariant; 4107s # } _ExtendedGDBusArgInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusMethodInfo parent_struct; 4107s # const gchar *signal_name; 4107s # gboolean pass_fdlist; 4107s # } _ExtendedGDBusMethodInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusSignalInfo parent_struct; 4107s # const gchar *signal_name; 4107s # } _ExtendedGDBusSignalInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusPropertyInfo parent_struct; 4107s # const gchar *hyphen_name; 4107s # guint use_gvariant : 1; 4107s # guint emits_changed_signal : 1; 4107s # } _ExtendedGDBusPropertyInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusInterfaceInfo parent_struct; 4107s # const gchar *hyphen_name; 4107s # } _ExtendedGDBusInterfaceInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # const _ExtendedGDBusPropertyInfo *info; 4107s # guint prop_id; 4107s # GValue orig_value; /* the value before the change */ 4107s # } ChangedProperty; 4107s # 4107s # static void 4107s # _changed_property_free (ChangedProperty *data) 4107s # { 4107s # g_value_unset (&data->orig_value); 4107s # g_free (data); 4107s # } 4107s # 4107s # static gboolean 4107s # _g_strv_equal0 (gchar **a, gchar **b) 4107s # { 4107s # gboolean ret = FALSE; 4107s # guint n; 4107s # if (a == NULL && b == NULL) 4107s # { 4107s # ret = TRUE; 4107s # goto out; 4107s # } 4107s # if (a == NULL || b == NULL) 4107s # goto out; 4107s # if (g_strv_length (a) != g_strv_length (b)) 4107s # goto out; 4107s # for (n = 0; a[n] != NULL; n++) 4107s # if (g_strcmp0 (a[n], b[n]) != 0) 4107s # goto out; 4107s # ret = TRUE; 4107s # out: 4107s # return ret; 4107s # } 4107s # 4107s # static gboolean 4107s # _g_variant_equal0 (GVariant *a, GVariant *b) 4107s # { 4107s # gboolean ret = FALSE; 4107s # if (a == NULL && b == NULL) 4107s # { 4107s # ret = TRUE; 4107s # goto out; 4107s # } 4107s # if (a == NULL || b == NULL) 4107s # goto out; 4107s # ret = g_variant_equal (a, b); 4107s # out: 4107s # return ret; 4107s # } 4107s # 4107s # G_GNUC_UNUSED static gboolean 4107s # _g_value_equal (const GValue *a, const GValue *b) 4107s # { 4107s # gboolean ret = FALSE; 4107s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4107s # switch (G_VALUE_TYPE (a)) 4107s # { 4107s # case G_TYPE_BOOLEAN: 4107s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4107s # break; 4107s # case G_TYPE_UCHAR: 4107s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4107s # break; 4107s # case G_TYPE_INT: 4107s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4107s # break; 4107s # case G_TYPE_UINT: 4107s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4107s # break; 4107s # case G_TYPE_INT64: 4107s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4107s # break; 4107s # case G_TYPE_UINT64: 4107s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4107s # break; 4107s # case G_TYPE_DOUBLE: 4107s # { 4107s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4107s # gdouble da = g_value_get_double (a); 4107s # gdouble db = g_value_get_double (b); 4107s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4107s # } 4107s # break; 4107s # case G_TYPE_STRING: 4107s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4107s # break; 4107s # case G_TYPE_VARIANT: 4107s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4107s # break; 4107s # default: 4107s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4107s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4107s # else 4107s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4107s # break; 4107s # } 4107s # return ret; 4107s # } 4107s # 4107s # static void 4107s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4107s # GClosure *closure, 4107s # GValue *return_value, 4107s # unsigned int n_param_values, 4107s # const GValue *param_values, 4107s # void *invocation_hint G_GNUC_UNUSED, 4107s # void *marshal_data) 4107s # { 4107s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4107s # (void *data1, 4107s # GDBusMethodInvocation *arg_method_invocation, 4107s # void *data2); 4107s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4107s # GCClosure *cc = (GCClosure*) closure; 4107s # void *data1, *data2; 4107s # gboolean v_return; 4107s # 4107s # g_return_if_fail (return_value != NULL); 4107s # g_return_if_fail (n_param_values == 2); 4107s # 4107s # if (G_CCLOSURE_SWAP_DATA (closure)) 4107s # { 4107s # data1 = closure->data; 4107s # data2 = g_value_peek_pointer (param_values + 0); 4107s # } 4107s # else 4107s # { 4107s # data1 = g_value_peek_pointer (param_values + 0); 4107s # data2 = closure->data; 4107s # } 4107s # 4107s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4107s # (marshal_data ? marshal_data : cc->callback); 4107s # 4107s # v_return = 4107s # callback (data1, 4107s # g_marshal_value_peek_object (param_values + 1), 4107s # data2); 4107s # 4107s # g_value_set_boolean (return_value, v_return); 4107s # } 4107s # 4107s # /* ------------------------------------------------------------------------ 4107s # * Code for interface org.project.UsefulInterface 4107s # * ------------------------------------------------------------------------ 4107s # */ 4107s # 4107s # /** 4107s # * SECTION:OrgProjectUsefulInterface 4107s # * @title: OrgProjectUsefulInterface 4107s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4107s # * 4107s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4107s # */ 4107s # 4107s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4107s # 4107s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 4107s # { 4107s # { 4107s # -1, 4107s # (gchar *) "arg_y", 4107s # (gchar *) "y", 4107s # NULL 4107s # }, 4107s # FALSE 4107s # }; 4107s # 4107s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 4107s # { 4107s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 4107s # NULL 4107s # }; 4107s # 4107s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 4107s # { 4107s # { 4107s # -1, 4107s # (gchar *) "SingleArgMethodY", 4107s # NULL, 4107s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 4107s # NULL 4107s # }, 4107s # "handle-single-arg-method-y", 4107s # FALSE 4107s # }; 4107s # 4107s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4107s # { 4107s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 4107s # NULL 4107s # }; 4107s # 4107s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4107s # { 4107s # { 4107s # -1, 4107s # (gchar *) "org.project.UsefulInterface", 4107s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4107s # NULL, 4107s # NULL, 4107s # NULL 4107s # }, 4107s # "org-project-useful-interface", 4107s # }; 4107s # 4107s # 4107s # /** 4107s # * org_project_useful_interface_interface_info: 4107s # * 4107s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4107s # * 4107s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4107s # */ 4107s # GDBusInterfaceInfo * 4107s # org_project_useful_interface_interface_info (void) 4107s # { 4107s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_override_properties: 4107s # * @klass: The class structure for a #GObject derived class. 4107s # * @property_id_begin: The property id to assign to the first overridden property. 4107s # * 4107s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4107s # * The properties are overridden in the order they are defined. 4107s # * 4107s # * Returns: The last property id. 4107s # */ 4107s # guint 4107s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4107s # { 4107s # return property_id_begin - 1; 4107s # } 4107s # 4107s # 4107s # inline static void 4107s # org_project_useful_interface_method_marshal_single_arg_method_y ( 4107s # GClosure *closure, 4107s # GValue *return_value, 4107s # unsigned int n_param_values, 4107s # const GValue *param_values, 4107s # void *invocation_hint, 4107s # void *marshal_data) 4107s # { 4107s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4107s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4107s # } 4107s # 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterface: 4107s # * 4107s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4107s # */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceIface: 4107s # * @parent_iface: The parent interface. 4107s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 4107s # * 4107s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4107s # */ 4107s # 4107s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4107s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4107s # 4107s # static void 4107s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4107s # { 4107s # /* GObject signals for incoming D-Bus method calls: */ 4107s # /** 4107s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 4107s # * @object: A #OrgProjectUsefulInterface. 4107s # * @invocation: A #GDBusMethodInvocation. 4107s # * 4107s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 4107s # * 4107s # * 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. 4107s # * 4107s # * 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. 4107s # */ 4107s # g_signal_new ("handle-single-arg-method-y", 4107s # G_TYPE_FROM_INTERFACE (iface), 4107s # G_SIGNAL_RUN_LAST, 4107s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 4107s # g_signal_accumulator_true_handled, 4107s # NULL, 4107s # org_project_useful_interface_method_marshal_single_arg_method_y, 4107s # G_TYPE_BOOLEAN, 4107s # 1, 4107s # G_TYPE_DBUS_METHOD_INVOCATION); 4107s # 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_call_single_arg_method_y: 4107s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4107s # * @user_data: User data to pass to @callback. 4107s # * 4107s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 4107s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4107s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 4107s # * 4107s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 4107s # */ 4107s # void 4107s # org_project_useful_interface_call_single_arg_method_y ( 4107s # OrgProjectUsefulInterface *proxy, 4107s # GCancellable *cancellable, 4107s # GAsyncReadyCallback callback, 4107s # gpointer user_data) 4107s # { 4107s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4107s # "SingleArgMethodY", 4107s # g_variant_new ("()"), 4107s # G_DBUS_CALL_FLAGS_NONE, 4107s # -1, 4107s # cancellable, 4107s # callback, 4107s # user_data); 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_call_single_arg_method_y_finish: 4107s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4107s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 4107s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 4107s # * @error: Return location for error or %NULL. 4107s # * 4107s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 4107s # * 4107s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4107s # */ 4107s # gboolean 4107s # org_project_useful_interface_call_single_arg_method_y_finish ( 4107s # OrgProjectUsefulInterface *proxy, 4107s # guchar *out_arg_y, 4107s # GAsyncResult *res, 4107s # GError **error) 4107s # { 4107s # GVariant *_ret; 4107s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4107s # if (_ret == NULL) 4107s # goto _out; 4107s # g_variant_get (_ret, 4107s # "(y)", 4107s # out_arg_y); 4107s # g_variant_unref (_ret); 4107s # _out: 4107s # return _ret != NULL; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_call_single_arg_method_y_sync: 4107s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4107s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @error: Return location for error or %NULL. 4107s # * 4107s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4107s # * 4107s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 4107s # * 4107s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4107s # */ 4107s # gboolean 4107s # org_project_useful_interface_call_single_arg_method_y_sync ( 4107s # OrgProjectUsefulInterface *proxy, 4107s # guchar *out_arg_y, 4107s # GCancellable *cancellable, 4107s # GError **error) 4107s # { 4107s # GVariant *_ret; 4107s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4107s # "SingleArgMethodY", 4107s # g_variant_new ("()"), 4107s # G_DBUS_CALL_FLAGS_NONE, 4107s # -1, 4107s # cancellable, 4107s # error); 4107s # if (_ret == NULL) 4107s # goto _out; 4107s # g_variant_get (_ret, 4107s # "(y)", 4107s # out_arg_y); 4107s # g_variant_unref (_ret); 4107s # _out: 4107s # return _ret != NULL; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_complete_single_arg_method_y: 4107s # * @object: A #OrgProjectUsefulInterface. 4107s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4107s # * @arg_y: Parameter to return. 4107s # * 4107s # * 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. 4107s # * 4107s # * This method will free @invocation, you cannot use it afterwards. 4107s # */ 4107s # void 4107s # org_project_useful_interface_complete_single_arg_method_y ( 4107s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4107s # GDBusMethodInvocation *invocation, 4107s # guchar arg_y) 4107s # { 4107s # g_dbus_method_invocation_return_value (invocation, 4107s # g_variant_new ("(y)", 4107s # arg_y)); 4107s # } 4107s # 4107s # /* ------------------------------------------------------------------------ */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceProxy: 4107s # * 4107s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4107s # */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceProxyClass: 4107s # * @parent_class: The parent class. 4107s # * 4107s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4107s # */ 4107s # 4107s # struct _OrgProjectUsefulInterfaceProxyPrivate 4107s # { 4107s # GData *qdata; 4107s # }; 4107s # 4107s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4107s # 4107s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4107s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4107s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4107s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4107s # 4107s # #else 4107s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4107s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4107s # 4107s # #endif 4107s # static void 4107s # org_project_useful_interface_proxy_finalize (GObject *object) 4107s # { 4107s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4107s # g_datalist_clear (&proxy->priv->qdata); 4107s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4107s # guint prop_id G_GNUC_UNUSED, 4107s # GValue *value G_GNUC_UNUSED, 4107s # GParamSpec *pspec G_GNUC_UNUSED) 4107s # { 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4107s # guint prop_id G_GNUC_UNUSED, 4107s # const GValue *value G_GNUC_UNUSED, 4107s # GParamSpec *pspec G_GNUC_UNUSED) 4107s # { 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4107s # const gchar *sender_name G_GNUC_UNUSED, 4107s # const gchar *signal_name, 4107s # GVariant *parameters) 4107s # { 4107s # _ExtendedGDBusSignalInfo *info; 4107s # GVariantIter iter; 4107s # GVariant *child; 4107s # GValue *paramv; 4107s # gsize num_params; 4107s # gsize n; 4107s # guint signal_id; 4107s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4107s # if (info == NULL) 4107s # return; 4107s # num_params = g_variant_n_children (parameters); 4107s # paramv = g_new0 (GValue, num_params + 1); 4107s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4107s # g_value_set_object (¶mv[0], proxy); 4107s # g_variant_iter_init (&iter, parameters); 4107s # n = 1; 4107s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4107s # { 4107s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4107s # if (arg_info->use_gvariant) 4107s # { 4107s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4107s # g_value_set_variant (¶mv[n], child); 4107s # n++; 4107s # } 4107s # else 4107s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4107s # g_variant_unref (child); 4107s # } 4107s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4107s # g_signal_emitv (paramv, signal_id, 0, NULL); 4107s # for (n = 0; n < num_params + 1; n++) 4107s # g_value_unset (¶mv[n]); 4107s # g_free (paramv); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4107s # GVariant *changed_properties, 4107s # const gchar *const *invalidated_properties) 4107s # { 4107s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4107s # guint n; 4107s # const gchar *key; 4107s # GVariantIter *iter; 4107s # _ExtendedGDBusPropertyInfo *info; 4107s # g_variant_get (changed_properties, "a{sv}", &iter); 4107s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4107s # { 4107s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4107s # g_datalist_remove_data (&proxy->priv->qdata, key); 4107s # if (info != NULL) 4107s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4107s # } 4107s # g_variant_iter_free (iter); 4107s # for (n = 0; invalidated_properties[n] != NULL; n++) 4107s # { 4107s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4107s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4107s # if (info != NULL) 4107s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4107s # } 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4107s # { 4107s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4107s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4107s # #else 4107s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4107s # #endif 4107s # 4107s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4107s # { 4107s # GObjectClass *gobject_class; 4107s # GDBusProxyClass *proxy_class; 4107s # 4107s # gobject_class = G_OBJECT_CLASS (klass); 4107s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4107s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4107s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4107s # 4107s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4107s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4107s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4107s # 4107s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4107s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4107s # #endif 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4107s # { 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new: 4107s # * @connection: A #GDBusConnection. 4107s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4107s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4107s # * @object_path: An object path. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4107s # * @user_data: User data to pass to @callback. 4107s # * 4107s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4107s # * 4107s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4107s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4107s # * 4107s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4107s # */ 4107s # void 4107s # org_project_useful_interface_proxy_new ( 4107s # GDBusConnection *connection, 4107s # GDBusProxyFlags flags, 4107s # const gchar *name, 4107s # const gchar *object_path, 4107s # GCancellable *cancellable, 4107s # GAsyncReadyCallback callback, 4107s # gpointer user_data) 4107s # { 4107s # g_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); 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new_finish: 4107s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4107s # * @error: Return location for error or %NULL 4107s # * 4107s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4107s # * 4107s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4107s # */ 4107s # OrgProjectUsefulInterface * 4107s # org_project_useful_interface_proxy_new_finish ( 4107s # GAsyncResult *res, 4107s # GError **error) 4107s # { 4107s # GObject *ret; 4107s # GObject *source_object; 4107s # source_object = g_async_result_get_source_object (res); 4107s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4107s # g_object_unref (source_object); 4107s # if (ret != NULL) 4107s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4107s # else 4107s # return NULL; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new_sync: 4107s # * @connection: A #GDBusConnection. 4107s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4107s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4107s # * @object_path: An object path. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @error: Return location for error or %NULL 4107s # * 4107s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4107s # * 4107s # * The calling thread is blocked until a reply is received. 4107s # * 4107s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4107s # * 4107s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4107s # */ 4107s # OrgProjectUsefulInterface * 4107s # org_project_useful_interface_proxy_new_sync ( 4107s # GDBusConnection *connection, 4107s # GDBusProxyFlags flags, 4107s # const gchar *name, 4107s # const gchar *object_path, 4107s # GCancellable *cancellable, 4107s # GError **error) 4107s # { 4107s # GInitable *ret; 4107s # 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); 4107s # if (ret != NULL) 4107s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4107s # else 4107s # return NULL; 4107s # } 4107s # 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new_for_bus: 4107s # * @bus_type: A #GBusType. 4107s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4107s # * @name: A bus name (well-known or unique). 4107s # * @object_path: An object path. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4107s # * @user_data: User data to pass to @callback. 4107s # * 4107s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4107s # * 4107s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4107s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4107s # * 4107s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4107s # */ 4107s # void 4107s # org_project_useful_interface_proxy_new_for_bus ( 4107s # GBusType bus_type, 4107s # GDBusProxyFlags flags, 4107s # const gchar *name, 4107s # const gchar *object_path, 4107s # GCancellable *cancellable, 4107s # GAsyncReadyCallback callback, 4107s # gpointer user_data) 4107s # { 4107s # g_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); 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new_for_bus_finish: 4107s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4107s # * @error: Return location for error or %NULL 4107s # * 4107s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4107s # * 4107s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4107s # */ 4107s # OrgProjectUsefulInterface * 4107s # org_project_useful_interface_proxy_new_for_bus_finish ( 4107s # GAsyncResult *res, 4107s # GError **error) 4107s # { 4107s # GObject *ret; 4107s # GObject *source_object; 4107s # source_object = g_async_result_get_source_object (res); 4107s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4107s # g_object_unref (source_object); 4107s # if (ret != NULL) 4107s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4107s # else 4107s # return NULL; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new_for_bus_sync: 4107s # * @bus_type: A #GBusType. 4107s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4107s # * @name: A bus name (well-known or unique). 4107s # * @object_path: An object path. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @error: Return location for error or %NULL 4107s # * 4107s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4107s # * 4107s # * The calling thread is blocked until a reply is received. 4107s # * 4107s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4107s # * 4107s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4107s # */ 4107s # OrgProjectUsefulInterface * 4107s # org_project_useful_interface_proxy_new_for_bus_sync ( 4107s # GBusType bus_type, 4107s # GDBusProxyFlags flags, 4107s # const gchar *name, 4107s # const gchar *object_path, 4107s # GCancellable *cancellable, 4107s # GError **error) 4107s # { 4107s # GInitable *ret; 4107s # 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); 4107s # if (ret != NULL) 4107s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4107s # else 4107s # return NULL; 4107s # } 4107s # 4107s # 4107s # /* ------------------------------------------------------------------------ */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceSkeleton: 4107s # * 4107s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4107s # */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceSkeletonClass: 4107s # * @parent_class: The parent class. 4107s # * 4107s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4107s # */ 4107s # 4107s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4107s # { 4107s # GValue *properties; 4107s # GList *changed_properties; 4107s # GSource *changed_properties_idle_source; 4107s # GMainContext *context; 4107s # GMutex lock; 4107s # }; 4107s # 4107s # static void 4107s # _org_project_useful_interface_skeleton_handle_method_call ( 4107s # GDBusConnection *connection G_GNUC_UNUSED, 4107s # const gchar *sender G_GNUC_UNUSED, 4107s # const gchar *object_path G_GNUC_UNUSED, 4107s # const gchar *interface_name, 4107s # const gchar *method_name, 4107s # GVariant *parameters, 4107s # GDBusMethodInvocation *invocation, 4107s # gpointer user_data) 4107s # { 4107s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4107s # _ExtendedGDBusMethodInfo *info; 4107s # GVariantIter iter; 4107s # GVariant *child; 4107s # GValue *paramv; 4107s # gsize num_params; 4107s # guint num_extra; 4107s # gsize n; 4107s # guint signal_id; 4107s # GValue return_value = G_VALUE_INIT; 4107s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4107s # g_assert (info != NULL); 4107s # num_params = g_variant_n_children (parameters); 4107s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4107s # n = 0; 4107s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4107s # g_value_set_object (¶mv[n++], skeleton); 4107s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4107s # g_value_set_object (¶mv[n++], invocation); 4107s # if (info->pass_fdlist) 4107s # { 4107s # #ifdef G_OS_UNIX 4107s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4107s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4107s # #else 4107s # g_assert_not_reached (); 4107s # #endif 4107s # } 4107s # g_variant_iter_init (&iter, parameters); 4107s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4107s # { 4107s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4107s # if (arg_info->use_gvariant) 4107s # { 4107s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4107s # g_value_set_variant (¶mv[n], child); 4107s # n++; 4107s # } 4107s # else 4107s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4107s # g_variant_unref (child); 4107s # } 4107s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4107s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4107s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4107s # if (!g_value_get_boolean (&return_value)) 4107s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4107s # g_value_unset (&return_value); 4107s # for (n = 0; n < num_params + num_extra; n++) 4107s # g_value_unset (¶mv[n]); 4107s # g_free (paramv); 4107s # } 4107s # 4107s # static GVariant * 4107s # _org_project_useful_interface_skeleton_handle_get_property ( 4107s # GDBusConnection *connection G_GNUC_UNUSED, 4107s # const gchar *sender G_GNUC_UNUSED, 4107s # const gchar *object_path G_GNUC_UNUSED, 4107s # const gchar *interface_name G_GNUC_UNUSED, 4107s # const gchar *property_name, 4107s # GError **error, 4107s # gpointer user_data) 4107s # { 4107s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4107s # GValue value = G_VALUE_INIT; 4107s # GParamSpec *pspec; 4107s # _ExtendedGDBusPropertyInfo *info; 4107s # GVariant *ret; 4107s # ret = NULL; 4107s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4107s # g_assert (info != NULL); 4107s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4107s # if (pspec == NULL) 4107s # { 4107s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4107s # } 4107s # else 4107s # { 4107s # g_value_init (&value, pspec->value_type); 4107s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4107s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4107s # g_value_unset (&value); 4107s # } 4107s # return ret; 4107s # } 4107s # 4107s # static gboolean 4107s # _org_project_useful_interface_skeleton_handle_set_property ( 4107s # GDBusConnection *connection G_GNUC_UNUSED, 4107s # const gchar *sender G_GNUC_UNUSED, 4107s # const gchar *object_path G_GNUC_UNUSED, 4107s # const gchar *interface_name G_GNUC_UNUSED, 4107s # const gchar *property_name, 4107s # GVariant *variant, 4107s # GError **error, 4107s # gpointer user_data) 4107s # { 4107s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4107s # GValue value = G_VALUE_INIT; 4107s # GParamSpec *pspec; 4107s # _ExtendedGDBusPropertyInfo *info; 4107s # gboolean ret; 4107s # ret = FALSE; 4107s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4107s # g_assert (info != NULL); 4107s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4107s # if (pspec == NULL) 4107s # { 4107s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4107s # } 4107s # else 4107s # { 4107s # if (info->use_gvariant) 4107s # g_value_set_variant (&value, variant); 4107s # else 4107s # g_dbus_gvariant_to_gvalue (variant, &value); 4107s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4107s # g_value_unset (&value); 4107s # ret = TRUE; 4107s # } 4107s # return ret; 4107s # } 4107s # 4107s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4107s # { 4107s # _org_project_useful_interface_skeleton_handle_method_call, 4107s # _org_project_useful_interface_skeleton_handle_get_property, 4107s # _org_project_useful_interface_skeleton_handle_set_property, 4107s # {NULL} 4107s # }; 4107s # 4107s # static GDBusInterfaceInfo * 4107s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4107s # { 4107s # return org_project_useful_interface_interface_info (); 4107s # } 4107s # 4107s # static GDBusInterfaceVTable * 4107s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4107s # { 4107s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4107s # } 4107s # 4107s # static GVariant * 4107s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4107s # { 4107s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4107s # 4107s # GVariantBuilder builder; 4107s # guint n; 4107s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4107s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4107s # goto out; 4107s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4107s # { 4107s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4107s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4107s # { 4107s # GVariant *value; 4107s # 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); 4107s # if (value != NULL) 4107s # { 4107s # g_variant_take_ref (value); 4107s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4107s # g_variant_unref (value); 4107s # } 4107s # } 4107s # } 4107s # out: 4107s # return g_variant_builder_end (&builder); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4107s # { 4107s # } 4107s # 4107s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4107s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4107s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4107s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4107s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4107s # 4107s # #else 4107s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4107s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4107s # 4107s # #endif 4107s # static void 4107s # org_project_useful_interface_skeleton_finalize (GObject *object) 4107s # { 4107s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4107s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4107s # if (skeleton->priv->changed_properties_idle_source != NULL) 4107s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4107s # g_main_context_unref (skeleton->priv->context); 4107s # g_mutex_clear (&skeleton->priv->lock); 4107s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4107s # { 4107s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4107s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4107s # #else 4107s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4107s # #endif 4107s # 4107s # g_mutex_init (&skeleton->priv->lock); 4107s # skeleton->priv->context = g_main_context_ref_thread_default (); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4107s # { 4107s # GObjectClass *gobject_class; 4107s # GDBusInterfaceSkeletonClass *skeleton_class; 4107s # 4107s # gobject_class = G_OBJECT_CLASS (klass); 4107s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4107s # 4107s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4107s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4107s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4107s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4107s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4107s # 4107s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4107s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4107s # #endif 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4107s # { 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_skeleton_new: 4107s # * 4107s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4107s # * 4107s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4107s # */ 4107s # OrgProjectUsefulInterface * 4107s # org_project_useful_interface_skeleton_new (void) 4107s # { 4107s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4107s # } 4107s # /tmp/tmpafs3soxw/tmpnk570fj3.xml: 4107s # 4107s # 4107s # 4107s # 4107s # 4107s # 4107s # 4107s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmpnk570fj3.xml', '--output', '-', '--body'] 4107s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4107s # Output: /* 4107s # * This file is generated by gdbus-codegen, do not modify it. 4107s # * 4107s # * The license of this code is the same as for the D-Bus interface description 4107s # * it was derived from. Note that it links to GLib, so must comply with the 4107s # * LGPL linking clauses. 4107s # */ 4107s # 4107s # #ifdef HAVE_CONFIG_H 4107s # # include "config.h" 4107s # #endif 4107s # 4107s # #include 4107s # #ifdef G_OS_UNIX 4107s # # include 4107s # #endif 4107s # 4107s # #ifdef G_ENABLE_DEBUG 4107s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4107s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4107s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4107s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4107s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4107s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4107s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4107s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4107s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4107s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4107s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4107s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4107s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4107s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4107s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4107s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4107s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4107s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4107s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4107s # #else /* !G_ENABLE_DEBUG */ 4107s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4107s # * Do not access GValues directly in your code. Instead, use the 4107s # * g_value_get_*() functions 4107s # */ 4107s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4107s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4107s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4107s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4107s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4107s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4107s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4107s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4107s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4107s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4107s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4107s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4107s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4107s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4107s # #endif /* !G_ENABLE_DEBUG */ 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusArgInfo parent_struct; 4107s # gboolean use_gvariant; 4107s # } _ExtendedGDBusArgInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusMethodInfo parent_struct; 4107s # const gchar *signal_name; 4107s # gboolean pass_fdlist; 4107s # } _ExtendedGDBusMethodInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusSignalInfo parent_struct; 4107s # const gchar *signal_name; 4107s # } _ExtendedGDBusSignalInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusPropertyInfo parent_struct; 4107s # const gchar *hyphen_name; 4107s # guint use_gvariant : 1; 4107s # guint emits_changed_signal : 1; 4107s # } _ExtendedGDBusPropertyInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusInterfaceInfo parent_struct; 4107s # const gchar *hyphen_name; 4107s # } _ExtendedGDBusInterfaceInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # const _ExtendedGDBusPropertyInfo *info; 4107s # guint prop_id; 4107s # GValue orig_value; /* the value before the change */ 4107s # } ChangedProperty; 4107s # 4107s # static void 4107s # _changed_property_free (ChangedProperty *data) 4107s # { 4107s # g_value_unset (&data->orig_value); 4107s # g_free (data); 4107s # } 4107s # 4107s # static gboolean 4107s # _g_strv_equal0 (gchar **a, gchar **b) 4107s # { 4107s # gboolean ret = FALSE; 4107s # guint n; 4107s # if (a == NULL && b == NULL) 4107s # { 4107s # ret = TRUE; 4107s # goto out; 4107s # } 4107s # if (a == NULL || b == NULL) 4107s # goto out; 4107s # if (g_strv_length (a) != g_strv_length (b)) 4107s # goto out; 4107s # for (n = 0; a[n] != NULL; n++) 4107s # if (g_strcmp0 (a[n], b[n]) != 0) 4107s # goto out; 4107s # ret = TRUE; 4107s # out: 4107s # return ret; 4107s # } 4107s # 4107s # static gboolean 4107s # _g_variant_equal0 (GVariant *a, GVariant *b) 4107s # { 4107s # gboolean ret = FALSE; 4107s # if (a == NULL && b == NULL) 4107s # { 4107s # ret = TRUE; 4107s # goto out; 4107s # } 4107s # if (a == NULL || b == NULL) 4107s # goto out; 4107s # ret = g_variant_equal (a, b); 4107s # out: 4107s # return ret; 4107s # } 4107s # 4107s # G_GNUC_UNUSED static gboolean 4107s # _g_value_equal (const GValue *a, const GValue *b) 4107s # { 4107s # gboolean ret = FALSE; 4107s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4107s # switch (G_VALUE_TYPE (a)) 4107s # { 4107s # case G_TYPE_BOOLEAN: 4107s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4107s # break; 4107s # case G_TYPE_UCHAR: 4107s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4107s # break; 4107s # case G_TYPE_INT: 4107s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4107s # break; 4107s # case G_TYPE_UINT: 4107s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4107s # break; 4107s # case G_TYPE_INT64: 4107s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4107s # break; 4107s # case G_TYPE_UINT64: 4107s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4107s # break; 4107s # case G_TYPE_DOUBLE: 4107s # { 4107s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4107s # gdouble da = g_value_get_double (a); 4107s # gdouble db = g_value_get_double (b); 4107s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4107s # } 4107s # break; 4107s # case G_TYPE_STRING: 4107s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4107s # break; 4107s # case G_TYPE_VARIANT: 4107s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4107s # break; 4107s # default: 4107s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4107s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4107s # else 4107s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4107s # break; 4107s # } 4107s # return ret; 4107s # } 4107s # 4107s # static void 4107s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4107s # GClosure *closure, 4107s # GValue *return_value, 4107s # unsigned int n_param_values, 4107s # const GValue *param_values, 4107s # void *invocation_hint G_GNUC_UNUSED, 4107s # void *marshal_data) 4107s # { 4107s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4107s # (void *data1, 4107s # GDBusMethodInvocation *arg_method_invocation, 4107s # void *data2); 4107s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4107s # GCClosure *cc = (GCClosure*) closure; 4107s # void *data1, *data2; 4107s # gboolean v_return; 4107s # 4107s # g_return_if_fail (return_value != NULL); 4107s # g_return_if_fail (n_param_values == 2); 4107s # 4107s # if (G_CCLOSURE_SWAP_DATA (closure)) 4107s # { 4107s # data1 = closure->data; 4107s # data2 = g_value_peek_pointer (param_values + 0); 4107s # } 4107s # else 4107s # { 4107s # data1 = g_value_peek_pointer (param_values + 0); 4107s # data2 = closure->data; 4107s # } 4107s # 4107s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4107s # (marshal_data ? marshal_data : cc->callback); 4107s # 4107s # v_return = 4107s # callback (data1, 4107s # g_marshal_value_peek_object (param_values + 1), 4107s # data2); 4107s # 4107s # g_value_set_boolean (return_value, v_return); 4107s # } 4107s # 4107s # /* ------------------------------------------------------------------------ 4107s # * Code for interface org.project.UsefulInterface 4107s # * ------------------------------------------------------------------------ 4107s # */ 4107s # 4107s # /** 4107s # * SECTION:OrgProjectUsefulInterface 4107s # * @title: OrgProjectUsefulInterface 4107s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4107s # * 4107s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4107s # */ 4107s # 4107s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4107s # 4107s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 4107s # { 4107s # { 4107s # -1, 4107s # (gchar *) "arg_n", 4107s # (gchar *) "n", 4107s # NULL 4107s # }, 4107s # FALSE 4107s # }; 4107s # 4107s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 4107s # { 4107s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 4107s # NULL 4107s # }; 4107s # 4107s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 4107s # { 4107s # { 4107s # -1, 4107s # (gchar *) "SingleArgMethodN", 4107s # NULL, 4107s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 4107s # NULL 4107s # }, 4107s # "handle-single-arg-method-n", 4107s # FALSE 4107s # }; 4107s # 4107s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4107s # { 4107s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 4107s # NULL 4107s # }; 4107s # 4107s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4107s # { 4107s # { 4107s # -1, 4107s # (gchar *) "org.project.UsefulInterface", 4107s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4107s # NULL, 4107s # NULL, 4107s # NULL 4107s # }, 4107s # "org-project-useful-interface", 4107s # }; 4107s # 4107s # 4107s # /** 4107s # * org_project_useful_interface_interface_info: 4107s # * 4107s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4107s # * 4107s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4107s # */ 4107s # GDBusInterfaceInfo * 4107s # org_project_useful_interface_interface_info (void) 4107s # { 4107s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_override_properties: 4107s # * @klass: The class structure for a #GObject derived class. 4107s # * @property_id_begin: The property id to assign to the first overridden property. 4107s # * 4107s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4107s # * The properties are overridden in the order they are defined. 4107s # * 4107s # * Returns: The last property id. 4107s # */ 4107s # guint 4107s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4107s # { 4107s # return property_id_begin - 1; 4107s # } 4107s # 4107s # 4107s # inline static void 4107s # org_project_useful_interface_method_marshal_single_arg_method_n ( 4107s # GClosure *closure, 4107s # GValue *return_value, 4107s # unsigned int n_param_values, 4107s # const GValue *param_values, 4107s # void *invocation_hint, 4107s # void *marshal_data) 4107s # { 4107s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4107s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4107s # } 4107s # 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterface: 4107s # * 4107s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4107s # */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceIface: 4107s # * @parent_iface: The parent interface. 4107s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 4107s # * 4107s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4107s # */ 4107s # 4107s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4107s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4107s # 4107s # static void 4107s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4107s # { 4107s # /* GObject signals for incoming D-Bus method calls: */ 4107s # /** 4107s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 4107s # * @object: A #OrgProjectUsefulInterface. 4107s # * @invocation: A #GDBusMethodInvocation. 4107s # * 4107s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 4107s # * 4107s # * 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. 4107s # * 4107s # * 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. 4107s # */ 4107s # g_signal_new ("handle-single-arg-method-n", 4107s # G_TYPE_FROM_INTERFACE (iface), 4107s # G_SIGNAL_RUN_LAST, 4107s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 4107s # g_signal_accumulator_true_handled, 4107s # NULL, 4107s # org_project_useful_interface_method_marshal_single_arg_method_n, 4107s # G_TYPE_BOOLEAN, 4107s # 1, 4107s # G_TYPE_DBUS_METHOD_INVOCATION); 4107s # 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_call_single_arg_method_n: 4107s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4107s # * @user_data: User data to pass to @callback. 4107s # * 4107s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 4107s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4107s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 4107s # * 4107s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 4107s # */ 4107s # void 4107s # org_project_useful_interface_call_single_arg_method_n ( 4107s # OrgProjectUsefulInterface *proxy, 4107s # GCancellable *cancellable, 4107s # GAsyncReadyCallback callback, 4107s # gpointer user_data) 4107s # { 4107s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4107s # "SingleArgMethodN", 4107s # g_variant_new ("()"), 4107s # G_DBUS_CALL_FLAGS_NONE, 4107s # -1, 4107s # cancellable, 4107s # callback, 4107s # user_data); 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_call_single_arg_method_n_finish: 4107s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4107s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 4107s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 4107s # * @error: Return location for error or %NULL. 4107s # * 4107s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 4107s # * 4107s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4107s # */ 4107s # gboolean 4107s # org_project_useful_interface_call_single_arg_method_n_finish ( 4107s # OrgProjectUsefulInterface *proxy, 4107s # gint16 *out_arg_n, 4107s # GAsyncResult *res, 4107s # GError **error) 4107s # { 4107s # GVariant *_ret; 4107s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4107s # if (_ret == NULL) 4107s # goto _out; 4107s # g_variant_get (_ret, 4107s # "(n)", 4107s # out_arg_n); 4107s # g_variant_unref (_ret); 4107s # _out: 4107s # return _ret != NULL; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_call_single_arg_method_n_sync: 4107s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4107s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @error: Return location for error or %NULL. 4107s # * 4107s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4107s # * 4107s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 4107s # * 4107s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4107s # */ 4107s # gboolean 4107s # org_project_useful_interface_call_single_arg_method_n_sync ( 4107s # OrgProjectUsefulInterface *proxy, 4107s # gint16 *out_arg_n, 4107s # GCancellable *cancellable, 4107s # GError **error) 4107s # { 4107s # GVariant *_ret; 4107s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4107s # "SingleArgMethodN", 4107s # g_variant_new ("()"), 4107s # G_DBUS_CALL_FLAGS_NONE, 4107s # -1, 4107s # cancellable, 4107s # error); 4107s # if (_ret == NULL) 4107s # goto _out; 4107s # g_variant_get (_ret, 4107s # "(n)", 4107s # out_arg_n); 4107s # g_variant_unref (_ret); 4107s # _out: 4107s # return _ret != NULL; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_complete_single_arg_method_n: 4107s # * @object: A #OrgProjectUsefulInterface. 4107s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4107s # * @arg_n: Parameter to return. 4107s # * 4107s # * 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. 4107s # * 4107s # * This method will free @invocation, you cannot use it afterwards. 4107s # */ 4107s # void 4107s # org_project_useful_interface_complete_single_arg_method_n ( 4107s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4107s # GDBusMethodInvocation *invocation, 4107s # gint16 arg_n) 4107s # { 4107s # g_dbus_method_invocation_return_value (invocation, 4107s # g_variant_new ("(n)", 4107s # arg_n)); 4107s # } 4107s # 4107s # /* ------------------------------------------------------------------------ */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceProxy: 4107s # * 4107s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4107s # */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceProxyClass: 4107s # * @parent_class: The parent class. 4107s # * 4107s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4107s # */ 4107s # 4107s # struct _OrgProjectUsefulInterfaceProxyPrivate 4107s # { 4107s # GData *qdata; 4107s # }; 4107s # 4107s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4107s # 4107s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4107s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4107s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4107s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4107s # 4107s # #else 4107s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4107s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4107s # 4107s # #endif 4107s # static void 4107s # org_project_useful_interface_proxy_finalize (GObject *object) 4107s # { 4107s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4107s # g_datalist_clear (&proxy->priv->qdata); 4107s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4107s # guint prop_id G_GNUC_UNUSED, 4107s # GValue *value G_GNUC_UNUSED, 4107s # GParamSpec *pspec G_GNUC_UNUSED) 4107s # { 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4107s # guint prop_id G_GNUC_UNUSED, 4107s # const GValue *value G_GNUC_UNUSED, 4107s # GParamSpec *pspec G_GNUC_UNUSED) 4107s # { 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4107s # const gchar *sender_name G_GNUC_UNUSED, 4107s # const gchar *signal_name, 4107s # GVariant *parameters) 4107s # { 4107s # _ExtendedGDBusSignalInfo *info; 4107s # GVariantIter iter; 4107s # GVariant *child; 4107s # GValue *paramv; 4107s # gsize num_params; 4107s # gsize n; 4107s # guint signal_id; 4107s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4107s # if (info == NULL) 4107s # return; 4107s # num_params = g_variant_n_children (parameters); 4107s # paramv = g_new0 (GValue, num_params + 1); 4107s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4107s # g_value_set_object (¶mv[0], proxy); 4107s # g_variant_iter_init (&iter, parameters); 4107s # n = 1; 4107s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4107s # { 4107s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4107s # if (arg_info->use_gvariant) 4107s # { 4107s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4107s # g_value_set_variant (¶mv[n], child); 4107s # n++; 4107s # } 4107s # else 4107s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4107s # g_variant_unref (child); 4107s # } 4107s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4107s # g_signal_emitv (paramv, signal_id, 0, NULL); 4107s # for (n = 0; n < num_params + 1; n++) 4107s # g_value_unset (¶mv[n]); 4107s # g_free (paramv); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4107s # GVariant *changed_properties, 4107s # const gchar *const *invalidated_properties) 4107s # { 4107s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4107s # guint n; 4107s # const gchar *key; 4107s # GVariantIter *iter; 4107s # _ExtendedGDBusPropertyInfo *info; 4107s # g_variant_get (changed_properties, "a{sv}", &iter); 4107s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4107s # { 4107s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4107s # g_datalist_remove_data (&proxy->priv->qdata, key); 4107s # if (info != NULL) 4107s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4107s # } 4107s # g_variant_iter_free (iter); 4107s # for (n = 0; invalidated_properties[n] != NULL; n++) 4107s # { 4107s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4107s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4107s # if (info != NULL) 4107s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4107s # } 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4107s # { 4107s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4107s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4107s # #else 4107s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4107s # #endif 4107s # 4107s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4107s # { 4107s # GObjectClass *gobject_class; 4107s # GDBusProxyClass *proxy_class; 4107s # 4107s # gobject_class = G_OBJECT_CLASS (klass); 4107s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4107s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4107s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4107s # 4107s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4107s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4107s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4107s # 4107s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4107s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4107s # #endif 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4107s # { 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new: 4107s # * @connection: A #GDBusConnection. 4107s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4107s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4107s # * @object_path: An object path. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4107s # * @user_data: User data to pass to @callback. 4107s # * 4107s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4107s # * 4107s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4107s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4107s # * 4107s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4107s # */ 4107s # void 4107s # org_project_useful_interface_proxy_new ( 4107s # GDBusConnection *connection, 4107s # GDBusProxyFlags flags, 4107s # const gchar *name, 4107s # const gchar *object_path, 4107s # GCancellable *cancellable, 4107s # GAsyncReadyCallback callback, 4107s # gpointer user_data) 4107s # { 4107s # g_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); 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new_finish: 4107s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4107s # * @error: Return location for error or %NULL 4107s # * 4107s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4107s # * 4107s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4107s # */ 4107s # OrgProjectUsefulInterface * 4107s # org_project_useful_interface_proxy_new_finish ( 4107s # GAsyncResult *res, 4107s # GError **error) 4107s # { 4107s # GObject *ret; 4107s # GObject *source_object; 4107s # source_object = g_async_result_get_source_object (res); 4107s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4107s # g_object_unref (source_object); 4107s # if (ret != NULL) 4107s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4107s # else 4107s # return NULL; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new_sync: 4107s # * @connection: A #GDBusConnection. 4107s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4107s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4107s # * @object_path: An object path. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @error: Return location for error or %NULL 4107s # * 4107s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4107s # * 4107s # * The calling thread is blocked until a reply is received. 4107s # * 4107s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4107s # * 4107s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4107s # */ 4107s # OrgProjectUsefulInterface * 4107s # org_project_useful_interface_proxy_new_sync ( 4107s # GDBusConnection *connection, 4107s # GDBusProxyFlags flags, 4107s # const gchar *name, 4107s # const gchar *object_path, 4107s # GCancellable *cancellable, 4107s # GError **error) 4107s # { 4107s # GInitable *ret; 4107s # 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); 4107s # if (ret != NULL) 4107s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4107s # else 4107s # return NULL; 4107s # } 4107s # 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new_for_bus: 4107s # * @bus_type: A #GBusType. 4107s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4107s # * @name: A bus name (well-known or unique). 4107s # * @object_path: An object path. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4107s # * @user_data: User data to pass to @callback. 4107s # * 4107s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4107s # * 4107s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4107s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4107s # * 4107s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4107s # */ 4107s # void 4107s # org_project_useful_interface_proxy_new_for_bus ( 4107s # GBusType bus_type, 4107s # GDBusProxyFlags flags, 4107s # const gchar *name, 4107s # const gchar *object_path, 4107s # GCancellable *cancellable, 4107s # GAsyncReadyCallback callback, 4107s # gpointer user_data) 4107s # { 4107s # g_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); 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new_for_bus_finish: 4107s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4107s # * @error: Return location for error or %NULL 4107s # * 4107s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4107s # * 4107s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4107s # */ 4107s # OrgProjectUsefulInterface * 4107s # org_project_useful_interface_proxy_new_for_bus_finish ( 4107s # GAsyncResult *res, 4107s # GError **error) 4107s # { 4107s # GObject *ret; 4107s # GObject *source_object; 4107s # source_object = g_async_result_get_source_object (res); 4107s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4107s # g_object_unref (source_object); 4107s # if (ret != NULL) 4107s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4107s # else 4107s # return NULL; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_proxy_new_for_bus_sync: 4107s # * @bus_type: A #GBusType. 4107s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4107s # * @name: A bus name (well-known or unique). 4107s # * @object_path: An object path. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @error: Return location for error or %NULL 4107s # * 4107s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4107s # * 4107s # * The calling thread is blocked until a reply is received. 4107s # * 4107s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4107s # * 4107s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4107s # */ 4107s # OrgProjectUsefulInterface * 4107s # org_project_useful_interface_proxy_new_for_bus_sync ( 4107s # GBusType bus_type, 4107s # GDBusProxyFlags flags, 4107s # const gchar *name, 4107s # const gchar *object_path, 4107s # GCancellable *cancellable, 4107s # GError **error) 4107s # { 4107s # GInitable *ret; 4107s # 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); 4107s # if (ret != NULL) 4107s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4107s # else 4107s # return NULL; 4107s # } 4107s # 4107s # 4107s # /* ------------------------------------------------------------------------ */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceSkeleton: 4107s # * 4107s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4107s # */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceSkeletonClass: 4107s # * @parent_class: The parent class. 4107s # * 4107s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4107s # */ 4107s # 4107s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4107s # { 4107s # GValue *properties; 4107s # GList *changed_properties; 4107s # GSource *changed_properties_idle_source; 4107s # GMainContext *context; 4107s # GMutex lock; 4107s # }; 4107s # 4107s # static void 4107s # _org_project_useful_interface_skeleton_handle_method_call ( 4107s # GDBusConnection *connection G_GNUC_UNUSED, 4107s # const gchar *sender G_GNUC_UNUSED, 4107s # const gchar *object_path G_GNUC_UNUSED, 4107s # const gchar *interface_name, 4107s # const gchar *method_name, 4107s # GVariant *parameters, 4107s # GDBusMethodInvocation *invocation, 4107s # gpointer user_data) 4107s # { 4107s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4107s # _ExtendedGDBusMethodInfo *info; 4107s # GVariantIter iter; 4107s # GVariant *child; 4107s # GValue *paramv; 4107s # gsize num_params; 4107s # guint num_extra; 4107s # gsize n; 4107s # guint signal_id; 4107s # GValue return_value = G_VALUE_INIT; 4107s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4107s # g_assert (info != NULL); 4107s # num_params = g_variant_n_children (parameters); 4107s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4107s # n = 0; 4107s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4107s # g_value_set_object (¶mv[n++], skeleton); 4107s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4107s # g_value_set_object (¶mv[n++], invocation); 4107s # if (info->pass_fdlist) 4107s # { 4107s # #ifdef G_OS_UNIX 4107s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4107s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4107s # #else 4107s # g_assert_not_reached (); 4107s # #endif 4107s # } 4107s # g_variant_iter_init (&iter, parameters); 4107s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4107s # { 4107s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4107s # if (arg_info->use_gvariant) 4107s # { 4107s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4107s # g_value_set_variant (¶mv[n], child); 4107s # n++; 4107s # } 4107s # else 4107s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4107s # g_variant_unref (child); 4107s # } 4107s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4107s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4107s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4107s # if (!g_value_get_boolean (&return_value)) 4107s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4107s # g_value_unset (&return_value); 4107s # for (n = 0; n < num_params + num_extra; n++) 4107s # g_value_unset (¶mv[n]); 4107s # g_free (paramv); 4107s # } 4107s # 4107s # static GVariant * 4107s # _org_project_useful_interface_skeleton_handle_get_property ( 4107s # GDBusConnection *connection G_GNUC_UNUSED, 4107s # const gchar *sender G_GNUC_UNUSED, 4107s # const gchar *object_path G_GNUC_UNUSED, 4107s # const gchar *interface_name G_GNUC_UNUSED, 4107s # const gchar *property_name, 4107s # GError **error, 4107s # gpointer user_data) 4107s # { 4107s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4107s # GValue value = G_VALUE_INIT; 4107s # GParamSpec *pspec; 4107s # _ExtendedGDBusPropertyInfo *info; 4107s # GVariant *ret; 4107s # ret = NULL; 4107s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4107s # g_assert (info != NULL); 4107s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4107s # if (pspec == NULL) 4107s # { 4107s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4107s # } 4107s # else 4107s # { 4107s # g_value_init (&value, pspec->value_type); 4107s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4107s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4107s # g_value_unset (&value); 4107s # } 4107s # return ret; 4107s # } 4107s # 4107s # static gboolean 4107s # _org_project_useful_interface_skeleton_handle_set_property ( 4107s # GDBusConnection *connection G_GNUC_UNUSED, 4107s # const gchar *sender G_GNUC_UNUSED, 4107s # const gchar *object_path G_GNUC_UNUSED, 4107s # const gchar *interface_name G_GNUC_UNUSED, 4107s # const gchar *property_name, 4107s # GVariant *variant, 4107s # GError **error, 4107s # gpointer user_data) 4107s # { 4107s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4107s # GValue value = G_VALUE_INIT; 4107s # GParamSpec *pspec; 4107s # _ExtendedGDBusPropertyInfo *info; 4107s # gboolean ret; 4107s # ret = FALSE; 4107s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4107s # g_assert (info != NULL); 4107s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4107s # if (pspec == NULL) 4107s # { 4107s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4107s # } 4107s # else 4107s # { 4107s # if (info->use_gvariant) 4107s # g_value_set_variant (&value, variant); 4107s # else 4107s # g_dbus_gvariant_to_gvalue (variant, &value); 4107s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4107s # g_value_unset (&value); 4107s # ret = TRUE; 4107s # } 4107s # return ret; 4107s # } 4107s # 4107s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4107s # { 4107s # _org_project_useful_interface_skeleton_handle_method_call, 4107s # _org_project_useful_interface_skeleton_handle_get_property, 4107s # _org_project_useful_interface_skeleton_handle_set_property, 4107s # {NULL} 4107s # }; 4107s # 4107s # static GDBusInterfaceInfo * 4107s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4107s # { 4107s # return org_project_useful_interface_interface_info (); 4107s # } 4107s # 4107s # static GDBusInterfaceVTable * 4107s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4107s # { 4107s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4107s # } 4107s # 4107s # static GVariant * 4107s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4107s # { 4107s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4107s # 4107s # GVariantBuilder builder; 4107s # guint n; 4107s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4107s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4107s # goto out; 4107s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4107s # { 4107s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4107s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4107s # { 4107s # GVariant *value; 4107s # 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); 4107s # if (value != NULL) 4107s # { 4107s # g_variant_take_ref (value); 4107s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4107s # g_variant_unref (value); 4107s # } 4107s # } 4107s # } 4107s # out: 4107s # return g_variant_builder_end (&builder); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4107s # { 4107s # } 4107s # 4107s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4107s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4107s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4107s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4107s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4107s # 4107s # #else 4107s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4107s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4107s # 4107s # #endif 4107s # static void 4107s # org_project_useful_interface_skeleton_finalize (GObject *object) 4107s # { 4107s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4107s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4107s # if (skeleton->priv->changed_properties_idle_source != NULL) 4107s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4107s # g_main_context_unref (skeleton->priv->context); 4107s # g_mutex_clear (&skeleton->priv->lock); 4107s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4107s # { 4107s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4107s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4107s # #else 4107s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4107s # #endif 4107s # 4107s # g_mutex_init (&skeleton->priv->lock); 4107s # skeleton->priv->context = g_main_context_ref_thread_default (); 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4107s # { 4107s # GObjectClass *gobject_class; 4107s # GDBusInterfaceSkeletonClass *skeleton_class; 4107s # 4107s # gobject_class = G_OBJECT_CLASS (klass); 4107s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4107s # 4107s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4107s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4107s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4107s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4107s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4107s # 4107s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4107s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4107s # #endif 4107s # } 4107s # 4107s # static void 4107s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4107s # { 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_skeleton_new: 4107s # * 4107s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4107s # * 4107s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4107s # */ 4107s # OrgProjectUsefulInterface * 4107s # org_project_useful_interface_skeleton_new (void) 4107s # { 4107s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4107s # } 4107s # /tmp/tmpafs3soxw/tmpbkg_0f20.xml: 4107s # 4107s # 4107s # 4107s # 4107s # 4107s # 4107s # 4107s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmpbkg_0f20.xml', '--output', '-', '--body'] 4107s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4107s # Output: /* 4107s # * This file is generated by gdbus-codegen, do not modify it. 4107s # * 4107s # * The license of this code is the same as for the D-Bus interface description 4107s # * it was derived from. Note that it links to GLib, so must comply with the 4107s # * LGPL linking clauses. 4107s # */ 4107s # 4107s # #ifdef HAVE_CONFIG_H 4107s # # include "config.h" 4107s # #endif 4107s # 4107s # #include 4107s # #ifdef G_OS_UNIX 4107s # # include 4107s # #endif 4107s # 4107s # #ifdef G_ENABLE_DEBUG 4107s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4107s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4107s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4107s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4107s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4107s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4107s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4107s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4107s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4107s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4107s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4107s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4107s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4107s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4107s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4107s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4107s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4107s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4107s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4107s # #else /* !G_ENABLE_DEBUG */ 4107s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4107s # * Do not access GValues directly in your code. Instead, use the 4107s # * g_value_get_*() functions 4107s # */ 4107s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4107s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4107s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4107s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4107s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4107s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4107s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4107s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4107s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4107s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4107s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4107s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4107s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4107s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4107s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4107s # #endif /* !G_ENABLE_DEBUG */ 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusArgInfo parent_struct; 4107s # gboolean use_gvariant; 4107s # } _ExtendedGDBusArgInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusMethodInfo parent_struct; 4107s # const gchar *signal_name; 4107s # gboolean pass_fdlist; 4107s # } _ExtendedGDBusMethodInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusSignalInfo parent_struct; 4107s # const gchar *signal_name; 4107s # } _ExtendedGDBusSignalInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusPropertyInfo parent_struct; 4107s # const gchar *hyphen_name; 4107s # guint use_gvariant : 1; 4107s # guint emits_changed_signal : 1; 4107s # } _ExtendedGDBusPropertyInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # GDBusInterfaceInfo parent_struct; 4107s # const gchar *hyphen_name; 4107s # } _ExtendedGDBusInterfaceInfo; 4107s # 4107s # typedef struct 4107s # { 4107s # const _ExtendedGDBusPropertyInfo *info; 4107s # guint prop_id; 4107s # GValue orig_value; /* the value before the change */ 4107s # } ChangedProperty; 4107s # 4107s # static void 4107s # _changed_property_free (ChangedProperty *data) 4107s # { 4107s # g_value_unset (&data->orig_value); 4107s # g_free (data); 4107s # } 4107s # 4107s # static gboolean 4107s # _g_strv_equal0 (gchar **a, gchar **b) 4107s # { 4107s # gboolean ret = FALSE; 4107s # guint n; 4107s # if (a == NULL && b == NULL) 4107s # { 4107s # ret = TRUE; 4107s # goto out; 4107s # } 4107s # if (a == NULL || b == NULL) 4107s # goto out; 4107s # if (g_strv_length (a) != g_strv_length (b)) 4107s # goto out; 4107s # for (n = 0; a[n] != NULL; n++) 4107s # if (g_strcmp0 (a[n], b[n]) != 0) 4107s # goto out; 4107s # ret = TRUE; 4107s # out: 4107s # return ret; 4107s # } 4107s # 4107s # static gboolean 4107s # _g_variant_equal0 (GVariant *a, GVariant *b) 4107s # { 4107s # gboolean ret = FALSE; 4107s # if (a == NULL && b == NULL) 4107s # { 4107s # ret = TRUE; 4107s # goto out; 4107s # } 4107s # if (a == NULL || b == NULL) 4107s # goto out; 4107s # ret = g_variant_equal (a, b); 4107s # out: 4107s # return ret; 4107s # } 4107s # 4107s # G_GNUC_UNUSED static gboolean 4107s # _g_value_equal (const GValue *a, const GValue *b) 4107s # { 4107s # gboolean ret = FALSE; 4107s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4107s # switch (G_VALUE_TYPE (a)) 4107s # { 4107s # case G_TYPE_BOOLEAN: 4107s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4107s # break; 4107s # case G_TYPE_UCHAR: 4107s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4107s # break; 4107s # case G_TYPE_INT: 4107s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4107s # break; 4107s # case G_TYPE_UINT: 4107s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4107s # break; 4107s # case G_TYPE_INT64: 4107s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4107s # break; 4107s # case G_TYPE_UINT64: 4107s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4107s # break; 4107s # case G_TYPE_DOUBLE: 4107s # { 4107s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4107s # gdouble da = g_value_get_double (a); 4107s # gdouble db = g_value_get_double (b); 4107s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4107s # } 4107s # break; 4107s # case G_TYPE_STRING: 4107s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4107s # break; 4107s # case G_TYPE_VARIANT: 4107s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4107s # break; 4107s # default: 4107s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4107s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4107s # else 4107s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4107s # break; 4107s # } 4107s # return ret; 4107s # } 4107s # 4107s # static void 4107s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4107s # GClosure *closure, 4107s # GValue *return_value, 4107s # unsigned int n_param_values, 4107s # const GValue *param_values, 4107s # void *invocation_hint G_GNUC_UNUSED, 4107s # void *marshal_data) 4107s # { 4107s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4107s # (void *data1, 4107s # GDBusMethodInvocation *arg_method_invocation, 4107s # void *data2); 4107s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4107s # GCClosure *cc = (GCClosure*) closure; 4107s # void *data1, *data2; 4107s # gboolean v_return; 4107s # 4107s # g_return_if_fail (return_value != NULL); 4107s # g_return_if_fail (n_param_values == 2); 4107s # 4107s # if (G_CCLOSURE_SWAP_DATA (closure)) 4107s # { 4107s # data1 = closure->data; 4107s # data2 = g_value_peek_pointer (param_values + 0); 4107s # } 4107s # else 4107s # { 4107s # data1 = g_value_peek_pointer (param_values + 0); 4107s # data2 = closure->data; 4107s # } 4107s # 4107s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4107s # (marshal_data ? marshal_data : cc->callback); 4107s # 4107s # v_return = 4107s # callback (data1, 4107s # g_marshal_value_peek_object (param_values + 1), 4107s # data2); 4107s # 4107s # g_value_set_boolean (return_value, v_return); 4107s # } 4107s # 4107s # /* ------------------------------------------------------------------------ 4107s # * Code for interface org.project.UsefulInterface 4107s # * ------------------------------------------------------------------------ 4107s # */ 4107s # 4107s # /** 4107s # * SECTION:OrgProjectUsefulInterface 4107s # * @title: OrgProjectUsefulInterface 4107s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4107s # * 4107s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4107s # */ 4107s # 4107s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4107s # 4107s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 4107s # { 4107s # { 4107s # -1, 4107s # (gchar *) "arg_q", 4107s # (gchar *) "q", 4107s # NULL 4107s # }, 4107s # FALSE 4107s # }; 4107s # 4107s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 4107s # { 4107s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 4107s # NULL 4107s # }; 4107s # 4107s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 4107s # { 4107s # { 4107s # -1, 4107s # (gchar *) "SingleArgMethodQ", 4107s # NULL, 4107s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 4107s # NULL 4107s # }, 4107s # "handle-single-arg-method-q", 4107s # FALSE 4107s # }; 4107s # 4107s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4107s # { 4107s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 4107s # NULL 4107s # }; 4107s # 4107s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4107s # { 4107s # { 4107s # -1, 4107s # (gchar *) "org.project.UsefulInterface", 4107s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4107s # NULL, 4107s # NULL, 4107s # NULL 4107s # }, 4107s # "org-project-useful-interface", 4107s # }; 4107s # 4107s # 4107s # /** 4107s # * org_project_useful_interface_interface_info: 4107s # * 4107s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4107s # * 4107s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4107s # */ 4107s # GDBusInterfaceInfo * 4107s # org_project_useful_interface_interface_info (void) 4107s # { 4107s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_override_properties: 4107s # * @klass: The class structure for a #GObject derived class. 4107s # * @property_id_begin: The property id to assign to the first overridden property. 4107s # * 4107s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4107s # * The properties are overridden in the order they are defined. 4107s # * 4107s # * Returns: The last property id. 4107s # */ 4107s # guint 4107s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4107s # { 4107s # return property_id_begin - 1; 4107s # } 4107s # 4107s # 4107s # inline static void 4107s # org_project_useful_interface_method_marshal_single_arg_method_q ( 4107s # GClosure *closure, 4107s # GValue *return_value, 4107s # unsigned int n_param_values, 4107s # const GValue *param_values, 4107s # void *invocation_hint, 4107s # void *marshal_data) 4107s # { 4107s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4107s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4107s # } 4107s # 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterface: 4107s # * 4107s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4107s # */ 4107s # 4107s # /** 4107s # * OrgProjectUsefulInterfaceIface: 4107s # * @parent_iface: The parent interface. 4107s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 4107s # * 4107s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4107s # */ 4107s # 4107s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4107s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4107s # 4107s # static void 4107s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4107s # { 4107s # /* GObject signals for incoming D-Bus method calls: */ 4107s # /** 4107s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 4107s # * @object: A #OrgProjectUsefulInterface. 4107s # * @invocation: A #GDBusMethodInvocation. 4107s # * 4107s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 4107s # * 4107s # * 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. 4107s # * 4107s # * 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. 4107s # */ 4107s # g_signal_new ("handle-single-arg-method-q", 4107s # G_TYPE_FROM_INTERFACE (iface), 4107s # G_SIGNAL_RUN_LAST, 4107s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 4107s # g_signal_accumulator_true_handled, 4107s # NULL, 4107s # org_project_useful_interface_method_marshal_single_arg_method_q, 4107s # G_TYPE_BOOLEAN, 4107s # 1, 4107s # G_TYPE_DBUS_METHOD_INVOCATION); 4107s # 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_call_single_arg_method_q: 4107s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4107s # * @cancellable: (nullable): A #GCancellable or %NULL. 4107s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4107s # * @user_data: User data to pass to @callback. 4107s # * 4107s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 4107s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4107s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 4107s # * 4107s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 4107s # */ 4107s # void 4107s # org_project_useful_interface_call_single_arg_method_q ( 4107s # OrgProjectUsefulInterface *proxy, 4107s # GCancellable *cancellable, 4107s # GAsyncReadyCallback callback, 4107s # gpointer user_data) 4107s # { 4107s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4107s # "SingleArgMethodQ", 4107s # g_variant_new ("()"), 4107s # G_DBUS_CALL_FLAGS_NONE, 4107s # -1, 4107s # cancellable, 4107s # callback, 4107s # user_data); 4107s # } 4107s # 4107s # /** 4107s # * org_project_useful_interface_call_single_arg_method_q_finish: 4107s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4107s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 4107s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 4107s # * @error: Return location for error or %NULL. 4107s # * 4107s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 4107s # * 4107s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4107s # */ 4107s # gboolean 4107s # org_project_useful_interface_call_single_arg_method_q_finish ( 4107s # OrgProjectUsefulInterface *proxy, 4107s # guint16 *out_arg_q, 4107s # GAsyncResult *res, 4107s # GError **error) 4107s # { 4107s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(q)", 4108s # out_arg_q); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_q_sync: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_q_sync ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # guint16 *out_arg_q, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodQ", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(q)", 4108s # out_arg_q); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_complete_single_arg_method_q: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @arg_q: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_useful_interface_complete_single_arg_method_q ( 4108s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # guint16 arg_q) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(q)", 4108s # arg_q)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxy: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4108s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4108s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeleton: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_useful_interface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_useful_interface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_useful_interface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4108s # { 4108s # _org_project_useful_interface_skeleton_handle_method_call, 4108s # _org_project_useful_interface_skeleton_handle_get_property, 4108s # _org_project_useful_interface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_useful_interface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4108s # } 4108s # /tmp/tmpafs3soxw/tmpyomt1ocm.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmpyomt1ocm.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 2); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.UsefulInterface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectUsefulInterface 4108s # * @title: OrgProjectUsefulInterface 4108s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "arg_i", 4108s # (gchar *) "i", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "SingleArgMethodI", 4108s # NULL, 4108s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-single-arg-method-i", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.UsefulInterface", 4108s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-useful-interface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_useful_interface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_useful_interface_method_marshal_single_arg_method_i ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-single-arg-method-i", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_useful_interface_method_marshal_single_arg_method_i, 4108s # G_TYPE_BOOLEAN, 4108s # 1, 4108s # G_TYPE_DBUS_METHOD_INVOCATION); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_i: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_useful_interface_call_single_arg_method_i ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodI", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_i_finish: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_i_finish ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gint *out_arg_i, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(i)", 4108s # out_arg_i); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_i_sync: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_i_sync ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gint *out_arg_i, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodI", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(i)", 4108s # out_arg_i); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_complete_single_arg_method_i: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @arg_i: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_useful_interface_complete_single_arg_method_i ( 4108s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # gint arg_i) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(i)", 4108s # arg_i)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxy: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4108s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4108s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeleton: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_useful_interface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_useful_interface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_useful_interface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4108s # { 4108s # _org_project_useful_interface_skeleton_handle_method_call, 4108s # _org_project_useful_interface_skeleton_handle_get_property, 4108s # _org_project_useful_interface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_useful_interface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4108s # } 4108s # /tmp/tmpafs3soxw/tmpfo9vpypp.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmpfo9vpypp.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 2); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.UsefulInterface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectUsefulInterface 4108s # * @title: OrgProjectUsefulInterface 4108s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "arg_u", 4108s # (gchar *) "u", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "SingleArgMethodU", 4108s # NULL, 4108s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-single-arg-method-u", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.UsefulInterface", 4108s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-useful-interface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_useful_interface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_useful_interface_method_marshal_single_arg_method_u ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-single-arg-method-u", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_useful_interface_method_marshal_single_arg_method_u, 4108s # G_TYPE_BOOLEAN, 4108s # 1, 4108s # G_TYPE_DBUS_METHOD_INVOCATION); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_u: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_useful_interface_call_single_arg_method_u ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodU", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_u_finish: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_u_finish ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # guint *out_arg_u, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(u)", 4108s # out_arg_u); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_u_sync: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_u_sync ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # guint *out_arg_u, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodU", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(u)", 4108s # out_arg_u); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_complete_single_arg_method_u: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @arg_u: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_useful_interface_complete_single_arg_method_u ( 4108s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # guint arg_u) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(u)", 4108s # arg_u)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxy: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4108s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4108s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeleton: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_useful_interface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_useful_interface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_useful_interface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4108s # { 4108s # _org_project_useful_interface_skeleton_handle_method_call, 4108s # _org_project_useful_interface_skeleton_handle_get_property, 4108s # _org_project_useful_interface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_useful_interface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4108s # } 4108s # /tmp/tmpafs3soxw/tmpg5ysw8no.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmpg5ysw8no.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 2); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.UsefulInterface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectUsefulInterface 4108s # * @title: OrgProjectUsefulInterface 4108s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "arg_x", 4108s # (gchar *) "x", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "SingleArgMethodX", 4108s # NULL, 4108s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-single-arg-method-x", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.UsefulInterface", 4108s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-useful-interface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_useful_interface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_useful_interface_method_marshal_single_arg_method_x ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-single-arg-method-x", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_useful_interface_method_marshal_single_arg_method_x, 4108s # G_TYPE_BOOLEAN, 4108s # 1, 4108s # G_TYPE_DBUS_METHOD_INVOCATION); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_x: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_useful_interface_call_single_arg_method_x ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodX", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_x_finish: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_x_finish ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gint64 *out_arg_x, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(x)", 4108s # out_arg_x); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_x_sync: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_x_sync ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gint64 *out_arg_x, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodX", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(x)", 4108s # out_arg_x); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_complete_single_arg_method_x: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @arg_x: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_useful_interface_complete_single_arg_method_x ( 4108s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # gint64 arg_x) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(x)", 4108s # arg_x)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxy: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4108s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4108s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeleton: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_useful_interface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_useful_interface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_useful_interface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4108s # { 4108s # _org_project_useful_interface_skeleton_handle_method_call, 4108s # _org_project_useful_interface_skeleton_handle_get_property, 4108s # _org_project_useful_interface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_useful_interface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4108s # } 4108s # /tmp/tmpafs3soxw/tmp1vcm3j60.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmp1vcm3j60.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 2); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.UsefulInterface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectUsefulInterface 4108s # * @title: OrgProjectUsefulInterface 4108s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "arg_t", 4108s # (gchar *) "t", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "SingleArgMethodT", 4108s # NULL, 4108s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-single-arg-method-t", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.UsefulInterface", 4108s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-useful-interface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_useful_interface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_useful_interface_method_marshal_single_arg_method_t ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-single-arg-method-t", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_useful_interface_method_marshal_single_arg_method_t, 4108s # G_TYPE_BOOLEAN, 4108s # 1, 4108s # G_TYPE_DBUS_METHOD_INVOCATION); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_t: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_useful_interface_call_single_arg_method_t ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodT", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_t_finish: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_t_finish ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # guint64 *out_arg_t, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(t)", 4108s # out_arg_t); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_t_sync: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_t_sync ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # guint64 *out_arg_t, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodT", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(t)", 4108s # out_arg_t); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_complete_single_arg_method_t: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @arg_t: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_useful_interface_complete_single_arg_method_t ( 4108s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # guint64 arg_t) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(t)", 4108s # arg_t)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxy: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4108s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4108s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeleton: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_useful_interface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_useful_interface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_useful_interface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4108s # { 4108s # _org_project_useful_interface_skeleton_handle_method_call, 4108s # _org_project_useful_interface_skeleton_handle_get_property, 4108s # _org_project_useful_interface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_useful_interface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4108s # } 4108s # /tmp/tmpafs3soxw/tmp9zh7fyxk.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmp9zh7fyxk.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 2); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.UsefulInterface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectUsefulInterface 4108s # * @title: OrgProjectUsefulInterface 4108s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "arg_d", 4108s # (gchar *) "d", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "SingleArgMethodD", 4108s # NULL, 4108s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-single-arg-method-d", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.UsefulInterface", 4108s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-useful-interface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_useful_interface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_useful_interface_method_marshal_single_arg_method_d ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-single-arg-method-d", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_useful_interface_method_marshal_single_arg_method_d, 4108s # G_TYPE_BOOLEAN, 4108s # 1, 4108s # G_TYPE_DBUS_METHOD_INVOCATION); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_d: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_useful_interface_call_single_arg_method_d ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodD", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_d_finish: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_d_finish ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gdouble *out_arg_d, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(d)", 4108s # out_arg_d); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_d_sync: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_d_sync ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gdouble *out_arg_d, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodD", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(d)", 4108s # out_arg_d); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_complete_single_arg_method_d: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @arg_d: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_useful_interface_complete_single_arg_method_d ( 4108s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # gdouble arg_d) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(d)", 4108s # arg_d)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxy: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4108s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4108s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeleton: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_useful_interface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_useful_interface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_useful_interface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4108s # { 4108s # _org_project_useful_interface_skeleton_handle_method_call, 4108s # _org_project_useful_interface_skeleton_handle_get_property, 4108s # _org_project_useful_interface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_useful_interface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4108s # } 4108s # /tmp/tmpafs3soxw/tmpl0fz7r08.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmpl0fz7r08.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 2); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.UsefulInterface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectUsefulInterface 4108s # * @title: OrgProjectUsefulInterface 4108s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "arg_s", 4108s # (gchar *) "s", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "SingleArgMethodS", 4108s # NULL, 4108s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-single-arg-method-s", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.UsefulInterface", 4108s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-useful-interface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_useful_interface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_useful_interface_method_marshal_single_arg_method_s ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-single-arg-method-s", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_useful_interface_method_marshal_single_arg_method_s, 4108s # G_TYPE_BOOLEAN, 4108s # 1, 4108s # G_TYPE_DBUS_METHOD_INVOCATION); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_s: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_useful_interface_call_single_arg_method_s ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodS", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_s_finish: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_s_finish ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gchar **out_arg_s, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(s)", 4108s # out_arg_s); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_s_sync: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_s_sync ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gchar **out_arg_s, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodS", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(s)", 4108s # out_arg_s); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_complete_single_arg_method_s: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @arg_s: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_useful_interface_complete_single_arg_method_s ( 4108s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # const gchar *arg_s) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(s)", 4108s # arg_s)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxy: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4108s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4108s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeleton: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_useful_interface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_useful_interface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_useful_interface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4108s # { 4108s # _org_project_useful_interface_skeleton_handle_method_call, 4108s # _org_project_useful_interface_skeleton_handle_get_property, 4108s # _org_project_useful_interface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_useful_interface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4108s # } 4108s # /tmp/tmpafs3soxw/tmps9c2gz4f.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmps9c2gz4f.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 2); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.UsefulInterface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectUsefulInterface 4108s # * @title: OrgProjectUsefulInterface 4108s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "arg_o", 4108s # (gchar *) "o", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "SingleArgMethodO", 4108s # NULL, 4108s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-single-arg-method-o", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.UsefulInterface", 4108s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-useful-interface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_useful_interface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_useful_interface_method_marshal_single_arg_method_o ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-single-arg-method-o", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_useful_interface_method_marshal_single_arg_method_o, 4108s # G_TYPE_BOOLEAN, 4108s # 1, 4108s # G_TYPE_DBUS_METHOD_INVOCATION); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_o: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_useful_interface_call_single_arg_method_o ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodO", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_o_finish: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_o_finish ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gchar **out_arg_o, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(o)", 4108s # out_arg_o); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_o_sync: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_o_sync ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gchar **out_arg_o, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodO", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(o)", 4108s # out_arg_o); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_complete_single_arg_method_o: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @arg_o: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_useful_interface_complete_single_arg_method_o ( 4108s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # const gchar *arg_o) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(o)", 4108s # arg_o)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxy: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4108s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4108s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeleton: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_useful_interface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_useful_interface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_useful_interface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4108s # { 4108s # _org_project_useful_interface_skeleton_handle_method_call, 4108s # _org_project_useful_interface_skeleton_handle_get_property, 4108s # _org_project_useful_interface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_useful_interface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4108s # } 4108s # /tmp/tmpafs3soxw/tmp84dm75dl.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmp84dm75dl.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 2); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.UsefulInterface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectUsefulInterface 4108s # * @title: OrgProjectUsefulInterface 4108s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "arg_g", 4108s # (gchar *) "g", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "SingleArgMethodG", 4108s # NULL, 4108s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-single-arg-method-g", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.UsefulInterface", 4108s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-useful-interface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_useful_interface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_useful_interface_method_marshal_single_arg_method_g ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-single-arg-method-g", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_useful_interface_method_marshal_single_arg_method_g, 4108s # G_TYPE_BOOLEAN, 4108s # 1, 4108s # G_TYPE_DBUS_METHOD_INVOCATION); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_g: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_useful_interface_call_single_arg_method_g ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodG", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_g_finish: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_g_finish ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gchar **out_arg_g, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(g)", 4108s # out_arg_g); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_g_sync: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_g_sync ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gchar **out_arg_g, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodG", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(g)", 4108s # out_arg_g); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_complete_single_arg_method_g: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @arg_g: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_useful_interface_complete_single_arg_method_g ( 4108s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # const gchar *arg_g) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(g)", 4108s # arg_g)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxy: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4108s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4108s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeleton: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_useful_interface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_useful_interface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_useful_interface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4108s # { 4108s # _org_project_useful_interface_skeleton_handle_method_call, 4108s # _org_project_useful_interface_skeleton_handle_get_property, 4108s # _org_project_useful_interface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_useful_interface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4108s # } 4108s # /tmp/tmpafs3soxw/tmp84ssqqag.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmp84ssqqag.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 2); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.UsefulInterface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectUsefulInterface 4108s # * @title: OrgProjectUsefulInterface 4108s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "arg_h", 4108s # (gchar *) "h", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "SingleArgMethodH", 4108s # NULL, 4108s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-single-arg-method-h", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.UsefulInterface", 4108s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-useful-interface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_useful_interface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_useful_interface_method_marshal_single_arg_method_h ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-single-arg-method-h", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_useful_interface_method_marshal_single_arg_method_h, 4108s # G_TYPE_BOOLEAN, 4108s # 1, 4108s # G_TYPE_DBUS_METHOD_INVOCATION); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_h: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_useful_interface_call_single_arg_method_h ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodH", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_h_finish: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_h_finish ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GVariant **out_arg_h, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(@h)", 4108s # out_arg_h); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_h_sync: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_h_sync ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GVariant **out_arg_h, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodH", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(@h)", 4108s # out_arg_h); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_complete_single_arg_method_h: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @arg_h: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_useful_interface_complete_single_arg_method_h ( 4108s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # GVariant *arg_h) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(@h)", 4108s # arg_h)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxy: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4108s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4108s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeleton: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_useful_interface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_useful_interface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_useful_interface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4108s # { 4108s # _org_project_useful_interface_skeleton_handle_method_call, 4108s # _org_project_useful_interface_skeleton_handle_get_property, 4108s # _org_project_useful_interface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_useful_interface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4108s # } 4108s # /tmp/tmpafs3soxw/tmpgr58r1pp.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmpgr58r1pp.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 2); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.UsefulInterface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectUsefulInterface 4108s # * @title: OrgProjectUsefulInterface 4108s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "arg_ay", 4108s # (gchar *) "ay", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "SingleArgMethodAy", 4108s # NULL, 4108s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-single-arg-method-ay", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.UsefulInterface", 4108s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-useful-interface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_useful_interface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-single-arg-method-ay", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_useful_interface_method_marshal_single_arg_method_ay, 4108s # G_TYPE_BOOLEAN, 4108s # 1, 4108s # G_TYPE_DBUS_METHOD_INVOCATION); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_ay: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_useful_interface_call_single_arg_method_ay ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodAy", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_ay_finish: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_ay_finish ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gchar **out_arg_ay, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(^ay)", 4108s # out_arg_ay); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_ay_sync: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_ay_sync ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gchar **out_arg_ay, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodAy", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(^ay)", 4108s # out_arg_ay); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_complete_single_arg_method_ay: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @arg_ay: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_useful_interface_complete_single_arg_method_ay ( 4108s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # const gchar *arg_ay) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(^ay)", 4108s # arg_ay)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxy: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4108s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4108s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeleton: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_useful_interface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_useful_interface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_useful_interface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4108s # { 4108s # _org_project_useful_interface_skeleton_handle_method_call, 4108s # _org_project_useful_interface_skeleton_handle_get_property, 4108s # _org_project_useful_interface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_useful_interface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4108s # } 4108s # /tmp/tmpafs3soxw/tmp0yc8_5yd.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmp0yc8_5yd.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 2); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.UsefulInterface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectUsefulInterface 4108s # * @title: OrgProjectUsefulInterface 4108s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "arg_as", 4108s # (gchar *) "as", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "SingleArgMethodAs", 4108s # NULL, 4108s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-single-arg-method-as", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.UsefulInterface", 4108s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-useful-interface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_useful_interface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_useful_interface_method_marshal_single_arg_method_as ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-single-arg-method-as", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_useful_interface_method_marshal_single_arg_method_as, 4108s # G_TYPE_BOOLEAN, 4108s # 1, 4108s # G_TYPE_DBUS_METHOD_INVOCATION); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_as: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_useful_interface_call_single_arg_method_as ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodAs", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_as_finish: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_as_finish ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gchar ***out_arg_as, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(^as)", 4108s # out_arg_as); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_as_sync: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_as_sync ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gchar ***out_arg_as, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodAs", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(^as)", 4108s # out_arg_as); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_complete_single_arg_method_as: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @arg_as: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_useful_interface_complete_single_arg_method_as ( 4108s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # const gchar *const *arg_as) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(^as)", 4108s # arg_as)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxy: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4108s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4108s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeleton: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_useful_interface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_useful_interface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_useful_interface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4108s # { 4108s # _org_project_useful_interface_skeleton_handle_method_call, 4108s # _org_project_useful_interface_skeleton_handle_get_property, 4108s # _org_project_useful_interface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_useful_interface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4108s # } 4108s # /tmp/tmpafs3soxw/tmp5lzi5wkx.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmp5lzi5wkx.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 2); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.UsefulInterface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectUsefulInterface 4108s # * @title: OrgProjectUsefulInterface 4108s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "arg_ao", 4108s # (gchar *) "ao", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "SingleArgMethodAo", 4108s # NULL, 4108s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-single-arg-method-ao", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.UsefulInterface", 4108s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-useful-interface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_useful_interface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-single-arg-method-ao", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_useful_interface_method_marshal_single_arg_method_ao, 4108s # G_TYPE_BOOLEAN, 4108s # 1, 4108s # G_TYPE_DBUS_METHOD_INVOCATION); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_ao: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_useful_interface_call_single_arg_method_ao ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodAo", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_ao_finish: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_ao_finish ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gchar ***out_arg_ao, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(^ao)", 4108s # out_arg_ao); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_ao_sync: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_ao_sync ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gchar ***out_arg_ao, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodAo", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(^ao)", 4108s # out_arg_ao); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_complete_single_arg_method_ao: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @arg_ao: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_useful_interface_complete_single_arg_method_ao ( 4108s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # const gchar *const *arg_ao) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(^ao)", 4108s # arg_ao)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxy: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4108s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4108s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeleton: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_useful_interface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_useful_interface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_useful_interface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4108s # { 4108s # _org_project_useful_interface_skeleton_handle_method_call, 4108s # _org_project_useful_interface_skeleton_handle_get_property, 4108s # _org_project_useful_interface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_useful_interface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4108s # } 4108s # /tmp/tmpafs3soxw/tmpkyuqnje2.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmpkyuqnje2.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 2); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.UsefulInterface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectUsefulInterface 4108s # * @title: OrgProjectUsefulInterface 4108s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "arg_aay", 4108s # (gchar *) "aay", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "SingleArgMethodAay", 4108s # NULL, 4108s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-single-arg-method-aay", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.UsefulInterface", 4108s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-useful-interface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_useful_interface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-single-arg-method-aay", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_useful_interface_method_marshal_single_arg_method_aay, 4108s # G_TYPE_BOOLEAN, 4108s # 1, 4108s # G_TYPE_DBUS_METHOD_INVOCATION); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_aay: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_useful_interface_call_single_arg_method_aay ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodAay", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_aay_finish: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_aay_finish ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gchar ***out_arg_aay, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(^aay)", 4108s # out_arg_aay); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_aay_sync: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_aay_sync ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # gchar ***out_arg_aay, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodAay", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(^aay)", 4108s # out_arg_aay); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_complete_single_arg_method_aay: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @arg_aay: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_useful_interface_complete_single_arg_method_aay ( 4108s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # const gchar *const *arg_aay) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(^aay)", 4108s # arg_aay)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxy: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4108s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4108s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeleton: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_useful_interface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_useful_interface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_useful_interface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4108s # { 4108s # _org_project_useful_interface_skeleton_handle_method_call, 4108s # _org_project_useful_interface_skeleton_handle_get_property, 4108s # _org_project_useful_interface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_useful_interface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4108s # } 4108s # /tmp/tmpafs3soxw/tmp9xwvella.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafs3soxw/tmp9xwvella.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 2); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.UsefulInterface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectUsefulInterface 4108s # * @title: OrgProjectUsefulInterface 4108s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "arg_asv", 4108s # (gchar *) "a{sv}", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "SingleArgMethodAsv", 4108s # NULL, 4108s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-single-arg-method-asv", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 4108s # { 4108s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.UsefulInterface", 4108s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-useful-interface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_useful_interface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4108s # */ 4108s # 4108s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-single-arg-method-asv", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_useful_interface_method_marshal_single_arg_method_asv, 4108s # G_TYPE_BOOLEAN, 4108s # 1, 4108s # G_TYPE_DBUS_METHOD_INVOCATION); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_asv: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_useful_interface_call_single_arg_method_asv ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodAsv", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_asv_finish: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_asv_finish ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GVariant **out_arg_asv, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(@a{sv})", 4108s # out_arg_asv); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_call_single_arg_method_asv_sync: 4108s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 4108s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_useful_interface_call_single_arg_method_asv_sync ( 4108s # OrgProjectUsefulInterface *proxy, 4108s # GVariant **out_arg_asv, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SingleArgMethodAsv", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(@a{sv})", 4108s # out_arg_asv); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_complete_single_arg_method_asv: 4108s # * @object: A #OrgProjectUsefulInterface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @arg_asv: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_useful_interface_complete_single_arg_method_asv ( 4108s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # GVariant *arg_asv) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(@a{sv})", 4108s # arg_asv)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxy: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4108s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4108s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_useful_interface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeleton: 4108s # * 4108s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectUsefulInterfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_useful_interface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_useful_interface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_useful_interface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4108s # { 4108s # _org_project_useful_interface_skeleton_handle_method_call, 4108s # _org_project_useful_interface_skeleton_handle_get_property, 4108s # _org_project_useful_interface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_useful_interface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_useful_interface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_useful_interface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectUsefulInterface * 4108s # org_project_useful_interface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4108s # } 4108s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 4108s # tmpdir: /tmp/tmp8xvs7zq4 4108s # codegen: /usr/bin/gdbus-codegen 4108s # /tmp/tmp8xvs7zq4/tmpww3wxhy8.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8xvs7zq4/tmpww3wxhy8.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # gboolean arg_an_b, 4108s # guchar arg_an_y, 4108s # gint16 arg_an_n, 4108s # guint16 arg_an_q, 4108s # gint arg_an_i, 4108s # guint arg_an_u, 4108s # gint64 arg_an_x, 4108s # guint64 arg_an_t, 4108s # gdouble arg_an_d, 4108s # const gchar *arg_an_s, 4108s # const gchar *arg_an_o, 4108s # const gchar *arg_an_g, 4108s # GVariant *arg_an_h, 4108s # const gchar *arg_an_ay, 4108s # const gchar *const *arg_an_as, 4108s # const gchar *const *arg_an_ao, 4108s # const gchar *const *arg_an_aay, 4108s # GVariant *arg_an_asv, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 20); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # g_marshal_value_peek_boolean (param_values + 2), 4108s # g_marshal_value_peek_uchar (param_values + 3), 4108s # g_marshal_value_peek_int (param_values + 4), 4108s # g_marshal_value_peek_uint (param_values + 5), 4108s # g_marshal_value_peek_int (param_values + 6), 4108s # g_marshal_value_peek_uint (param_values + 7), 4108s # g_marshal_value_peek_int64 (param_values + 8), 4108s # g_marshal_value_peek_uint64 (param_values + 9), 4108s # g_marshal_value_peek_double (param_values + 10), 4108s # g_marshal_value_peek_string (param_values + 11), 4108s # g_marshal_value_peek_string (param_values + 12), 4108s # g_marshal_value_peek_string (param_values + 13), 4108s # g_marshal_value_peek_variant (param_values + 14), 4108s # g_marshal_value_peek_string (param_values + 15), 4108s # g_marshal_value_peek_boxed (param_values + 16), 4108s # g_marshal_value_peek_boxed (param_values + 17), 4108s # g_marshal_value_peek_boxed (param_values + 18), 4108s # g_marshal_value_peek_variant (param_values + 19), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.CallableIface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectCallableIface 4108s # * @title: OrgProjectCallableIface 4108s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.CallableIface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_b", 4108s # (gchar *) "b", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_y", 4108s # (gchar *) "y", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_n", 4108s # (gchar *) "n", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_q", 4108s # (gchar *) "q", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_i", 4108s # (gchar *) "i", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_u", 4108s # (gchar *) "u", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_x", 4108s # (gchar *) "x", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_t", 4108s # (gchar *) "t", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_d", 4108s # (gchar *) "d", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_s", 4108s # (gchar *) "s", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_o", 4108s # (gchar *) "o", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_g", 4108s # (gchar *) "g", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_h", 4108s # (gchar *) "h", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_ay", 4108s # (gchar *) "ay", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_as", 4108s # (gchar *) "as", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_ao", 4108s # (gchar *) "ao", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_aay", 4108s # (gchar *) "aay", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_asv", 4108s # (gchar *) "a{sv}", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 4108s # { 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "MethodWithManyArgs", 4108s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "handle-method-with-many-args", 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_b", 4108s # (gchar *) "b", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_y", 4108s # (gchar *) "y", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_n", 4108s # (gchar *) "n", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_q", 4108s # (gchar *) "q", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_i", 4108s # (gchar *) "i", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_u", 4108s # (gchar *) "u", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_x", 4108s # (gchar *) "x", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_t", 4108s # (gchar *) "t", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_d", 4108s # (gchar *) "d", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_s", 4108s # (gchar *) "s", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_o", 4108s # (gchar *) "o", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_g", 4108s # (gchar *) "g", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_h", 4108s # (gchar *) "h", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_ay", 4108s # (gchar *) "ay", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_as", 4108s # (gchar *) "as", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_ao", 4108s # (gchar *) "ao", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_aay", 4108s # (gchar *) "aay", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_asv", 4108s # (gchar *) "a{sv}", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 4108s # { 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "SameMethodWithManyArgs", 4108s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "handle-same-method-with-many-args", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 4108s # { 4108s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 4108s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.CallableIface", 4108s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-callable-iface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_callable_iface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_callable_iface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_callable_iface_method_marshal_method_with_many_args ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _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, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # inline static void 4108s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _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, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectCallableIface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectCallableIfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 4108s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.CallableIface. 4108s # */ 4108s # 4108s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectCallableIface::handle-method-with-many-args: 4108s # * @object: A #OrgProjectCallableIface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * @arg_an_b: Argument passed by remote caller. 4108s # * @arg_an_y: Argument passed by remote caller. 4108s # * @arg_an_n: Argument passed by remote caller. 4108s # * @arg_an_q: Argument passed by remote caller. 4108s # * @arg_an_i: Argument passed by remote caller. 4108s # * @arg_an_u: Argument passed by remote caller. 4108s # * @arg_an_x: Argument passed by remote caller. 4108s # * @arg_an_t: Argument passed by remote caller. 4108s # * @arg_an_d: Argument passed by remote caller. 4108s # * @arg_an_s: Argument passed by remote caller. 4108s # * @arg_an_o: Argument passed by remote caller. 4108s # * @arg_an_g: Argument passed by remote caller. 4108s # * @arg_an_h: Argument passed by remote caller. 4108s # * @arg_an_ay: Argument passed by remote caller. 4108s # * @arg_an_as: Argument passed by remote caller. 4108s # * @arg_an_ao: Argument passed by remote caller. 4108s # * @arg_an_aay: Argument passed by remote caller. 4108s # * @arg_an_asv: Argument passed by remote caller. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-method-with-many-args", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_callable_iface_method_marshal_method_with_many_args, 4108s # G_TYPE_BOOLEAN, 4108s # 19, 4108s # 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); 4108s # 4108s # /** 4108s # * OrgProjectCallableIface::handle-same-method-with-many-args: 4108s # * @object: A #OrgProjectCallableIface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * @arg_an_b: Argument passed by remote caller. 4108s # * @arg_an_y: Argument passed by remote caller. 4108s # * @arg_an_n: Argument passed by remote caller. 4108s # * @arg_an_q: Argument passed by remote caller. 4108s # * @arg_an_i: Argument passed by remote caller. 4108s # * @arg_an_u: Argument passed by remote caller. 4108s # * @arg_an_x: Argument passed by remote caller. 4108s # * @arg_an_t: Argument passed by remote caller. 4108s # * @arg_an_d: Argument passed by remote caller. 4108s # * @arg_an_s: Argument passed by remote caller. 4108s # * @arg_an_o: Argument passed by remote caller. 4108s # * @arg_an_g: Argument passed by remote caller. 4108s # * @arg_an_h: Argument passed by remote caller. 4108s # * @arg_an_ay: Argument passed by remote caller. 4108s # * @arg_an_as: Argument passed by remote caller. 4108s # * @arg_an_ao: Argument passed by remote caller. 4108s # * @arg_an_aay: Argument passed by remote caller. 4108s # * @arg_an_asv: Argument passed by remote caller. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-same-method-with-many-args", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_callable_iface_method_marshal_same_method_with_many_args, 4108s # G_TYPE_BOOLEAN, 4108s # 19, 4108s # 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); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_call_method_with_many_args: 4108s # * @proxy: A #OrgProjectCallableIfaceProxy. 4108s # * @arg_an_b: Argument to pass with the method invocation. 4108s # * @arg_an_y: Argument to pass with the method invocation. 4108s # * @arg_an_n: Argument to pass with the method invocation. 4108s # * @arg_an_q: Argument to pass with the method invocation. 4108s # * @arg_an_i: Argument to pass with the method invocation. 4108s # * @arg_an_u: Argument to pass with the method invocation. 4108s # * @arg_an_x: Argument to pass with the method invocation. 4108s # * @arg_an_t: Argument to pass with the method invocation. 4108s # * @arg_an_d: Argument to pass with the method invocation. 4108s # * @arg_an_s: Argument to pass with the method invocation. 4108s # * @arg_an_o: Argument to pass with the method invocation. 4108s # * @arg_an_g: Argument to pass with the method invocation. 4108s # * @arg_an_h: Argument to pass with the method invocation. 4108s # * @arg_an_ay: Argument to pass with the method invocation. 4108s # * @arg_an_as: Argument to pass with the method invocation. 4108s # * @arg_an_ao: Argument to pass with the method invocation. 4108s # * @arg_an_aay: Argument to pass with the method invocation. 4108s # * @arg_an_asv: Argument to pass with the method invocation. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_callable_iface_call_method_with_many_args ( 4108s # OrgProjectCallableIface *proxy, 4108s # gboolean arg_an_b, 4108s # guchar arg_an_y, 4108s # gint16 arg_an_n, 4108s # guint16 arg_an_q, 4108s # gint arg_an_i, 4108s # guint arg_an_u, 4108s # gint64 arg_an_x, 4108s # guint64 arg_an_t, 4108s # gdouble arg_an_d, 4108s # const gchar *arg_an_s, 4108s # const gchar *arg_an_o, 4108s # const gchar *arg_an_g, 4108s # GVariant *arg_an_h, 4108s # const gchar *arg_an_ay, 4108s # const gchar *const *arg_an_as, 4108s # const gchar *const *arg_an_ao, 4108s # const gchar *const *arg_an_aay, 4108s # GVariant *arg_an_asv, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "MethodWithManyArgs", 4108s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 4108s # arg_an_b, 4108s # arg_an_y, 4108s # arg_an_n, 4108s # arg_an_q, 4108s # arg_an_i, 4108s # arg_an_u, 4108s # arg_an_x, 4108s # arg_an_t, 4108s # arg_an_d, 4108s # arg_an_s, 4108s # arg_an_o, 4108s # arg_an_g, 4108s # arg_an_h, 4108s # arg_an_ay, 4108s # arg_an_as, 4108s # arg_an_ao, 4108s # arg_an_aay, 4108s # arg_an_asv), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_call_method_with_many_args_finish: 4108s # * @proxy: A #OrgProjectCallableIfaceProxy. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_callable_iface_call_method_with_many_args_finish ( 4108s # OrgProjectCallableIface *proxy, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "()"); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_call_method_with_many_args_sync: 4108s # * @proxy: A #OrgProjectCallableIfaceProxy. 4108s # * @arg_an_b: Argument to pass with the method invocation. 4108s # * @arg_an_y: Argument to pass with the method invocation. 4108s # * @arg_an_n: Argument to pass with the method invocation. 4108s # * @arg_an_q: Argument to pass with the method invocation. 4108s # * @arg_an_i: Argument to pass with the method invocation. 4108s # * @arg_an_u: Argument to pass with the method invocation. 4108s # * @arg_an_x: Argument to pass with the method invocation. 4108s # * @arg_an_t: Argument to pass with the method invocation. 4108s # * @arg_an_d: Argument to pass with the method invocation. 4108s # * @arg_an_s: Argument to pass with the method invocation. 4108s # * @arg_an_o: Argument to pass with the method invocation. 4108s # * @arg_an_g: Argument to pass with the method invocation. 4108s # * @arg_an_h: Argument to pass with the method invocation. 4108s # * @arg_an_ay: Argument to pass with the method invocation. 4108s # * @arg_an_as: Argument to pass with the method invocation. 4108s # * @arg_an_ao: Argument to pass with the method invocation. 4108s # * @arg_an_aay: Argument to pass with the method invocation. 4108s # * @arg_an_asv: Argument to pass with the method invocation. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_callable_iface_call_method_with_many_args_sync ( 4108s # OrgProjectCallableIface *proxy, 4108s # gboolean arg_an_b, 4108s # guchar arg_an_y, 4108s # gint16 arg_an_n, 4108s # guint16 arg_an_q, 4108s # gint arg_an_i, 4108s # guint arg_an_u, 4108s # gint64 arg_an_x, 4108s # guint64 arg_an_t, 4108s # gdouble arg_an_d, 4108s # const gchar *arg_an_s, 4108s # const gchar *arg_an_o, 4108s # const gchar *arg_an_g, 4108s # GVariant *arg_an_h, 4108s # const gchar *arg_an_ay, 4108s # const gchar *const *arg_an_as, 4108s # const gchar *const *arg_an_ao, 4108s # const gchar *const *arg_an_aay, 4108s # GVariant *arg_an_asv, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "MethodWithManyArgs", 4108s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 4108s # arg_an_b, 4108s # arg_an_y, 4108s # arg_an_n, 4108s # arg_an_q, 4108s # arg_an_i, 4108s # arg_an_u, 4108s # arg_an_x, 4108s # arg_an_t, 4108s # arg_an_d, 4108s # arg_an_s, 4108s # arg_an_o, 4108s # arg_an_g, 4108s # arg_an_h, 4108s # arg_an_ay, 4108s # arg_an_as, 4108s # arg_an_ao, 4108s # arg_an_aay, 4108s # arg_an_asv), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "()"); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_call_same_method_with_many_args: 4108s # * @proxy: A #OrgProjectCallableIfaceProxy. 4108s # * @arg_an_b: Argument to pass with the method invocation. 4108s # * @arg_an_y: Argument to pass with the method invocation. 4108s # * @arg_an_n: Argument to pass with the method invocation. 4108s # * @arg_an_q: Argument to pass with the method invocation. 4108s # * @arg_an_i: Argument to pass with the method invocation. 4108s # * @arg_an_u: Argument to pass with the method invocation. 4108s # * @arg_an_x: Argument to pass with the method invocation. 4108s # * @arg_an_t: Argument to pass with the method invocation. 4108s # * @arg_an_d: Argument to pass with the method invocation. 4108s # * @arg_an_s: Argument to pass with the method invocation. 4108s # * @arg_an_o: Argument to pass with the method invocation. 4108s # * @arg_an_g: Argument to pass with the method invocation. 4108s # * @arg_an_h: Argument to pass with the method invocation. 4108s # * @arg_an_ay: Argument to pass with the method invocation. 4108s # * @arg_an_as: Argument to pass with the method invocation. 4108s # * @arg_an_ao: Argument to pass with the method invocation. 4108s # * @arg_an_aay: Argument to pass with the method invocation. 4108s # * @arg_an_asv: Argument to pass with the method invocation. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_callable_iface_call_same_method_with_many_args ( 4108s # OrgProjectCallableIface *proxy, 4108s # gboolean arg_an_b, 4108s # guchar arg_an_y, 4108s # gint16 arg_an_n, 4108s # guint16 arg_an_q, 4108s # gint arg_an_i, 4108s # guint arg_an_u, 4108s # gint64 arg_an_x, 4108s # guint64 arg_an_t, 4108s # gdouble arg_an_d, 4108s # const gchar *arg_an_s, 4108s # const gchar *arg_an_o, 4108s # const gchar *arg_an_g, 4108s # GVariant *arg_an_h, 4108s # const gchar *arg_an_ay, 4108s # const gchar *const *arg_an_as, 4108s # const gchar *const *arg_an_ao, 4108s # const gchar *const *arg_an_aay, 4108s # GVariant *arg_an_asv, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "SameMethodWithManyArgs", 4108s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 4108s # arg_an_b, 4108s # arg_an_y, 4108s # arg_an_n, 4108s # arg_an_q, 4108s # arg_an_i, 4108s # arg_an_u, 4108s # arg_an_x, 4108s # arg_an_t, 4108s # arg_an_d, 4108s # arg_an_s, 4108s # arg_an_o, 4108s # arg_an_g, 4108s # arg_an_h, 4108s # arg_an_ay, 4108s # arg_an_as, 4108s # arg_an_ao, 4108s # arg_an_aay, 4108s # arg_an_asv), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_call_same_method_with_many_args_finish: 4108s # * @proxy: A #OrgProjectCallableIfaceProxy. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_callable_iface_call_same_method_with_many_args_finish ( 4108s # OrgProjectCallableIface *proxy, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "()"); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_call_same_method_with_many_args_sync: 4108s # * @proxy: A #OrgProjectCallableIfaceProxy. 4108s # * @arg_an_b: Argument to pass with the method invocation. 4108s # * @arg_an_y: Argument to pass with the method invocation. 4108s # * @arg_an_n: Argument to pass with the method invocation. 4108s # * @arg_an_q: Argument to pass with the method invocation. 4108s # * @arg_an_i: Argument to pass with the method invocation. 4108s # * @arg_an_u: Argument to pass with the method invocation. 4108s # * @arg_an_x: Argument to pass with the method invocation. 4108s # * @arg_an_t: Argument to pass with the method invocation. 4108s # * @arg_an_d: Argument to pass with the method invocation. 4108s # * @arg_an_s: Argument to pass with the method invocation. 4108s # * @arg_an_o: Argument to pass with the method invocation. 4108s # * @arg_an_g: Argument to pass with the method invocation. 4108s # * @arg_an_h: Argument to pass with the method invocation. 4108s # * @arg_an_ay: Argument to pass with the method invocation. 4108s # * @arg_an_as: Argument to pass with the method invocation. 4108s # * @arg_an_ao: Argument to pass with the method invocation. 4108s # * @arg_an_aay: Argument to pass with the method invocation. 4108s # * @arg_an_asv: Argument to pass with the method invocation. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_callable_iface_call_same_method_with_many_args_sync ( 4108s # OrgProjectCallableIface *proxy, 4108s # gboolean arg_an_b, 4108s # guchar arg_an_y, 4108s # gint16 arg_an_n, 4108s # guint16 arg_an_q, 4108s # gint arg_an_i, 4108s # guint arg_an_u, 4108s # gint64 arg_an_x, 4108s # guint64 arg_an_t, 4108s # gdouble arg_an_d, 4108s # const gchar *arg_an_s, 4108s # const gchar *arg_an_o, 4108s # const gchar *arg_an_g, 4108s # GVariant *arg_an_h, 4108s # const gchar *arg_an_ay, 4108s # const gchar *const *arg_an_as, 4108s # const gchar *const *arg_an_ao, 4108s # const gchar *const *arg_an_aay, 4108s # GVariant *arg_an_asv, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "SameMethodWithManyArgs", 4108s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 4108s # arg_an_b, 4108s # arg_an_y, 4108s # arg_an_n, 4108s # arg_an_q, 4108s # arg_an_i, 4108s # arg_an_u, 4108s # arg_an_x, 4108s # arg_an_t, 4108s # arg_an_d, 4108s # arg_an_s, 4108s # arg_an_o, 4108s # arg_an_g, 4108s # arg_an_h, 4108s # arg_an_ay, 4108s # arg_an_as, 4108s # arg_an_ao, 4108s # arg_an_aay, 4108s # arg_an_asv), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "()"); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_complete_method_with_many_args: 4108s # * @object: A #OrgProjectCallableIface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_callable_iface_complete_method_with_many_args ( 4108s # OrgProjectCallableIface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("()")); 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_complete_same_method_with_many_args: 4108s # * @object: A #OrgProjectCallableIface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_callable_iface_complete_same_method_with_many_args ( 4108s # OrgProjectCallableIface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("()")); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectCallableIfaceProxy: 4108s # * 4108s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectCallableIfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectCallableIfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectCallableIfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_callable_iface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 4108s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 4108s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_callable_iface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # 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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectCallableIface * 4108s # org_project_callable_iface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_CALLABLE_IFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectCallableIface * 4108s # org_project_callable_iface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_CALLABLE_IFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_callable_iface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_callable_iface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # 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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectCallableIface * 4108s # org_project_callable_iface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_CALLABLE_IFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectCallableIface * 4108s # org_project_callable_iface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_CALLABLE_IFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectCallableIfaceSkeleton: 4108s # * 4108s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectCallableIfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectCallableIfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectCallableIfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_callable_iface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_callable_iface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_callable_iface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 4108s # { 4108s # _org_project_callable_iface_skeleton_handle_method_call, 4108s # _org_project_callable_iface_skeleton_handle_get_property, 4108s # _org_project_callable_iface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_callable_iface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_callable_iface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectCallableIface * 4108s # org_project_callable_iface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.OtherCallableIface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectOtherCallableIface 4108s # * @title: OrgProjectOtherCallableIface 4108s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_b", 4108s # (gchar *) "b", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_y", 4108s # (gchar *) "y", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_n", 4108s # (gchar *) "n", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_q", 4108s # (gchar *) "q", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_i", 4108s # (gchar *) "i", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_u", 4108s # (gchar *) "u", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_x", 4108s # (gchar *) "x", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_t", 4108s # (gchar *) "t", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_d", 4108s # (gchar *) "d", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_s", 4108s # (gchar *) "s", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_o", 4108s # (gchar *) "o", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_g", 4108s # (gchar *) "g", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_h", 4108s # (gchar *) "h", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_ay", 4108s # (gchar *) "ay", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_as", 4108s # (gchar *) "as", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_ao", 4108s # (gchar *) "ao", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_aay", 4108s # (gchar *) "aay", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_asv", 4108s # (gchar *) "a{sv}", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 4108s # { 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "MethodWithManyArgs", 4108s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "handle-method-with-many-args", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 4108s # { 4108s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.OtherCallableIface", 4108s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-other-callable-iface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_other_callable_iface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_other_callable_iface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_other_callable_iface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _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, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectOtherCallableIface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectOtherCallableIfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 4108s # */ 4108s # 4108s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 4108s # * @object: A #OrgProjectOtherCallableIface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * @arg_an_b: Argument passed by remote caller. 4108s # * @arg_an_y: Argument passed by remote caller. 4108s # * @arg_an_n: Argument passed by remote caller. 4108s # * @arg_an_q: Argument passed by remote caller. 4108s # * @arg_an_i: Argument passed by remote caller. 4108s # * @arg_an_u: Argument passed by remote caller. 4108s # * @arg_an_x: Argument passed by remote caller. 4108s # * @arg_an_t: Argument passed by remote caller. 4108s # * @arg_an_d: Argument passed by remote caller. 4108s # * @arg_an_s: Argument passed by remote caller. 4108s # * @arg_an_o: Argument passed by remote caller. 4108s # * @arg_an_g: Argument passed by remote caller. 4108s # * @arg_an_h: Argument passed by remote caller. 4108s # * @arg_an_ay: Argument passed by remote caller. 4108s # * @arg_an_as: Argument passed by remote caller. 4108s # * @arg_an_ao: Argument passed by remote caller. 4108s # * @arg_an_aay: Argument passed by remote caller. 4108s # * @arg_an_asv: Argument passed by remote caller. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-method-with-many-args", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_other_callable_iface_method_marshal_method_with_many_args, 4108s # G_TYPE_BOOLEAN, 4108s # 19, 4108s # 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); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_other_callable_iface_call_method_with_many_args: 4108s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 4108s # * @arg_an_b: Argument to pass with the method invocation. 4108s # * @arg_an_y: Argument to pass with the method invocation. 4108s # * @arg_an_n: Argument to pass with the method invocation. 4108s # * @arg_an_q: Argument to pass with the method invocation. 4108s # * @arg_an_i: Argument to pass with the method invocation. 4108s # * @arg_an_u: Argument to pass with the method invocation. 4108s # * @arg_an_x: Argument to pass with the method invocation. 4108s # * @arg_an_t: Argument to pass with the method invocation. 4108s # * @arg_an_d: Argument to pass with the method invocation. 4108s # * @arg_an_s: Argument to pass with the method invocation. 4108s # * @arg_an_o: Argument to pass with the method invocation. 4108s # * @arg_an_g: Argument to pass with the method invocation. 4108s # * @arg_an_h: Argument to pass with the method invocation. 4108s # * @arg_an_ay: Argument to pass with the method invocation. 4108s # * @arg_an_as: Argument to pass with the method invocation. 4108s # * @arg_an_ao: Argument to pass with the method invocation. 4108s # * @arg_an_aay: Argument to pass with the method invocation. 4108s # * @arg_an_asv: Argument to pass with the method invocation. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_other_callable_iface_call_method_with_many_args ( 4108s # OrgProjectOtherCallableIface *proxy, 4108s # gboolean arg_an_b, 4108s # guchar arg_an_y, 4108s # gint16 arg_an_n, 4108s # guint16 arg_an_q, 4108s # gint arg_an_i, 4108s # guint arg_an_u, 4108s # gint64 arg_an_x, 4108s # guint64 arg_an_t, 4108s # gdouble arg_an_d, 4108s # const gchar *arg_an_s, 4108s # const gchar *arg_an_o, 4108s # const gchar *arg_an_g, 4108s # GVariant *arg_an_h, 4108s # const gchar *arg_an_ay, 4108s # const gchar *const *arg_an_as, 4108s # const gchar *const *arg_an_ao, 4108s # const gchar *const *arg_an_aay, 4108s # GVariant *arg_an_asv, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "MethodWithManyArgs", 4108s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 4108s # arg_an_b, 4108s # arg_an_y, 4108s # arg_an_n, 4108s # arg_an_q, 4108s # arg_an_i, 4108s # arg_an_u, 4108s # arg_an_x, 4108s # arg_an_t, 4108s # arg_an_d, 4108s # arg_an_s, 4108s # arg_an_o, 4108s # arg_an_g, 4108s # arg_an_h, 4108s # arg_an_ay, 4108s # arg_an_as, 4108s # arg_an_ao, 4108s # arg_an_aay, 4108s # arg_an_asv), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_other_callable_iface_call_method_with_many_args_finish: 4108s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_other_callable_iface_call_method_with_many_args_finish ( 4108s # OrgProjectOtherCallableIface *proxy, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "()"); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_other_callable_iface_call_method_with_many_args_sync: 4108s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 4108s # * @arg_an_b: Argument to pass with the method invocation. 4108s # * @arg_an_y: Argument to pass with the method invocation. 4108s # * @arg_an_n: Argument to pass with the method invocation. 4108s # * @arg_an_q: Argument to pass with the method invocation. 4108s # * @arg_an_i: Argument to pass with the method invocation. 4108s # * @arg_an_u: Argument to pass with the method invocation. 4108s # * @arg_an_x: Argument to pass with the method invocation. 4108s # * @arg_an_t: Argument to pass with the method invocation. 4108s # * @arg_an_d: Argument to pass with the method invocation. 4108s # * @arg_an_s: Argument to pass with the method invocation. 4108s # * @arg_an_o: Argument to pass with the method invocation. 4108s # * @arg_an_g: Argument to pass with the method invocation. 4108s # * @arg_an_h: Argument to pass with the method invocation. 4108s # * @arg_an_ay: Argument to pass with the method invocation. 4108s # * @arg_an_as: Argument to pass with the method invocation. 4108s # * @arg_an_ao: Argument to pass with the method invocation. 4108s # * @arg_an_aay: Argument to pass with the method invocation. 4108s # * @arg_an_asv: Argument to pass with the method invocation. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_other_callable_iface_call_method_with_many_args_sync ( 4108s # OrgProjectOtherCallableIface *proxy, 4108s # gboolean arg_an_b, 4108s # guchar arg_an_y, 4108s # gint16 arg_an_n, 4108s # guint16 arg_an_q, 4108s # gint arg_an_i, 4108s # guint arg_an_u, 4108s # gint64 arg_an_x, 4108s # guint64 arg_an_t, 4108s # gdouble arg_an_d, 4108s # const gchar *arg_an_s, 4108s # const gchar *arg_an_o, 4108s # const gchar *arg_an_g, 4108s # GVariant *arg_an_h, 4108s # const gchar *arg_an_ay, 4108s # const gchar *const *arg_an_as, 4108s # const gchar *const *arg_an_ao, 4108s # const gchar *const *arg_an_aay, 4108s # GVariant *arg_an_asv, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "MethodWithManyArgs", 4108s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 4108s # arg_an_b, 4108s # arg_an_y, 4108s # arg_an_n, 4108s # arg_an_q, 4108s # arg_an_i, 4108s # arg_an_u, 4108s # arg_an_x, 4108s # arg_an_t, 4108s # arg_an_d, 4108s # arg_an_s, 4108s # arg_an_o, 4108s # arg_an_g, 4108s # arg_an_h, 4108s # arg_an_ay, 4108s # arg_an_as, 4108s # arg_an_ao, 4108s # arg_an_aay, 4108s # arg_an_asv), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "()"); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_other_callable_iface_complete_method_with_many_args: 4108s # * @object: A #OrgProjectOtherCallableIface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_other_callable_iface_complete_method_with_many_args ( 4108s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("()")); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectOtherCallableIfaceProxy: 4108s # * 4108s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectOtherCallableIfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectOtherCallableIfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_other_callable_iface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 4108s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 4108s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_other_callable_iface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_other_callable_iface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # 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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_other_callable_iface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectOtherCallableIface * 4108s # org_project_other_callable_iface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_other_callable_iface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectOtherCallableIface * 4108s # org_project_other_callable_iface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_other_callable_iface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_other_callable_iface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # 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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectOtherCallableIface * 4108s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectOtherCallableIface * 4108s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectOtherCallableIfaceSkeleton: 4108s # * 4108s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectOtherCallableIfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_other_callable_iface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_other_callable_iface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_other_callable_iface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 4108s # { 4108s # _org_project_other_callable_iface_skeleton_handle_method_call, 4108s # _org_project_other_callable_iface_skeleton_handle_get_property, 4108s # _org_project_other_callable_iface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_other_callable_iface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_other_callable_iface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectOtherCallableIface * 4108s # org_project_other_callable_iface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 4108s # } 4108s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 4108s # tmpdir: /tmp/tmpbgebl0bp 4108s # codegen: /usr/bin/gdbus-codegen 4108s # /tmp/tmpbgebl0bp/tmprh1d22pa.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbgebl0bp/tmprh1d22pa.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (void *data1, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 2); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface org.project.CallableIface 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:OrgProjectCallableIface 4108s # * @title: OrgProjectCallableIface 4108s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 4108s # * 4108s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for org.project.CallableIface ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_b", 4108s # (gchar *) "b", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_y", 4108s # (gchar *) "y", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_n", 4108s # (gchar *) "n", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_q", 4108s # (gchar *) "q", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_i", 4108s # (gchar *) "i", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_u", 4108s # (gchar *) "u", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_x", 4108s # (gchar *) "x", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_t", 4108s # (gchar *) "t", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_d", 4108s # (gchar *) "d", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_s", 4108s # (gchar *) "s", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_o", 4108s # (gchar *) "o", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_g", 4108s # (gchar *) "g", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_h", 4108s # (gchar *) "h", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_ay", 4108s # (gchar *) "ay", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_as", 4108s # (gchar *) "as", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_ao", 4108s # (gchar *) "ao", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_aay", 4108s # (gchar *) "aay", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "an_asv", 4108s # (gchar *) "a{sv}", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 4108s # { 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 4108s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "MethodWithManyArgs", 4108s # NULL, 4108s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-method-with-many-args", 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 4108s # { 4108s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "org.project.CallableIface", 4108s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "org-project-callable-iface", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * org_project_callable_iface_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # org_project_callable_iface_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # org_project_callable_iface_method_marshal_method_with_many_args ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * OrgProjectCallableIface: 4108s # * 4108s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectCallableIfaceIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 4108s # * 4108s # * Virtual table for the D-Bus interface org.project.CallableIface. 4108s # */ 4108s # 4108s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 4108s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * OrgProjectCallableIface::handle-method-with-many-args: 4108s # * @object: A #OrgProjectCallableIface. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-method-with-many-args", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # org_project_callable_iface_method_marshal_method_with_many_args, 4108s # G_TYPE_BOOLEAN, 4108s # 1, 4108s # G_TYPE_DBUS_METHOD_INVOCATION); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_call_method_with_many_args: 4108s # * @proxy: A #OrgProjectCallableIfaceProxy. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # org_project_callable_iface_call_method_with_many_args ( 4108s # OrgProjectCallableIface *proxy, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4108s # "MethodWithManyArgs", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_call_method_with_many_args_finish: 4108s # * @proxy: A #OrgProjectCallableIfaceProxy. 4108s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_callable_iface_call_method_with_many_args_finish ( 4108s # OrgProjectCallableIface *proxy, 4108s # gboolean *out_an_b, 4108s # guchar *out_an_y, 4108s # gint16 *out_an_n, 4108s # guint16 *out_an_q, 4108s # gint *out_an_i, 4108s # guint *out_an_u, 4108s # gint64 *out_an_x, 4108s # guint64 *out_an_t, 4108s # gdouble *out_an_d, 4108s # gchar **out_an_s, 4108s # gchar **out_an_o, 4108s # gchar **out_an_g, 4108s # GVariant **out_an_h, 4108s # gchar **out_an_ay, 4108s # gchar ***out_an_as, 4108s # gchar ***out_an_ao, 4108s # gchar ***out_an_aay, 4108s # GVariant **out_an_asv, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 4108s # out_an_b, 4108s # out_an_y, 4108s # out_an_n, 4108s # out_an_q, 4108s # out_an_i, 4108s # out_an_u, 4108s # out_an_x, 4108s # out_an_t, 4108s # out_an_d, 4108s # out_an_s, 4108s # out_an_o, 4108s # out_an_g, 4108s # out_an_h, 4108s # out_an_ay, 4108s # out_an_as, 4108s # out_an_ao, 4108s # out_an_aay, 4108s # out_an_asv); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_call_method_with_many_args_sync: 4108s # * @proxy: A #OrgProjectCallableIfaceProxy. 4108s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 4108s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # org_project_callable_iface_call_method_with_many_args_sync ( 4108s # OrgProjectCallableIface *proxy, 4108s # gboolean *out_an_b, 4108s # guchar *out_an_y, 4108s # gint16 *out_an_n, 4108s # guint16 *out_an_q, 4108s # gint *out_an_i, 4108s # guint *out_an_u, 4108s # gint64 *out_an_x, 4108s # guint64 *out_an_t, 4108s # gdouble *out_an_d, 4108s # gchar **out_an_s, 4108s # gchar **out_an_o, 4108s # gchar **out_an_g, 4108s # GVariant **out_an_h, 4108s # gchar **out_an_ay, 4108s # gchar ***out_an_as, 4108s # gchar ***out_an_ao, 4108s # gchar ***out_an_aay, 4108s # GVariant **out_an_asv, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4108s # "MethodWithManyArgs", 4108s # g_variant_new ("()"), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 4108s # out_an_b, 4108s # out_an_y, 4108s # out_an_n, 4108s # out_an_q, 4108s # out_an_i, 4108s # out_an_u, 4108s # out_an_x, 4108s # out_an_t, 4108s # out_an_d, 4108s # out_an_s, 4108s # out_an_o, 4108s # out_an_g, 4108s # out_an_h, 4108s # out_an_ay, 4108s # out_an_as, 4108s # out_an_ao, 4108s # out_an_aay, 4108s # out_an_asv); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_complete_method_with_many_args: 4108s # * @object: A #OrgProjectCallableIface. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @an_b: Parameter to return. 4108s # * @an_y: Parameter to return. 4108s # * @an_n: Parameter to return. 4108s # * @an_q: Parameter to return. 4108s # * @an_i: Parameter to return. 4108s # * @an_u: Parameter to return. 4108s # * @an_x: Parameter to return. 4108s # * @an_t: Parameter to return. 4108s # * @an_d: Parameter to return. 4108s # * @an_s: Parameter to return. 4108s # * @an_o: Parameter to return. 4108s # * @an_g: Parameter to return. 4108s # * @an_h: Parameter to return. 4108s # * @an_ay: Parameter to return. 4108s # * @an_as: Parameter to return. 4108s # * @an_ao: Parameter to return. 4108s # * @an_aay: Parameter to return. 4108s # * @an_asv: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # org_project_callable_iface_complete_method_with_many_args ( 4108s # OrgProjectCallableIface *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # gboolean an_b, 4108s # guchar an_y, 4108s # gint16 an_n, 4108s # guint16 an_q, 4108s # gint an_i, 4108s # guint an_u, 4108s # gint64 an_x, 4108s # guint64 an_t, 4108s # gdouble an_d, 4108s # const gchar *an_s, 4108s # const gchar *an_o, 4108s # const gchar *an_g, 4108s # GVariant *an_h, 4108s # const gchar *an_ay, 4108s # const gchar *const *an_as, 4108s # const gchar *const *an_ao, 4108s # const gchar *const *an_aay, 4108s # GVariant *an_asv) 4108s # { 4108s # g_dbus_method_invocation_return_value (invocation, 4108s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 4108s # an_b, 4108s # an_y, 4108s # an_n, 4108s # an_q, 4108s # an_i, 4108s # an_u, 4108s # an_x, 4108s # an_t, 4108s # an_d, 4108s # an_s, 4108s # an_o, 4108s # an_g, 4108s # an_h, 4108s # an_ay, 4108s # an_as, 4108s # an_ao, 4108s # an_aay, 4108s # an_asv)); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectCallableIfaceProxy: 4108s # * 4108s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectCallableIfaceProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectCallableIfaceProxy. 4108s # */ 4108s # 4108s # struct _OrgProjectCallableIfaceProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_callable_iface_proxy_finalize (GObject *object) 4108s # { 4108s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 4108s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 4108s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 4108s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_callable_iface_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # 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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectCallableIface * 4108s # org_project_callable_iface_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_CALLABLE_IFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectCallableIface * 4108s # org_project_callable_iface_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_CALLABLE_IFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * org_project_callable_iface_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # org_project_callable_iface_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # 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); 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectCallableIface * 4108s # org_project_callable_iface_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_CALLABLE_IFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # OrgProjectCallableIface * 4108s # org_project_callable_iface_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return ORG_PROJECT_CALLABLE_IFACE (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * OrgProjectCallableIfaceSkeleton: 4108s # * 4108s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * OrgProjectCallableIfaceSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #OrgProjectCallableIfaceSkeleton. 4108s # */ 4108s # 4108s # struct _OrgProjectCallableIfaceSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _org_project_callable_iface_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _org_project_callable_iface_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _org_project_callable_iface_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 4108s # { 4108s # _org_project_callable_iface_skeleton_handle_method_call, 4108s # _org_project_callable_iface_skeleton_handle_get_property, 4108s # _org_project_callable_iface_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return org_project_callable_iface_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # org_project_callable_iface_skeleton_finalize (GObject *object) 4108s # { 4108s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * org_project_callable_iface_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 4108s # * 4108s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 4108s # */ 4108s # OrgProjectCallableIface * 4108s # org_project_callable_iface_skeleton_new (void) 4108s # { 4108s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 4108s # } 4108s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 4108s # tmpdir: /tmp/tmpgw8xxiiz 4108s # codegen: /usr/bin/gdbus-codegen 4108s # /tmp/tmpgw8xxiiz/tmpi2lvg06b.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgw8xxiiz/tmpi2lvg06b.xml', '--output', '-', '--body'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: /* 4108s # * This file is generated by gdbus-codegen, do not modify it. 4108s # * 4108s # * The license of this code is the same as for the D-Bus interface description 4108s # * it was derived from. Note that it links to GLib, so must comply with the 4108s # * LGPL linking clauses. 4108s # */ 4108s # 4108s # #ifdef HAVE_CONFIG_H 4108s # # include "config.h" 4108s # #endif 4108s # 4108s # #include 4108s # #ifdef G_OS_UNIX 4108s # # include 4108s # #endif 4108s # 4108s # #ifdef G_ENABLE_DEBUG 4108s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4108s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4108s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4108s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4108s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4108s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4108s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4108s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4108s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4108s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4108s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4108s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4108s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4108s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4108s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4108s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4108s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4108s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4108s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4108s # #else /* !G_ENABLE_DEBUG */ 4108s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4108s # * Do not access GValues directly in your code. Instead, use the 4108s # * g_value_get_*() functions 4108s # */ 4108s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4108s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4108s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4108s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4108s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4108s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4108s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4108s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4108s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4108s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4108s # #endif /* !G_ENABLE_DEBUG */ 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusArgInfo parent_struct; 4108s # gboolean use_gvariant; 4108s # } _ExtendedGDBusArgInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusMethodInfo parent_struct; 4108s # const gchar *signal_name; 4108s # gboolean pass_fdlist; 4108s # } _ExtendedGDBusMethodInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusSignalInfo parent_struct; 4108s # const gchar *signal_name; 4108s # } _ExtendedGDBusSignalInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusPropertyInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # guint use_gvariant : 1; 4108s # guint emits_changed_signal : 1; 4108s # } _ExtendedGDBusPropertyInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # GDBusInterfaceInfo parent_struct; 4108s # const gchar *hyphen_name; 4108s # } _ExtendedGDBusInterfaceInfo; 4108s # 4108s # typedef struct 4108s # { 4108s # const _ExtendedGDBusPropertyInfo *info; 4108s # guint prop_id; 4108s # GValue orig_value; /* the value before the change */ 4108s # } ChangedProperty; 4108s # 4108s # static void 4108s # _changed_property_free (ChangedProperty *data) 4108s # { 4108s # g_value_unset (&data->orig_value); 4108s # g_free (data); 4108s # } 4108s # 4108s # static gboolean 4108s # _g_strv_equal0 (gchar **a, gchar **b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # guint n; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # if (g_strv_length (a) != g_strv_length (b)) 4108s # goto out; 4108s # for (n = 0; a[n] != NULL; n++) 4108s # if (g_strcmp0 (a[n], b[n]) != 0) 4108s # goto out; 4108s # ret = TRUE; 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _g_variant_equal0 (GVariant *a, GVariant *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # if (a == NULL && b == NULL) 4108s # { 4108s # ret = TRUE; 4108s # goto out; 4108s # } 4108s # if (a == NULL || b == NULL) 4108s # goto out; 4108s # ret = g_variant_equal (a, b); 4108s # out: 4108s # return ret; 4108s # } 4108s # 4108s # G_GNUC_UNUSED static gboolean 4108s # _g_value_equal (const GValue *a, const GValue *b) 4108s # { 4108s # gboolean ret = FALSE; 4108s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4108s # switch (G_VALUE_TYPE (a)) 4108s # { 4108s # case G_TYPE_BOOLEAN: 4108s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4108s # break; 4108s # case G_TYPE_UCHAR: 4108s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4108s # break; 4108s # case G_TYPE_INT: 4108s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4108s # break; 4108s # case G_TYPE_UINT: 4108s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4108s # break; 4108s # case G_TYPE_INT64: 4108s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4108s # break; 4108s # case G_TYPE_UINT64: 4108s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4108s # break; 4108s # case G_TYPE_DOUBLE: 4108s # { 4108s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4108s # gdouble da = g_value_get_double (a); 4108s # gdouble db = g_value_get_double (b); 4108s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4108s # } 4108s # break; 4108s # case G_TYPE_STRING: 4108s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4108s # break; 4108s # case G_TYPE_VARIANT: 4108s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4108s # break; 4108s # default: 4108s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4108s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4108s # else 4108s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4108s # break; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static void 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint G_GNUC_UNUSED, 4108s # void *marshal_data) 4108s # { 4108s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 4108s # (void *data1, 4108s # GUnixFDList *arg_fd_list, 4108s # GDBusMethodInvocation *arg_method_invocation, 4108s # const gchar *arg_greeting, 4108s # void *data2); 4108s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 4108s # GCClosure *cc = (GCClosure*) closure; 4108s # void *data1, *data2; 4108s # gboolean v_return; 4108s # 4108s # g_return_if_fail (return_value != NULL); 4108s # g_return_if_fail (n_param_values == 4); 4108s # 4108s # if (G_CCLOSURE_SWAP_DATA (closure)) 4108s # { 4108s # data1 = closure->data; 4108s # data2 = g_value_peek_pointer (param_values + 0); 4108s # } 4108s # else 4108s # { 4108s # data1 = g_value_peek_pointer (param_values + 0); 4108s # data2 = closure->data; 4108s # } 4108s # 4108s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 4108s # (marshal_data ? marshal_data : cc->callback); 4108s # 4108s # v_return = 4108s # callback (data1, 4108s # g_marshal_value_peek_object (param_values + 1), 4108s # g_marshal_value_peek_object (param_values + 2), 4108s # g_marshal_value_peek_string (param_values + 3), 4108s # data2); 4108s # 4108s # g_value_set_boolean (return_value, v_return); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ 4108s # * Code for interface test.FDPassing 4108s # * ------------------------------------------------------------------------ 4108s # */ 4108s # 4108s # /** 4108s # * SECTION:TestFDPassing 4108s # * @title: TestFDPassing 4108s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 4108s # * 4108s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 4108s # */ 4108s # 4108s # /* ---- Introspection data for test.FDPassing ---- */ 4108s # 4108s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "greeting", 4108s # (gchar *) "s", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 4108s # { 4108s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "response", 4108s # (gchar *) "s", 4108s # NULL 4108s # }, 4108s # FALSE 4108s # }; 4108s # 4108s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 4108s # { 4108s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "HelloFD", 4108s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 4108s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 4108s # NULL 4108s # }, 4108s # "handle-hello-fd", 4108s # TRUE 4108s # }; 4108s # 4108s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 4108s # { 4108s # &_test_fdpassing_method_info_hello_fd.parent_struct, 4108s # NULL 4108s # }; 4108s # 4108s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 4108s # { 4108s # { 4108s # -1, 4108s # (gchar *) "test.FDPassing", 4108s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 4108s # NULL, 4108s # NULL, 4108s # NULL 4108s # }, 4108s # "test-fdpassing", 4108s # }; 4108s # 4108s # 4108s # /** 4108s # * test_fdpassing_interface_info: 4108s # * 4108s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 4108s # * 4108s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4108s # */ 4108s # GDBusInterfaceInfo * 4108s # test_fdpassing_interface_info (void) 4108s # { 4108s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 4108s # } 4108s # 4108s # /** 4108s # * test_fdpassing_override_properties: 4108s # * @klass: The class structure for a #GObject derived class. 4108s # * @property_id_begin: The property id to assign to the first overridden property. 4108s # * 4108s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 4108s # * The properties are overridden in the order they are defined. 4108s # * 4108s # * Returns: The last property id. 4108s # */ 4108s # guint 4108s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4108s # { 4108s # return property_id_begin - 1; 4108s # } 4108s # 4108s # 4108s # inline static void 4108s # test_fdpassing_method_marshal_hello_fd ( 4108s # GClosure *closure, 4108s # GValue *return_value, 4108s # unsigned int n_param_values, 4108s # const GValue *param_values, 4108s # void *invocation_hint, 4108s # void *marshal_data) 4108s # { 4108s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 4108s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4108s # } 4108s # 4108s # 4108s # /** 4108s # * TestFDPassing: 4108s # * 4108s # * Abstract interface type for the D-Bus interface test.FDPassing. 4108s # */ 4108s # 4108s # /** 4108s # * TestFDPassingIface: 4108s # * @parent_iface: The parent interface. 4108s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 4108s # * 4108s # * Virtual table for the D-Bus interface test.FDPassing. 4108s # */ 4108s # 4108s # typedef TestFDPassingIface TestFDPassingInterface; 4108s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 4108s # 4108s # static void 4108s # test_fdpassing_default_init (TestFDPassingIface *iface) 4108s # { 4108s # /* GObject signals for incoming D-Bus method calls: */ 4108s # /** 4108s # * TestFDPassing::handle-hello-fd: 4108s # * @object: A #TestFDPassing. 4108s # * @invocation: A #GDBusMethodInvocation. 4108s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 4108s # * @arg_greeting: Argument passed by remote caller. 4108s # * 4108s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 4108s # * 4108s # * 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. 4108s # * 4108s # * 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. 4108s # */ 4108s # g_signal_new ("handle-hello-fd", 4108s # G_TYPE_FROM_INTERFACE (iface), 4108s # G_SIGNAL_RUN_LAST, 4108s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 4108s # g_signal_accumulator_true_handled, 4108s # NULL, 4108s # test_fdpassing_method_marshal_hello_fd, 4108s # G_TYPE_BOOLEAN, 4108s # 3, 4108s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 4108s # 4108s # } 4108s # 4108s # /** 4108s # * test_fdpassing_call_hello_fd: 4108s # * @proxy: A #TestFDPassingProxy. 4108s # * @arg_greeting: Argument to pass with the method invocation. 4108s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 4108s # * 4108s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 4108s # */ 4108s # void 4108s # test_fdpassing_call_hello_fd ( 4108s # TestFDPassing *proxy, 4108s # const gchar *arg_greeting, 4108s # GUnixFDList *fd_list, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 4108s # "HelloFD", 4108s # g_variant_new ("(s)", 4108s # arg_greeting), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # fd_list, 4108s # cancellable, 4108s # callback, 4108s # user_data); 4108s # } 4108s # 4108s # /** 4108s # * test_fdpassing_call_hello_fd_finish: 4108s # * @proxy: A #TestFDPassingProxy. 4108s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_fd_list: (out) (optional): Return location for a #GUnixFDList or %NULL to ignore. 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # test_fdpassing_call_hello_fd_finish ( 4108s # TestFDPassing *proxy, 4108s # gchar **out_response, 4108s # GUnixFDList **out_fd_list, 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(s)", 4108s # out_response); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * test_fdpassing_call_hello_fd_sync: 4108s # * @proxy: A #TestFDPassingProxy. 4108s # * @arg_greeting: Argument to pass with the method invocation. 4108s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 4108s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 4108s # * @out_fd_list: (out): Return location for a #GUnixFDList or %NULL. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL. 4108s # * 4108s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4108s # * 4108s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 4108s # * 4108s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4108s # */ 4108s # gboolean 4108s # test_fdpassing_call_hello_fd_sync ( 4108s # TestFDPassing *proxy, 4108s # const gchar *arg_greeting, 4108s # GUnixFDList *fd_list, 4108s # gchar **out_response, 4108s # GUnixFDList **out_fd_list, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GVariant *_ret; 4108s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 4108s # "HelloFD", 4108s # g_variant_new ("(s)", 4108s # arg_greeting), 4108s # G_DBUS_CALL_FLAGS_NONE, 4108s # -1, 4108s # fd_list, 4108s # out_fd_list, 4108s # cancellable, 4108s # error); 4108s # if (_ret == NULL) 4108s # goto _out; 4108s # g_variant_get (_ret, 4108s # "(s)", 4108s # out_response); 4108s # g_variant_unref (_ret); 4108s # _out: 4108s # return _ret != NULL; 4108s # } 4108s # 4108s # /** 4108s # * test_fdpassing_complete_hello_fd: 4108s # * @object: A #TestFDPassing. 4108s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4108s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 4108s # * @response: Parameter to return. 4108s # * 4108s # * 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. 4108s # * 4108s # * This method will free @invocation, you cannot use it afterwards. 4108s # */ 4108s # void 4108s # test_fdpassing_complete_hello_fd ( 4108s # TestFDPassing *object G_GNUC_UNUSED, 4108s # GDBusMethodInvocation *invocation, 4108s # GUnixFDList *fd_list, 4108s # const gchar *response) 4108s # { 4108s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 4108s # g_variant_new ("(s)", 4108s # response), 4108s # fd_list); 4108s # } 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * TestFDPassingProxy: 4108s # * 4108s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * TestFDPassingProxyClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #TestFDPassingProxy. 4108s # */ 4108s # 4108s # struct _TestFDPassingProxyPrivate 4108s # { 4108s # GData *qdata; 4108s # }; 4108s # 4108s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 4108s # G_ADD_PRIVATE (TestFDPassingProxy) 4108s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 4108s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # test_fdpassing_proxy_finalize (GObject *object) 4108s # { 4108s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 4108s # g_datalist_clear (&proxy->priv->qdata); 4108s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 4108s # guint prop_id G_GNUC_UNUSED, 4108s # const GValue *value G_GNUC_UNUSED, 4108s # GParamSpec *pspec G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void 4108s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 4108s # const gchar *sender_name G_GNUC_UNUSED, 4108s # const gchar *signal_name, 4108s # GVariant *parameters) 4108s # { 4108s # _ExtendedGDBusSignalInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # gsize n; 4108s # guint signal_id; 4108s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 4108s # if (info == NULL) 4108s # return; 4108s # num_params = g_variant_n_children (parameters); 4108s # paramv = g_new0 (GValue, num_params + 1); 4108s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 4108s # g_value_set_object (¶mv[0], proxy); 4108s # g_variant_iter_init (&iter, parameters); 4108s # n = 1; 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 4108s # g_signal_emitv (paramv, signal_id, 0, NULL); 4108s # for (n = 0; n < num_params + 1; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static void 4108s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 4108s # GVariant *changed_properties, 4108s # const gchar *const *invalidated_properties) 4108s # { 4108s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 4108s # guint n; 4108s # const gchar *key; 4108s # GVariantIter *iter; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # g_variant_get (changed_properties, "a{sv}", &iter); 4108s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 4108s # g_datalist_remove_data (&proxy->priv->qdata, key); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # g_variant_iter_free (iter); 4108s # for (n = 0; invalidated_properties[n] != NULL; n++) 4108s # { 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 4108s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4108s # if (info != NULL) 4108s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4108s # } 4108s # } 4108s # 4108s # static void 4108s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 4108s # #else 4108s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 4108s # #endif 4108s # 4108s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 4108s # } 4108s # 4108s # static void 4108s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusProxyClass *proxy_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = test_fdpassing_proxy_finalize; 4108s # gobject_class->get_property = test_fdpassing_proxy_get_property; 4108s # gobject_class->set_property = test_fdpassing_proxy_set_property; 4108s # 4108s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4108s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 4108s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * test_fdpassing_proxy_new: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 4108s # * 4108s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # test_fdpassing_proxy_new ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # 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); 4108s # } 4108s # 4108s # /** 4108s # * test_fdpassing_proxy_new_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with test_fdpassing_proxy_new(). 4108s # * 4108s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # TestFDPassing * 4108s # test_fdpassing_proxy_new_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return TEST_FDPASSING (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * test_fdpassing_proxy_new_sync: 4108s # * @connection: A #GDBusConnection. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # TestFDPassing * 4108s # test_fdpassing_proxy_new_sync ( 4108s # GDBusConnection *connection, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return TEST_FDPASSING (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /** 4108s # * test_fdpassing_proxy_new_for_bus: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4108s # * @user_data: User data to pass to @callback. 4108s # * 4108s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4108s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 4108s # * 4108s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4108s # */ 4108s # void 4108s # test_fdpassing_proxy_new_for_bus ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GAsyncReadyCallback callback, 4108s # gpointer user_data) 4108s # { 4108s # 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); 4108s # } 4108s # 4108s # /** 4108s # * test_fdpassing_proxy_new_for_bus_finish: 4108s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 4108s # * 4108s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # TestFDPassing * 4108s # test_fdpassing_proxy_new_for_bus_finish ( 4108s # GAsyncResult *res, 4108s # GError **error) 4108s # { 4108s # GObject *ret; 4108s # GObject *source_object; 4108s # source_object = g_async_result_get_source_object (res); 4108s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4108s # g_object_unref (source_object); 4108s # if (ret != NULL) 4108s # return TEST_FDPASSING (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # /** 4108s # * test_fdpassing_proxy_new_for_bus_sync: 4108s # * @bus_type: A #GBusType. 4108s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4108s # * @name: A bus name (well-known or unique). 4108s # * @object_path: An object path. 4108s # * @cancellable: (nullable): A #GCancellable or %NULL. 4108s # * @error: Return location for error or %NULL 4108s # * 4108s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4108s # * 4108s # * The calling thread is blocked until a reply is received. 4108s # * 4108s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 4108s # * 4108s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 4108s # */ 4108s # TestFDPassing * 4108s # test_fdpassing_proxy_new_for_bus_sync ( 4108s # GBusType bus_type, 4108s # GDBusProxyFlags flags, 4108s # const gchar *name, 4108s # const gchar *object_path, 4108s # GCancellable *cancellable, 4108s # GError **error) 4108s # { 4108s # GInitable *ret; 4108s # 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); 4108s # if (ret != NULL) 4108s # return TEST_FDPASSING (ret); 4108s # else 4108s # return NULL; 4108s # } 4108s # 4108s # 4108s # /* ------------------------------------------------------------------------ */ 4108s # 4108s # /** 4108s # * TestFDPassingSkeleton: 4108s # * 4108s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 4108s # */ 4108s # 4108s # /** 4108s # * TestFDPassingSkeletonClass: 4108s # * @parent_class: The parent class. 4108s # * 4108s # * Class structure for #TestFDPassingSkeleton. 4108s # */ 4108s # 4108s # struct _TestFDPassingSkeletonPrivate 4108s # { 4108s # GValue *properties; 4108s # GList *changed_properties; 4108s # GSource *changed_properties_idle_source; 4108s # GMainContext *context; 4108s # GMutex lock; 4108s # }; 4108s # 4108s # static void 4108s # _test_fdpassing_skeleton_handle_method_call ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name, 4108s # const gchar *method_name, 4108s # GVariant *parameters, 4108s # GDBusMethodInvocation *invocation, 4108s # gpointer user_data) 4108s # { 4108s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 4108s # _ExtendedGDBusMethodInfo *info; 4108s # GVariantIter iter; 4108s # GVariant *child; 4108s # GValue *paramv; 4108s # gsize num_params; 4108s # guint num_extra; 4108s # gsize n; 4108s # guint signal_id; 4108s # GValue return_value = G_VALUE_INIT; 4108s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4108s # g_assert (info != NULL); 4108s # num_params = g_variant_n_children (parameters); 4108s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4108s # n = 0; 4108s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 4108s # g_value_set_object (¶mv[n++], skeleton); 4108s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4108s # g_value_set_object (¶mv[n++], invocation); 4108s # if (info->pass_fdlist) 4108s # { 4108s # #ifdef G_OS_UNIX 4108s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4108s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4108s # #else 4108s # g_assert_not_reached (); 4108s # #endif 4108s # } 4108s # g_variant_iter_init (&iter, parameters); 4108s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4108s # { 4108s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4108s # if (arg_info->use_gvariant) 4108s # { 4108s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4108s # g_value_set_variant (¶mv[n], child); 4108s # n++; 4108s # } 4108s # else 4108s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4108s # g_variant_unref (child); 4108s # } 4108s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 4108s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4108s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4108s # if (!g_value_get_boolean (&return_value)) 4108s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4108s # g_value_unset (&return_value); 4108s # for (n = 0; n < num_params + num_extra; n++) 4108s # g_value_unset (¶mv[n]); 4108s # g_free (paramv); 4108s # } 4108s # 4108s # static GVariant * 4108s # _test_fdpassing_skeleton_handle_get_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # GVariant *ret; 4108s # ret = NULL; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # g_value_init (&value, pspec->value_type); 4108s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4108s # g_value_unset (&value); 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static gboolean 4108s # _test_fdpassing_skeleton_handle_set_property ( 4108s # GDBusConnection *connection G_GNUC_UNUSED, 4108s # const gchar *sender G_GNUC_UNUSED, 4108s # const gchar *object_path G_GNUC_UNUSED, 4108s # const gchar *interface_name G_GNUC_UNUSED, 4108s # const gchar *property_name, 4108s # GVariant *variant, 4108s # GError **error, 4108s # gpointer user_data) 4108s # { 4108s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 4108s # GValue value = G_VALUE_INIT; 4108s # GParamSpec *pspec; 4108s # _ExtendedGDBusPropertyInfo *info; 4108s # gboolean ret; 4108s # ret = FALSE; 4108s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 4108s # g_assert (info != NULL); 4108s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4108s # if (pspec == NULL) 4108s # { 4108s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4108s # } 4108s # else 4108s # { 4108s # if (info->use_gvariant) 4108s # g_value_set_variant (&value, variant); 4108s # else 4108s # g_dbus_gvariant_to_gvalue (variant, &value); 4108s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4108s # g_value_unset (&value); 4108s # ret = TRUE; 4108s # } 4108s # return ret; 4108s # } 4108s # 4108s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 4108s # { 4108s # _test_fdpassing_skeleton_handle_method_call, 4108s # _test_fdpassing_skeleton_handle_get_property, 4108s # _test_fdpassing_skeleton_handle_set_property, 4108s # {NULL} 4108s # }; 4108s # 4108s # static GDBusInterfaceInfo * 4108s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return test_fdpassing_interface_info (); 4108s # } 4108s # 4108s # static GDBusInterfaceVTable * 4108s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4108s # { 4108s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 4108s # } 4108s # 4108s # static GVariant * 4108s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4108s # { 4108s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 4108s # 4108s # GVariantBuilder builder; 4108s # guint n; 4108s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4108s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 4108s # goto out; 4108s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 4108s # { 4108s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 4108s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4108s # { 4108s # GVariant *value; 4108s # 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); 4108s # if (value != NULL) 4108s # { 4108s # g_variant_take_ref (value); 4108s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4108s # g_variant_unref (value); 4108s # } 4108s # } 4108s # } 4108s # out: 4108s # return g_variant_builder_end (&builder); 4108s # } 4108s # 4108s # static void 4108s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_ADD_PRIVATE (TestFDPassingSkeleton) 4108s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 4108s # 4108s # #else 4108s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4108s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 4108s # 4108s # #endif 4108s # static void 4108s # test_fdpassing_skeleton_finalize (GObject *object) 4108s # { 4108s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 4108s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4108s # if (skeleton->priv->changed_properties_idle_source != NULL) 4108s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4108s # g_main_context_unref (skeleton->priv->context); 4108s # g_mutex_clear (&skeleton->priv->lock); 4108s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 4108s # } 4108s # 4108s # static void 4108s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 4108s # { 4108s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4108s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 4108s # #else 4108s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 4108s # #endif 4108s # 4108s # g_mutex_init (&skeleton->priv->lock); 4108s # skeleton->priv->context = g_main_context_ref_thread_default (); 4108s # } 4108s # 4108s # static void 4108s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 4108s # { 4108s # GObjectClass *gobject_class; 4108s # GDBusInterfaceSkeletonClass *skeleton_class; 4108s # 4108s # gobject_class = G_OBJECT_CLASS (klass); 4108s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 4108s # 4108s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4108s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 4108s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 4108s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 4108s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 4108s # 4108s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4108s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 4108s # #endif 4108s # } 4108s # 4108s # static void 4108s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 4108s # { 4108s # } 4108s # 4108s # /** 4108s # * test_fdpassing_skeleton_new: 4108s # * 4108s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 4108s # * 4108s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 4108s # */ 4108s # TestFDPassing * 4108s # test_fdpassing_skeleton_new (void) 4108s # { 4108s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 4108s # } 4108s ok 15 __main__.TestCodegen.test_generate_rst 4108s # tmpdir: /tmp/tmpx5je86o4 4108s # codegen: /usr/bin/gdbus-codegen 4108s # /tmp/tmpx5je86o4/tmpd4fke5r4.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpx5je86o4/tmpd4fke5r4.xml', '--generate-rst', 'test'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: 4108s ok 16 __main__.TestCodegen.test_generate_rst_method 4108s # tmpdir: /tmp/tmpd49u8vzv 4108s # codegen: /usr/bin/gdbus-codegen 4108s # /tmp/tmpd49u8vzv/tmpa8xsswat.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd49u8vzv/tmpa8xsswat.xml', '--generate-rst', 'test'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: 4108s ok 17 __main__.TestCodegen.test_generate_rst_property 4108s # tmpdir: /tmp/tmpomtvh5mr 4108s # codegen: /usr/bin/gdbus-codegen 4108s # /tmp/tmpomtvh5mr/tmpg2ujv71m.xml: 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # 4108s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpomtvh5mr/tmpg2ujv71m.xml', '--generate-rst', 'test'] 4108s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4108s # Output: 4109s ok 18 __main__.TestCodegen.test_generate_rst_signal 4109s # tmpdir: /tmp/tmp2v4pz1ya 4109s # codegen: /usr/bin/gdbus-codegen 4109s # /tmp/tmp2v4pz1ya/tmpa04ef_m1.xml: 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2v4pz1ya/tmpa04ef_m1.xml', '--generate-rst', 'test'] 4109s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4109s # Output: 4109s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 4109s # tmpdir: /tmp/tmpbqb4weqk 4109s # codegen: /usr/bin/gdbus-codegen 4109s # /tmp/tmpbqb4weqk/tmpw39f75qk.xml: 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbqb4weqk/tmpw39f75qk.xml', '--output', '-', '--body'] 4109s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4109s # Output: /* 4109s # * This file is generated by gdbus-codegen, do not modify it. 4109s # * 4109s # * The license of this code is the same as for the D-Bus interface description 4109s # * it was derived from. Note that it links to GLib, so must comply with the 4109s # * LGPL linking clauses. 4109s # */ 4109s # 4109s # #ifdef HAVE_CONFIG_H 4109s # # include "config.h" 4109s # #endif 4109s # 4109s # #include 4109s # #ifdef G_OS_UNIX 4109s # # include 4109s # #endif 4109s # 4109s # #ifdef G_ENABLE_DEBUG 4109s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4109s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4109s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4109s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4109s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4109s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4109s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4109s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4109s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4109s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4109s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4109s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4109s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4109s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4109s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4109s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4109s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4109s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4109s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4109s # #else /* !G_ENABLE_DEBUG */ 4109s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4109s # * Do not access GValues directly in your code. Instead, use the 4109s # * g_value_get_*() functions 4109s # */ 4109s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4109s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4109s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4109s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4109s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4109s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4109s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4109s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4109s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4109s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4109s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4109s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4109s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4109s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4109s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4109s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4109s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4109s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4109s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4109s # #endif /* !G_ENABLE_DEBUG */ 4109s # 4109s # typedef struct 4109s # { 4109s # GDBusArgInfo parent_struct; 4109s # gboolean use_gvariant; 4109s # } _ExtendedGDBusArgInfo; 4109s # 4109s # typedef struct 4109s # { 4109s # GDBusMethodInfo parent_struct; 4109s # const gchar *signal_name; 4109s # gboolean pass_fdlist; 4109s # } _ExtendedGDBusMethodInfo; 4109s # 4109s # typedef struct 4109s # { 4109s # GDBusSignalInfo parent_struct; 4109s # const gchar *signal_name; 4109s # } _ExtendedGDBusSignalInfo; 4109s # 4109s # typedef struct 4109s # { 4109s # GDBusPropertyInfo parent_struct; 4109s # const gchar *hyphen_name; 4109s # guint use_gvariant : 1; 4109s # guint emits_changed_signal : 1; 4109s # } _ExtendedGDBusPropertyInfo; 4109s # 4109s # typedef struct 4109s # { 4109s # GDBusInterfaceInfo parent_struct; 4109s # const gchar *hyphen_name; 4109s # } _ExtendedGDBusInterfaceInfo; 4109s # 4109s # typedef struct 4109s # { 4109s # const _ExtendedGDBusPropertyInfo *info; 4109s # guint prop_id; 4109s # GValue orig_value; /* the value before the change */ 4109s # } ChangedProperty; 4109s # 4109s # static void 4109s # _changed_property_free (ChangedProperty *data) 4109s # { 4109s # g_value_unset (&data->orig_value); 4109s # g_free (data); 4109s # } 4109s # 4109s # static gboolean 4109s # _g_strv_equal0 (gchar **a, gchar **b) 4109s # { 4109s # gboolean ret = FALSE; 4109s # guint n; 4109s # if (a == NULL && b == NULL) 4109s # { 4109s # ret = TRUE; 4109s # goto out; 4109s # } 4109s # if (a == NULL || b == NULL) 4109s # goto out; 4109s # if (g_strv_length (a) != g_strv_length (b)) 4109s # goto out; 4109s # for (n = 0; a[n] != NULL; n++) 4109s # if (g_strcmp0 (a[n], b[n]) != 0) 4109s # goto out; 4109s # ret = TRUE; 4109s # out: 4109s # return ret; 4109s # } 4109s # 4109s # static gboolean 4109s # _g_variant_equal0 (GVariant *a, GVariant *b) 4109s # { 4109s # gboolean ret = FALSE; 4109s # if (a == NULL && b == NULL) 4109s # { 4109s # ret = TRUE; 4109s # goto out; 4109s # } 4109s # if (a == NULL || b == NULL) 4109s # goto out; 4109s # ret = g_variant_equal (a, b); 4109s # out: 4109s # return ret; 4109s # } 4109s # 4109s # G_GNUC_UNUSED static gboolean 4109s # _g_value_equal (const GValue *a, const GValue *b) 4109s # { 4109s # gboolean ret = FALSE; 4109s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4109s # switch (G_VALUE_TYPE (a)) 4109s # { 4109s # case G_TYPE_BOOLEAN: 4109s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4109s # break; 4109s # case G_TYPE_UCHAR: 4109s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4109s # break; 4109s # case G_TYPE_INT: 4109s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4109s # break; 4109s # case G_TYPE_UINT: 4109s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4109s # break; 4109s # case G_TYPE_INT64: 4109s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4109s # break; 4109s # case G_TYPE_UINT64: 4109s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4109s # break; 4109s # case G_TYPE_DOUBLE: 4109s # { 4109s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4109s # gdouble da = g_value_get_double (a); 4109s # gdouble db = g_value_get_double (b); 4109s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4109s # } 4109s # break; 4109s # case G_TYPE_STRING: 4109s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4109s # break; 4109s # case G_TYPE_VARIANT: 4109s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4109s # break; 4109s # default: 4109s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4109s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4109s # else 4109s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4109s # break; 4109s # } 4109s # return ret; 4109s # } 4109s # 4109s # static void 4109s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 4109s # GClosure *closure, 4109s # GValue *return_value G_GNUC_UNUSED, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint G_GNUC_UNUSED, 4109s # void *marshal_data) 4109s # { 4109s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 4109s # (void *data1, 4109s # gboolean arg_an_b, 4109s # guchar arg_an_y, 4109s # gint16 arg_an_n, 4109s # guint16 arg_an_q, 4109s # gint arg_an_i, 4109s # guint arg_an_u, 4109s # gint64 arg_an_x, 4109s # guint64 arg_an_t, 4109s # gdouble arg_an_d, 4109s # const gchar *arg_an_s, 4109s # const gchar *arg_an_o, 4109s # const gchar *arg_an_g, 4109s # GVariant *arg_an_h, 4109s # const gchar *arg_an_ay, 4109s # const gchar *const *arg_an_as, 4109s # const gchar *const *arg_an_ao, 4109s # const gchar *const *arg_an_aay, 4109s # GVariant *arg_an_asv, 4109s # void *data2); 4109s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 4109s # GCClosure *cc = (GCClosure*) closure; 4109s # void *data1, *data2; 4109s # 4109s # g_return_if_fail (n_param_values == 19); 4109s # 4109s # if (G_CCLOSURE_SWAP_DATA (closure)) 4109s # { 4109s # data1 = closure->data; 4109s # data2 = g_value_peek_pointer (param_values + 0); 4109s # } 4109s # else 4109s # { 4109s # data1 = g_value_peek_pointer (param_values + 0); 4109s # data2 = closure->data; 4109s # } 4109s # 4109s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 4109s # (marshal_data ? marshal_data : cc->callback); 4109s # 4109s # callback (data1, 4109s # g_marshal_value_peek_boolean (param_values + 1), 4109s # g_marshal_value_peek_uchar (param_values + 2), 4109s # g_marshal_value_peek_int (param_values + 3), 4109s # g_marshal_value_peek_uint (param_values + 4), 4109s # g_marshal_value_peek_int (param_values + 5), 4109s # g_marshal_value_peek_uint (param_values + 6), 4109s # g_marshal_value_peek_int64 (param_values + 7), 4109s # g_marshal_value_peek_uint64 (param_values + 8), 4109s # g_marshal_value_peek_double (param_values + 9), 4109s # g_marshal_value_peek_string (param_values + 10), 4109s # g_marshal_value_peek_string (param_values + 11), 4109s # g_marshal_value_peek_string (param_values + 12), 4109s # g_marshal_value_peek_variant (param_values + 13), 4109s # g_marshal_value_peek_string (param_values + 14), 4109s # g_marshal_value_peek_boxed (param_values + 15), 4109s # g_marshal_value_peek_boxed (param_values + 16), 4109s # g_marshal_value_peek_boxed (param_values + 17), 4109s # g_marshal_value_peek_variant (param_values + 18), 4109s # data2); 4109s # } 4109s # 4109s # /* ------------------------------------------------------------------------ 4109s # * Code for interface org.project.SignalingIface 4109s # * ------------------------------------------------------------------------ 4109s # */ 4109s # 4109s # /** 4109s # * SECTION:OrgProjectSignalingIface 4109s # * @title: OrgProjectSignalingIface 4109s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4109s # * 4109s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4109s # */ 4109s # 4109s # enum 4109s # { 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 4109s # }; 4109s # 4109s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 4109s # 4109s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_b", 4109s # (gchar *) "b", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_y", 4109s # (gchar *) "y", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_n", 4109s # (gchar *) "n", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_q", 4109s # (gchar *) "q", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_i", 4109s # (gchar *) "i", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_u", 4109s # (gchar *) "u", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_x", 4109s # (gchar *) "x", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_t", 4109s # (gchar *) "t", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_d", 4109s # (gchar *) "d", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_s", 4109s # (gchar *) "s", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_o", 4109s # (gchar *) "o", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_g", 4109s # (gchar *) "g", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_h", 4109s # (gchar *) "h", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_ay", 4109s # (gchar *) "ay", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_as", 4109s # (gchar *) "as", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_ao", 4109s # (gchar *) "ao", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_aay", 4109s # (gchar *) "aay", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_asv", 4109s # (gchar *) "a{sv}", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SignalWithManyArgs", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "signal-with-many-args" 4109s # }; 4109s # 4109s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "org.project.SignalingIface", 4109s # NULL, 4109s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4109s # NULL, 4109s # NULL 4109s # }, 4109s # "org-project-signaling-iface", 4109s # }; 4109s # 4109s # 4109s # /** 4109s # * org_project_signaling_iface_interface_info: 4109s # * 4109s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4109s # * 4109s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4109s # */ 4109s # GDBusInterfaceInfo * 4109s # org_project_signaling_iface_interface_info (void) 4109s # { 4109s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_override_properties: 4109s # * @klass: The class structure for a #GObject derived class. 4109s # * @property_id_begin: The property id to assign to the first overridden property. 4109s # * 4109s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4109s # * The properties are overridden in the order they are defined. 4109s # * 4109s # * Returns: The last property id. 4109s # */ 4109s # guint 4109s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4109s # { 4109s # return property_id_begin - 1; 4109s # } 4109s # 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface: 4109s # * 4109s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4109s # */ 4109s # 4109s # /** 4109s # * OrgProjectSignalingIfaceIface: 4109s # * @parent_iface: The parent interface. 4109s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 4109s # * 4109s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4109s # */ 4109s # 4109s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4109s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4109s # 4109s # static void 4109s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4109s # { 4109s # /* GObject signals for received D-Bus signals: */ 4109s # /** 4109s # * OrgProjectSignalingIface::signal-with-many-args: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_b: Argument. 4109s # * @arg_an_y: Argument. 4109s # * @arg_an_n: Argument. 4109s # * @arg_an_q: Argument. 4109s # * @arg_an_i: Argument. 4109s # * @arg_an_u: Argument. 4109s # * @arg_an_x: Argument. 4109s # * @arg_an_t: Argument. 4109s # * @arg_an_d: Argument. 4109s # * @arg_an_s: Argument. 4109s # * @arg_an_o: Argument. 4109s # * @arg_an_g: Argument. 4109s # * @arg_an_h: Argument. 4109s # * @arg_an_ay: Argument. 4109s # * @arg_an_as: Argument. 4109s # * @arg_an_ao: Argument. 4109s # * @arg_an_aay: Argument. 4109s # * @arg_an_asv: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 4109s # g_signal_new ("signal-with-many-args", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 4109s # G_TYPE_NONE, 4109s # 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); 4109s # 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_signal_with_many_args: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_b: Argument to pass with the signal. 4109s # * @arg_an_y: Argument to pass with the signal. 4109s # * @arg_an_n: Argument to pass with the signal. 4109s # * @arg_an_q: Argument to pass with the signal. 4109s # * @arg_an_i: Argument to pass with the signal. 4109s # * @arg_an_u: Argument to pass with the signal. 4109s # * @arg_an_x: Argument to pass with the signal. 4109s # * @arg_an_t: Argument to pass with the signal. 4109s # * @arg_an_d: Argument to pass with the signal. 4109s # * @arg_an_s: Argument to pass with the signal. 4109s # * @arg_an_o: Argument to pass with the signal. 4109s # * @arg_an_g: Argument to pass with the signal. 4109s # * @arg_an_h: Argument to pass with the signal. 4109s # * @arg_an_ay: Argument to pass with the signal. 4109s # * @arg_an_as: Argument to pass with the signal. 4109s # * @arg_an_ao: Argument to pass with the signal. 4109s # * @arg_an_aay: Argument to pass with the signal. 4109s # * @arg_an_asv: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SignalWithManyArgs" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_signal_with_many_args ( 4109s # OrgProjectSignalingIface *object, 4109s # gboolean arg_an_b, 4109s # guchar arg_an_y, 4109s # gint16 arg_an_n, 4109s # guint16 arg_an_q, 4109s # gint arg_an_i, 4109s # guint arg_an_u, 4109s # gint64 arg_an_x, 4109s # guint64 arg_an_t, 4109s # gdouble arg_an_d, 4109s # const gchar *arg_an_s, 4109s # const gchar *arg_an_o, 4109s # const gchar *arg_an_g, 4109s # GVariant *arg_an_h, 4109s # const gchar *arg_an_ay, 4109s # const gchar *const *arg_an_as, 4109s # const gchar *const *arg_an_ao, 4109s # const gchar *const *arg_an_aay, 4109s # GVariant *arg_an_asv) 4109s # { 4109s # 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); 4109s # } 4109s # 4109s # /* ------------------------------------------------------------------------ */ 4109s # 4109s # /** 4109s # * OrgProjectSignalingIfaceProxy: 4109s # * 4109s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4109s # */ 4109s # 4109s # /** 4109s # * OrgProjectSignalingIfaceProxyClass: 4109s # * @parent_class: The parent class. 4109s # * 4109s # * Class structure for #OrgProjectSignalingIfaceProxy. 4109s # */ 4109s # 4109s # struct _OrgProjectSignalingIfaceProxyPrivate 4109s # { 4109s # GData *qdata; 4109s # }; 4109s # 4109s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4109s # 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4109s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4109s # 4109s # #else 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4109s # 4109s # #endif 4109s # static void 4109s # org_project_signaling_iface_proxy_finalize (GObject *object) 4109s # { 4109s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4109s # g_datalist_clear (&proxy->priv->qdata); 4109s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4109s # guint prop_id G_GNUC_UNUSED, 4109s # GValue *value G_GNUC_UNUSED, 4109s # GParamSpec *pspec G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4109s # guint prop_id G_GNUC_UNUSED, 4109s # const GValue *value G_GNUC_UNUSED, 4109s # GParamSpec *pspec G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4109s # const gchar *sender_name G_GNUC_UNUSED, 4109s # const gchar *signal_name, 4109s # GVariant *parameters) 4109s # { 4109s # _ExtendedGDBusSignalInfo *info; 4109s # GVariantIter iter; 4109s # GVariant *child; 4109s # GValue *paramv; 4109s # gsize num_params; 4109s # gsize n; 4109s # guint signal_id; 4109s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4109s # if (info == NULL) 4109s # return; 4109s # num_params = g_variant_n_children (parameters); 4109s # paramv = g_new0 (GValue, num_params + 1); 4109s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4109s # g_value_set_object (¶mv[0], proxy); 4109s # g_variant_iter_init (&iter, parameters); 4109s # n = 1; 4109s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4109s # { 4109s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4109s # if (arg_info->use_gvariant) 4109s # { 4109s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4109s # g_value_set_variant (¶mv[n], child); 4109s # n++; 4109s # } 4109s # else 4109s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4109s # g_variant_unref (child); 4109s # } 4109s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4109s # g_signal_emitv (paramv, signal_id, 0, NULL); 4109s # for (n = 0; n < num_params + 1; n++) 4109s # g_value_unset (¶mv[n]); 4109s # g_free (paramv); 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4109s # GVariant *changed_properties, 4109s # const gchar *const *invalidated_properties) 4109s # { 4109s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4109s # guint n; 4109s # const gchar *key; 4109s # GVariantIter *iter; 4109s # _ExtendedGDBusPropertyInfo *info; 4109s # g_variant_get (changed_properties, "a{sv}", &iter); 4109s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4109s # { 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4109s # g_datalist_remove_data (&proxy->priv->qdata, key); 4109s # if (info != NULL) 4109s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4109s # } 4109s # g_variant_iter_free (iter); 4109s # for (n = 0; invalidated_properties[n] != NULL; n++) 4109s # { 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4109s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4109s # if (info != NULL) 4109s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4109s # } 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4109s # { 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4109s # #else 4109s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4109s # #endif 4109s # 4109s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4109s # { 4109s # GObjectClass *gobject_class; 4109s # GDBusProxyClass *proxy_class; 4109s # 4109s # gobject_class = G_OBJECT_CLASS (klass); 4109s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4109s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4109s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4109s # 4109s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4109s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4109s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4109s # 4109s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4109s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4109s # #endif 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_proxy_new: 4109s # * @connection: A #GDBusConnection. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4109s # * @user_data: User data to pass to @callback. 4109s # * 4109s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4109s # * 4109s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4109s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4109s # * 4109s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_proxy_new ( 4109s # GDBusConnection *connection, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GAsyncReadyCallback callback, 4109s # gpointer user_data) 4109s # { 4109s # 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); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_proxy_new_finish: 4109s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectSignalingIface * 4109s # org_project_signaling_iface_proxy_new_finish ( 4109s # GAsyncResult *res, 4109s # GError **error) 4109s # { 4109s # GObject *ret; 4109s # GObject *source_object; 4109s # source_object = g_async_result_get_source_object (res); 4109s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4109s # g_object_unref (source_object); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_proxy_new_sync: 4109s # * @connection: A #GDBusConnection. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4109s # * 4109s # * The calling thread is blocked until a reply is received. 4109s # * 4109s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectSignalingIface * 4109s # org_project_signaling_iface_proxy_new_sync ( 4109s # GDBusConnection *connection, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GError **error) 4109s # { 4109s # GInitable *ret; 4109s # 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); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # 4109s # /** 4109s # * org_project_signaling_iface_proxy_new_for_bus: 4109s # * @bus_type: A #GBusType. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: A bus name (well-known or unique). 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4109s # * @user_data: User data to pass to @callback. 4109s # * 4109s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4109s # * 4109s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4109s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4109s # * 4109s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_proxy_new_for_bus ( 4109s # GBusType bus_type, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GAsyncReadyCallback callback, 4109s # gpointer user_data) 4109s # { 4109s # 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); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4109s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectSignalingIface * 4109s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4109s # GAsyncResult *res, 4109s # GError **error) 4109s # { 4109s # GObject *ret; 4109s # GObject *source_object; 4109s # source_object = g_async_result_get_source_object (res); 4109s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4109s # g_object_unref (source_object); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4109s # * @bus_type: A #GBusType. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: A bus name (well-known or unique). 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4109s # * 4109s # * The calling thread is blocked until a reply is received. 4109s # * 4109s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectSignalingIface * 4109s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4109s # GBusType bus_type, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GError **error) 4109s # { 4109s # GInitable *ret; 4109s # 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); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # 4109s # /* ------------------------------------------------------------------------ */ 4109s # 4109s # /** 4109s # * OrgProjectSignalingIfaceSkeleton: 4109s # * 4109s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4109s # */ 4109s # 4109s # /** 4109s # * OrgProjectSignalingIfaceSkeletonClass: 4109s # * @parent_class: The parent class. 4109s # * 4109s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4109s # */ 4109s # 4109s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4109s # { 4109s # GValue *properties; 4109s # GList *changed_properties; 4109s # GSource *changed_properties_idle_source; 4109s # GMainContext *context; 4109s # GMutex lock; 4109s # }; 4109s # 4109s # static void 4109s # _org_project_signaling_iface_skeleton_handle_method_call ( 4109s # GDBusConnection *connection G_GNUC_UNUSED, 4109s # const gchar *sender G_GNUC_UNUSED, 4109s # const gchar *object_path G_GNUC_UNUSED, 4109s # const gchar *interface_name, 4109s # const gchar *method_name, 4109s # GVariant *parameters, 4109s # GDBusMethodInvocation *invocation, 4109s # gpointer user_data) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4109s # _ExtendedGDBusMethodInfo *info; 4109s # GVariantIter iter; 4109s # GVariant *child; 4109s # GValue *paramv; 4109s # gsize num_params; 4109s # guint num_extra; 4109s # gsize n; 4109s # guint signal_id; 4109s # GValue return_value = G_VALUE_INIT; 4109s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4109s # g_assert (info != NULL); 4109s # num_params = g_variant_n_children (parameters); 4109s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4109s # n = 0; 4109s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4109s # g_value_set_object (¶mv[n++], skeleton); 4109s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4109s # g_value_set_object (¶mv[n++], invocation); 4109s # if (info->pass_fdlist) 4109s # { 4109s # #ifdef G_OS_UNIX 4109s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4109s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4109s # #else 4109s # g_assert_not_reached (); 4109s # #endif 4109s # } 4109s # g_variant_iter_init (&iter, parameters); 4109s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4109s # { 4109s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4109s # if (arg_info->use_gvariant) 4109s # { 4109s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4109s # g_value_set_variant (¶mv[n], child); 4109s # n++; 4109s # } 4109s # else 4109s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4109s # g_variant_unref (child); 4109s # } 4109s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4109s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4109s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4109s # if (!g_value_get_boolean (&return_value)) 4109s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4109s # g_value_unset (&return_value); 4109s # for (n = 0; n < num_params + num_extra; n++) 4109s # g_value_unset (¶mv[n]); 4109s # g_free (paramv); 4109s # } 4109s # 4109s # static GVariant * 4109s # _org_project_signaling_iface_skeleton_handle_get_property ( 4109s # GDBusConnection *connection G_GNUC_UNUSED, 4109s # const gchar *sender G_GNUC_UNUSED, 4109s # const gchar *object_path G_GNUC_UNUSED, 4109s # const gchar *interface_name G_GNUC_UNUSED, 4109s # const gchar *property_name, 4109s # GError **error, 4109s # gpointer user_data) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4109s # GValue value = G_VALUE_INIT; 4109s # GParamSpec *pspec; 4109s # _ExtendedGDBusPropertyInfo *info; 4109s # GVariant *ret; 4109s # ret = NULL; 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4109s # g_assert (info != NULL); 4109s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4109s # if (pspec == NULL) 4109s # { 4109s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4109s # } 4109s # else 4109s # { 4109s # g_value_init (&value, pspec->value_type); 4109s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4109s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4109s # g_value_unset (&value); 4109s # } 4109s # return ret; 4109s # } 4109s # 4109s # static gboolean 4109s # _org_project_signaling_iface_skeleton_handle_set_property ( 4109s # GDBusConnection *connection G_GNUC_UNUSED, 4109s # const gchar *sender G_GNUC_UNUSED, 4109s # const gchar *object_path G_GNUC_UNUSED, 4109s # const gchar *interface_name G_GNUC_UNUSED, 4109s # const gchar *property_name, 4109s # GVariant *variant, 4109s # GError **error, 4109s # gpointer user_data) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4109s # GValue value = G_VALUE_INIT; 4109s # GParamSpec *pspec; 4109s # _ExtendedGDBusPropertyInfo *info; 4109s # gboolean ret; 4109s # ret = FALSE; 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4109s # g_assert (info != NULL); 4109s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4109s # if (pspec == NULL) 4109s # { 4109s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4109s # } 4109s # else 4109s # { 4109s # if (info->use_gvariant) 4109s # g_value_set_variant (&value, variant); 4109s # else 4109s # g_dbus_gvariant_to_gvalue (variant, &value); 4109s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4109s # g_value_unset (&value); 4109s # ret = TRUE; 4109s # } 4109s # return ret; 4109s # } 4109s # 4109s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4109s # { 4109s # _org_project_signaling_iface_skeleton_handle_method_call, 4109s # _org_project_signaling_iface_skeleton_handle_get_property, 4109s # _org_project_signaling_iface_skeleton_handle_set_property, 4109s # {NULL} 4109s # }; 4109s # 4109s # static GDBusInterfaceInfo * 4109s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4109s # { 4109s # return org_project_signaling_iface_interface_info (); 4109s # } 4109s # 4109s # static GDBusInterfaceVTable * 4109s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4109s # { 4109s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4109s # } 4109s # 4109s # static GVariant * 4109s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4109s # 4109s # GVariantBuilder builder; 4109s # guint n; 4109s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4109s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4109s # goto out; 4109s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4109s # { 4109s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4109s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4109s # { 4109s # GVariant *value; 4109s # 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); 4109s # if (value != NULL) 4109s # { 4109s # g_variant_take_ref (value); 4109s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4109s # g_variant_unref (value); 4109s # } 4109s # } 4109s # } 4109s # out: 4109s # return g_variant_builder_end (&builder); 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 4109s # OrgProjectSignalingIface *object, 4109s # gboolean arg_an_b, 4109s # guchar arg_an_y, 4109s # gint16 arg_an_n, 4109s # guint16 arg_an_q, 4109s # gint arg_an_i, 4109s # guint arg_an_u, 4109s # gint64 arg_an_x, 4109s # guint64 arg_an_t, 4109s # gdouble arg_an_d, 4109s # const gchar *arg_an_s, 4109s # const gchar *arg_an_o, 4109s # const gchar *arg_an_g, 4109s # GVariant *arg_an_h, 4109s # const gchar *arg_an_ay, 4109s # const gchar *const *arg_an_as, 4109s # const gchar *const *arg_an_ao, 4109s # const gchar *const *arg_an_aay, 4109s # GVariant *arg_an_asv) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 4109s # arg_an_b, 4109s # arg_an_y, 4109s # arg_an_n, 4109s # arg_an_q, 4109s # arg_an_i, 4109s # arg_an_u, 4109s # arg_an_x, 4109s # arg_an_t, 4109s # arg_an_d, 4109s # arg_an_s, 4109s # arg_an_o, 4109s # arg_an_g, 4109s # arg_an_h, 4109s # arg_an_ay, 4109s # arg_an_as, 4109s # arg_an_ao, 4109s # arg_an_aay, 4109s # arg_an_asv)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4109s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4109s # 4109s # #else 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4109s # 4109s # #endif 4109s # static void 4109s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4109s # if (skeleton->priv->changed_properties_idle_source != NULL) 4109s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4109s # g_main_context_unref (skeleton->priv->context); 4109s # g_mutex_clear (&skeleton->priv->lock); 4109s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4109s # { 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4109s # #else 4109s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4109s # #endif 4109s # 4109s # g_mutex_init (&skeleton->priv->lock); 4109s # skeleton->priv->context = g_main_context_ref_thread_default (); 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4109s # { 4109s # GObjectClass *gobject_class; 4109s # GDBusInterfaceSkeletonClass *skeleton_class; 4109s # 4109s # gobject_class = G_OBJECT_CLASS (klass); 4109s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4109s # 4109s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4109s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4109s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4109s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4109s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4109s # 4109s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4109s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4109s # #endif 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4109s # { 4109s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_skeleton_new: 4109s # * 4109s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4109s # */ 4109s # OrgProjectSignalingIface * 4109s # org_project_signaling_iface_skeleton_new (void) 4109s # { 4109s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4109s # } 4109s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 4109s # tmpdir: /tmp/tmpi0uigazr 4109s # codegen: /usr/bin/gdbus-codegen 4109s # /tmp/tmpi0uigazr/tmpkvwyayhz.xml: 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi0uigazr/tmpkvwyayhz.xml', '--output', '-', '--body'] 4109s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4109s # Output: /* 4109s # * This file is generated by gdbus-codegen, do not modify it. 4109s # * 4109s # * The license of this code is the same as for the D-Bus interface description 4109s # * it was derived from. Note that it links to GLib, so must comply with the 4109s # * LGPL linking clauses. 4109s # */ 4109s # 4109s # #ifdef HAVE_CONFIG_H 4109s # # include "config.h" 4109s # #endif 4109s # 4109s # #include 4109s # #ifdef G_OS_UNIX 4109s # # include 4109s # #endif 4109s # 4109s # #ifdef G_ENABLE_DEBUG 4109s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4109s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4109s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4109s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4109s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4109s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4109s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4109s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4109s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4109s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4109s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4109s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4109s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4109s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4109s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4109s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4109s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4109s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4109s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4109s # #else /* !G_ENABLE_DEBUG */ 4109s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4109s # * Do not access GValues directly in your code. Instead, use the 4109s # * g_value_get_*() functions 4109s # */ 4109s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4109s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4109s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4109s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4109s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4109s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4109s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4109s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4109s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4109s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4109s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4109s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4109s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4109s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4109s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4109s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4109s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4109s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4109s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4109s # #endif /* !G_ENABLE_DEBUG */ 4109s # 4109s # typedef struct 4109s # { 4109s # GDBusArgInfo parent_struct; 4109s # gboolean use_gvariant; 4109s # } _ExtendedGDBusArgInfo; 4109s # 4109s # typedef struct 4109s # { 4109s # GDBusMethodInfo parent_struct; 4109s # const gchar *signal_name; 4109s # gboolean pass_fdlist; 4109s # } _ExtendedGDBusMethodInfo; 4109s # 4109s # typedef struct 4109s # { 4109s # GDBusSignalInfo parent_struct; 4109s # const gchar *signal_name; 4109s # } _ExtendedGDBusSignalInfo; 4109s # 4109s # typedef struct 4109s # { 4109s # GDBusPropertyInfo parent_struct; 4109s # const gchar *hyphen_name; 4109s # guint use_gvariant : 1; 4109s # guint emits_changed_signal : 1; 4109s # } _ExtendedGDBusPropertyInfo; 4109s # 4109s # typedef struct 4109s # { 4109s # GDBusInterfaceInfo parent_struct; 4109s # const gchar *hyphen_name; 4109s # } _ExtendedGDBusInterfaceInfo; 4109s # 4109s # typedef struct 4109s # { 4109s # const _ExtendedGDBusPropertyInfo *info; 4109s # guint prop_id; 4109s # GValue orig_value; /* the value before the change */ 4109s # } ChangedProperty; 4109s # 4109s # static void 4109s # _changed_property_free (ChangedProperty *data) 4109s # { 4109s # g_value_unset (&data->orig_value); 4109s # g_free (data); 4109s # } 4109s # 4109s # static gboolean 4109s # _g_strv_equal0 (gchar **a, gchar **b) 4109s # { 4109s # gboolean ret = FALSE; 4109s # guint n; 4109s # if (a == NULL && b == NULL) 4109s # { 4109s # ret = TRUE; 4109s # goto out; 4109s # } 4109s # if (a == NULL || b == NULL) 4109s # goto out; 4109s # if (g_strv_length (a) != g_strv_length (b)) 4109s # goto out; 4109s # for (n = 0; a[n] != NULL; n++) 4109s # if (g_strcmp0 (a[n], b[n]) != 0) 4109s # goto out; 4109s # ret = TRUE; 4109s # out: 4109s # return ret; 4109s # } 4109s # 4109s # static gboolean 4109s # _g_variant_equal0 (GVariant *a, GVariant *b) 4109s # { 4109s # gboolean ret = FALSE; 4109s # if (a == NULL && b == NULL) 4109s # { 4109s # ret = TRUE; 4109s # goto out; 4109s # } 4109s # if (a == NULL || b == NULL) 4109s # goto out; 4109s # ret = g_variant_equal (a, b); 4109s # out: 4109s # return ret; 4109s # } 4109s # 4109s # G_GNUC_UNUSED static gboolean 4109s # _g_value_equal (const GValue *a, const GValue *b) 4109s # { 4109s # gboolean ret = FALSE; 4109s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4109s # switch (G_VALUE_TYPE (a)) 4109s # { 4109s # case G_TYPE_BOOLEAN: 4109s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4109s # break; 4109s # case G_TYPE_UCHAR: 4109s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4109s # break; 4109s # case G_TYPE_INT: 4109s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4109s # break; 4109s # case G_TYPE_UINT: 4109s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4109s # break; 4109s # case G_TYPE_INT64: 4109s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4109s # break; 4109s # case G_TYPE_UINT64: 4109s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4109s # break; 4109s # case G_TYPE_DOUBLE: 4109s # { 4109s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4109s # gdouble da = g_value_get_double (a); 4109s # gdouble db = g_value_get_double (b); 4109s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4109s # } 4109s # break; 4109s # case G_TYPE_STRING: 4109s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4109s # break; 4109s # case G_TYPE_VARIANT: 4109s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4109s # break; 4109s # default: 4109s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4109s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4109s # else 4109s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4109s # break; 4109s # } 4109s # return ret; 4109s # } 4109s # 4109s # static void 4109s # _g_dbus_codegen_marshal_VOID__INT64 ( 4109s # GClosure *closure, 4109s # GValue *return_value G_GNUC_UNUSED, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint G_GNUC_UNUSED, 4109s # void *marshal_data) 4109s # { 4109s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 4109s # (void *data1, 4109s # gint64 arg_an_x, 4109s # void *data2); 4109s # _GDbusCodegenMarshalVoid_Int64Func callback; 4109s # GCClosure *cc = (GCClosure*) closure; 4109s # void *data1, *data2; 4109s # 4109s # g_return_if_fail (n_param_values == 2); 4109s # 4109s # if (G_CCLOSURE_SWAP_DATA (closure)) 4109s # { 4109s # data1 = closure->data; 4109s # data2 = g_value_peek_pointer (param_values + 0); 4109s # } 4109s # else 4109s # { 4109s # data1 = g_value_peek_pointer (param_values + 0); 4109s # data2 = closure->data; 4109s # } 4109s # 4109s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 4109s # (marshal_data ? marshal_data : cc->callback); 4109s # 4109s # callback (data1, 4109s # g_marshal_value_peek_int64 (param_values + 1), 4109s # data2); 4109s # } 4109s # 4109s # static void 4109s # _g_dbus_codegen_marshal_VOID__UINT64 ( 4109s # GClosure *closure, 4109s # GValue *return_value G_GNUC_UNUSED, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint G_GNUC_UNUSED, 4109s # void *marshal_data) 4109s # { 4109s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 4109s # (void *data1, 4109s # guint64 arg_an_t, 4109s # void *data2); 4109s # _GDbusCodegenMarshalVoid_Uint64Func callback; 4109s # GCClosure *cc = (GCClosure*) closure; 4109s # void *data1, *data2; 4109s # 4109s # g_return_if_fail (n_param_values == 2); 4109s # 4109s # if (G_CCLOSURE_SWAP_DATA (closure)) 4109s # { 4109s # data1 = closure->data; 4109s # data2 = g_value_peek_pointer (param_values + 0); 4109s # } 4109s # else 4109s # { 4109s # data1 = g_value_peek_pointer (param_values + 0); 4109s # data2 = closure->data; 4109s # } 4109s # 4109s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 4109s # (marshal_data ? marshal_data : cc->callback); 4109s # 4109s # callback (data1, 4109s # g_marshal_value_peek_uint64 (param_values + 1), 4109s # data2); 4109s # } 4109s # 4109s # /* ------------------------------------------------------------------------ 4109s # * Code for interface org.project.SignalingIface 4109s # * ------------------------------------------------------------------------ 4109s # */ 4109s # 4109s # /** 4109s # * SECTION:OrgProjectSignalingIface 4109s # * @title: OrgProjectSignalingIface 4109s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4109s # * 4109s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4109s # */ 4109s # 4109s # enum 4109s # { 4109s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 4109s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 4109s # }; 4109s # 4109s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 4109s # 4109s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "NoArgSignal", 4109s # NULL, 4109s # NULL 4109s # }, 4109s # "no-arg-signal" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_b", 4109s # (gchar *) "b", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalB", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-b" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_y", 4109s # (gchar *) "y", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalY", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-y" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_n", 4109s # (gchar *) "n", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalN", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-n" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_q", 4109s # (gchar *) "q", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalQ", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-q" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_i", 4109s # (gchar *) "i", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalI", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-i" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_u", 4109s # (gchar *) "u", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalU", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-u" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_x", 4109s # (gchar *) "x", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalX", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-x" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_t", 4109s # (gchar *) "t", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalT", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-t" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_d", 4109s # (gchar *) "d", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalD", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-d" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_s", 4109s # (gchar *) "s", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalS", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-s" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_o", 4109s # (gchar *) "o", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalO", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-o" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_g", 4109s # (gchar *) "g", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalG", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-g" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_h", 4109s # (gchar *) "h", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalH", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-h" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_ay", 4109s # (gchar *) "ay", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalAY", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-ay" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_as", 4109s # (gchar *) "as", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalAS", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-as" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_ao", 4109s # (gchar *) "ao", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalAO", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-ao" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_aay", 4109s # (gchar *) "aay", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalAAY", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-aay" 4109s # }; 4109s # 4109s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "an_asv", 4109s # (gchar *) "a{sv}", 4109s # NULL 4109s # }, 4109s # FALSE 4109s # }; 4109s # 4109s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SingleArgSignalASV", 4109s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 4109s # NULL 4109s # }, 4109s # "single-arg-signal-asv" 4109s # }; 4109s # 4109s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4109s # { 4109s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 4109s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "org.project.SignalingIface", 4109s # NULL, 4109s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4109s # NULL, 4109s # NULL 4109s # }, 4109s # "org-project-signaling-iface", 4109s # }; 4109s # 4109s # 4109s # /** 4109s # * org_project_signaling_iface_interface_info: 4109s # * 4109s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4109s # * 4109s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4109s # */ 4109s # GDBusInterfaceInfo * 4109s # org_project_signaling_iface_interface_info (void) 4109s # { 4109s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_override_properties: 4109s # * @klass: The class structure for a #GObject derived class. 4109s # * @property_id_begin: The property id to assign to the first overridden property. 4109s # * 4109s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4109s # * The properties are overridden in the order they are defined. 4109s # * 4109s # * Returns: The last property id. 4109s # */ 4109s # guint 4109s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4109s # { 4109s # return property_id_begin - 1; 4109s # } 4109s # 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__VOID (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__BOOLEAN (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__UCHAR (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__INT (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__UINT (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__INT (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__UINT (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__DOUBLE (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__STRING (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__STRING (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__STRING (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__VARIANT (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__STRING (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__BOXED (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__BOXED (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__BOXED (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # inline static void 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__VARIANT (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface: 4109s # * 4109s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4109s # */ 4109s # 4109s # /** 4109s # * OrgProjectSignalingIfaceIface: 4109s # * @parent_iface: The parent interface. 4109s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 4109s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 4109s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 4109s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 4109s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 4109s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 4109s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 4109s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 4109s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 4109s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 4109s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 4109s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 4109s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 4109s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 4109s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 4109s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 4109s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 4109s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 4109s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 4109s # * 4109s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4109s # */ 4109s # 4109s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4109s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4109s # 4109s # static void 4109s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4109s # { 4109s # /* GObject signals for received D-Bus signals: */ 4109s # /** 4109s # * OrgProjectSignalingIface::no-arg-signal: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 4109s # g_signal_new ("no-arg-signal", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_no_arg_signal, 4109s # G_TYPE_NONE, 4109s # 0); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-b: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_b: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 4109s # g_signal_new ("single-arg-signal-b", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_BOOLEAN); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-y: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_y: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 4109s # g_signal_new ("single-arg-signal-y", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_UCHAR); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-n: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_n: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 4109s # g_signal_new ("single-arg-signal-n", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_INT); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-q: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_q: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 4109s # g_signal_new ("single-arg-signal-q", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_UINT); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-i: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_i: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 4109s # g_signal_new ("single-arg-signal-i", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_INT); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-u: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_u: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 4109s # g_signal_new ("single-arg-signal-u", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_UINT); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-x: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_x: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 4109s # g_signal_new ("single-arg-signal-x", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_INT64); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-t: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_t: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 4109s # g_signal_new ("single-arg-signal-t", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_UINT64); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-d: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_d: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 4109s # g_signal_new ("single-arg-signal-d", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_DOUBLE); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-s: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_s: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 4109s # g_signal_new ("single-arg-signal-s", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_STRING); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-o: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_o: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 4109s # g_signal_new ("single-arg-signal-o", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_STRING); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-g: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_g: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 4109s # g_signal_new ("single-arg-signal-g", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_STRING); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-h: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_h: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 4109s # g_signal_new ("single-arg-signal-h", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_VARIANT); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-ay: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_ay: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 4109s # g_signal_new ("single-arg-signal-ay", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_STRING); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-as: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_as: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 4109s # g_signal_new ("single-arg-signal-as", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_STRV); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-ao: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_ao: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 4109s # g_signal_new ("single-arg-signal-ao", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_STRV); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-aay: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_aay: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 4109s # g_signal_new ("single-arg-signal-aay", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_STRV); 4109s # 4109s # /** 4109s # * OrgProjectSignalingIface::single-arg-signal-asv: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_asv: Argument. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 4109s # g_signal_new ("single-arg-signal-asv", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 4109s # NULL, 4109s # NULL, 4109s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 4109s # G_TYPE_NONE, 4109s # 1, G_TYPE_VARIANT); 4109s # 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_no_arg_signal: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * 4109s # * Emits the "NoArgSignal" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_no_arg_signal ( 4109s # OrgProjectSignalingIface *object) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_b: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_b: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalB" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_b ( 4109s # OrgProjectSignalingIface *object, 4109s # gboolean arg_an_b) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_y: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_y: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalY" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_y ( 4109s # OrgProjectSignalingIface *object, 4109s # guchar arg_an_y) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_n: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_n: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalN" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_n ( 4109s # OrgProjectSignalingIface *object, 4109s # gint16 arg_an_n) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_q: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_q: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalQ" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_q ( 4109s # OrgProjectSignalingIface *object, 4109s # guint16 arg_an_q) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_i: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_i: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalI" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_i ( 4109s # OrgProjectSignalingIface *object, 4109s # gint arg_an_i) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_u: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_u: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalU" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_u ( 4109s # OrgProjectSignalingIface *object, 4109s # guint arg_an_u) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_x: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_x: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalX" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_x ( 4109s # OrgProjectSignalingIface *object, 4109s # gint64 arg_an_x) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_t: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_t: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalT" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_t ( 4109s # OrgProjectSignalingIface *object, 4109s # guint64 arg_an_t) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_d: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_d: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalD" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_d ( 4109s # OrgProjectSignalingIface *object, 4109s # gdouble arg_an_d) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_s: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_s: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalS" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_s ( 4109s # OrgProjectSignalingIface *object, 4109s # const gchar *arg_an_s) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_o: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_o: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalO" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_o ( 4109s # OrgProjectSignalingIface *object, 4109s # const gchar *arg_an_o) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_g: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_g: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalG" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_g ( 4109s # OrgProjectSignalingIface *object, 4109s # const gchar *arg_an_g) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_h: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_h: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalH" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_h ( 4109s # OrgProjectSignalingIface *object, 4109s # GVariant *arg_an_h) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_ay: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_ay: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalAY" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_ay ( 4109s # OrgProjectSignalingIface *object, 4109s # const gchar *arg_an_ay) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_as: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_as: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalAS" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_as ( 4109s # OrgProjectSignalingIface *object, 4109s # const gchar *const *arg_an_as) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_ao: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_ao: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalAO" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_ao ( 4109s # OrgProjectSignalingIface *object, 4109s # const gchar *const *arg_an_ao) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_aay: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_aay: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalAAY" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_aay ( 4109s # OrgProjectSignalingIface *object, 4109s # const gchar *const *arg_an_aay) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_emit_single_arg_signal_asv: 4109s # * @object: A #OrgProjectSignalingIface. 4109s # * @arg_an_asv: Argument to pass with the signal. 4109s # * 4109s # * Emits the "SingleArgSignalASV" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_emit_single_arg_signal_asv ( 4109s # OrgProjectSignalingIface *object, 4109s # GVariant *arg_an_asv) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 4109s # } 4109s # 4109s # /* ------------------------------------------------------------------------ */ 4109s # 4109s # /** 4109s # * OrgProjectSignalingIfaceProxy: 4109s # * 4109s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4109s # */ 4109s # 4109s # /** 4109s # * OrgProjectSignalingIfaceProxyClass: 4109s # * @parent_class: The parent class. 4109s # * 4109s # * Class structure for #OrgProjectSignalingIfaceProxy. 4109s # */ 4109s # 4109s # struct _OrgProjectSignalingIfaceProxyPrivate 4109s # { 4109s # GData *qdata; 4109s # }; 4109s # 4109s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4109s # 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4109s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4109s # 4109s # #else 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4109s # 4109s # #endif 4109s # static void 4109s # org_project_signaling_iface_proxy_finalize (GObject *object) 4109s # { 4109s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4109s # g_datalist_clear (&proxy->priv->qdata); 4109s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4109s # guint prop_id G_GNUC_UNUSED, 4109s # GValue *value G_GNUC_UNUSED, 4109s # GParamSpec *pspec G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4109s # guint prop_id G_GNUC_UNUSED, 4109s # const GValue *value G_GNUC_UNUSED, 4109s # GParamSpec *pspec G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4109s # const gchar *sender_name G_GNUC_UNUSED, 4109s # const gchar *signal_name, 4109s # GVariant *parameters) 4109s # { 4109s # _ExtendedGDBusSignalInfo *info; 4109s # GVariantIter iter; 4109s # GVariant *child; 4109s # GValue *paramv; 4109s # gsize num_params; 4109s # gsize n; 4109s # guint signal_id; 4109s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4109s # if (info == NULL) 4109s # return; 4109s # num_params = g_variant_n_children (parameters); 4109s # paramv = g_new0 (GValue, num_params + 1); 4109s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4109s # g_value_set_object (¶mv[0], proxy); 4109s # g_variant_iter_init (&iter, parameters); 4109s # n = 1; 4109s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4109s # { 4109s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4109s # if (arg_info->use_gvariant) 4109s # { 4109s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4109s # g_value_set_variant (¶mv[n], child); 4109s # n++; 4109s # } 4109s # else 4109s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4109s # g_variant_unref (child); 4109s # } 4109s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4109s # g_signal_emitv (paramv, signal_id, 0, NULL); 4109s # for (n = 0; n < num_params + 1; n++) 4109s # g_value_unset (¶mv[n]); 4109s # g_free (paramv); 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4109s # GVariant *changed_properties, 4109s # const gchar *const *invalidated_properties) 4109s # { 4109s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4109s # guint n; 4109s # const gchar *key; 4109s # GVariantIter *iter; 4109s # _ExtendedGDBusPropertyInfo *info; 4109s # g_variant_get (changed_properties, "a{sv}", &iter); 4109s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4109s # { 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4109s # g_datalist_remove_data (&proxy->priv->qdata, key); 4109s # if (info != NULL) 4109s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4109s # } 4109s # g_variant_iter_free (iter); 4109s # for (n = 0; invalidated_properties[n] != NULL; n++) 4109s # { 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4109s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4109s # if (info != NULL) 4109s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4109s # } 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4109s # { 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4109s # #else 4109s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4109s # #endif 4109s # 4109s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4109s # { 4109s # GObjectClass *gobject_class; 4109s # GDBusProxyClass *proxy_class; 4109s # 4109s # gobject_class = G_OBJECT_CLASS (klass); 4109s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4109s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4109s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4109s # 4109s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4109s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4109s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4109s # 4109s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4109s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4109s # #endif 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_proxy_new: 4109s # * @connection: A #GDBusConnection. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4109s # * @user_data: User data to pass to @callback. 4109s # * 4109s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4109s # * 4109s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4109s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4109s # * 4109s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_proxy_new ( 4109s # GDBusConnection *connection, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GAsyncReadyCallback callback, 4109s # gpointer user_data) 4109s # { 4109s # 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); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_proxy_new_finish: 4109s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectSignalingIface * 4109s # org_project_signaling_iface_proxy_new_finish ( 4109s # GAsyncResult *res, 4109s # GError **error) 4109s # { 4109s # GObject *ret; 4109s # GObject *source_object; 4109s # source_object = g_async_result_get_source_object (res); 4109s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4109s # g_object_unref (source_object); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_proxy_new_sync: 4109s # * @connection: A #GDBusConnection. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4109s # * 4109s # * The calling thread is blocked until a reply is received. 4109s # * 4109s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectSignalingIface * 4109s # org_project_signaling_iface_proxy_new_sync ( 4109s # GDBusConnection *connection, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GError **error) 4109s # { 4109s # GInitable *ret; 4109s # 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); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # 4109s # /** 4109s # * org_project_signaling_iface_proxy_new_for_bus: 4109s # * @bus_type: A #GBusType. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: A bus name (well-known or unique). 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4109s # * @user_data: User data to pass to @callback. 4109s # * 4109s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4109s # * 4109s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4109s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4109s # * 4109s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4109s # */ 4109s # void 4109s # org_project_signaling_iface_proxy_new_for_bus ( 4109s # GBusType bus_type, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GAsyncReadyCallback callback, 4109s # gpointer user_data) 4109s # { 4109s # 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); 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4109s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectSignalingIface * 4109s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4109s # GAsyncResult *res, 4109s # GError **error) 4109s # { 4109s # GObject *ret; 4109s # GObject *source_object; 4109s # source_object = g_async_result_get_source_object (res); 4109s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4109s # g_object_unref (source_object); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4109s # * @bus_type: A #GBusType. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: A bus name (well-known or unique). 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4109s # * 4109s # * The calling thread is blocked until a reply is received. 4109s # * 4109s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectSignalingIface * 4109s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4109s # GBusType bus_type, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GError **error) 4109s # { 4109s # GInitable *ret; 4109s # 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); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # 4109s # /* ------------------------------------------------------------------------ */ 4109s # 4109s # /** 4109s # * OrgProjectSignalingIfaceSkeleton: 4109s # * 4109s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4109s # */ 4109s # 4109s # /** 4109s # * OrgProjectSignalingIfaceSkeletonClass: 4109s # * @parent_class: The parent class. 4109s # * 4109s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4109s # */ 4109s # 4109s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4109s # { 4109s # GValue *properties; 4109s # GList *changed_properties; 4109s # GSource *changed_properties_idle_source; 4109s # GMainContext *context; 4109s # GMutex lock; 4109s # }; 4109s # 4109s # static void 4109s # _org_project_signaling_iface_skeleton_handle_method_call ( 4109s # GDBusConnection *connection G_GNUC_UNUSED, 4109s # const gchar *sender G_GNUC_UNUSED, 4109s # const gchar *object_path G_GNUC_UNUSED, 4109s # const gchar *interface_name, 4109s # const gchar *method_name, 4109s # GVariant *parameters, 4109s # GDBusMethodInvocation *invocation, 4109s # gpointer user_data) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4109s # _ExtendedGDBusMethodInfo *info; 4109s # GVariantIter iter; 4109s # GVariant *child; 4109s # GValue *paramv; 4109s # gsize num_params; 4109s # guint num_extra; 4109s # gsize n; 4109s # guint signal_id; 4109s # GValue return_value = G_VALUE_INIT; 4109s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4109s # g_assert (info != NULL); 4109s # num_params = g_variant_n_children (parameters); 4109s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4109s # n = 0; 4109s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4109s # g_value_set_object (¶mv[n++], skeleton); 4109s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4109s # g_value_set_object (¶mv[n++], invocation); 4109s # if (info->pass_fdlist) 4109s # { 4109s # #ifdef G_OS_UNIX 4109s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4109s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4109s # #else 4109s # g_assert_not_reached (); 4109s # #endif 4109s # } 4109s # g_variant_iter_init (&iter, parameters); 4109s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4109s # { 4109s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4109s # if (arg_info->use_gvariant) 4109s # { 4109s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4109s # g_value_set_variant (¶mv[n], child); 4109s # n++; 4109s # } 4109s # else 4109s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4109s # g_variant_unref (child); 4109s # } 4109s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4109s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4109s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4109s # if (!g_value_get_boolean (&return_value)) 4109s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4109s # g_value_unset (&return_value); 4109s # for (n = 0; n < num_params + num_extra; n++) 4109s # g_value_unset (¶mv[n]); 4109s # g_free (paramv); 4109s # } 4109s # 4109s # static GVariant * 4109s # _org_project_signaling_iface_skeleton_handle_get_property ( 4109s # GDBusConnection *connection G_GNUC_UNUSED, 4109s # const gchar *sender G_GNUC_UNUSED, 4109s # const gchar *object_path G_GNUC_UNUSED, 4109s # const gchar *interface_name G_GNUC_UNUSED, 4109s # const gchar *property_name, 4109s # GError **error, 4109s # gpointer user_data) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4109s # GValue value = G_VALUE_INIT; 4109s # GParamSpec *pspec; 4109s # _ExtendedGDBusPropertyInfo *info; 4109s # GVariant *ret; 4109s # ret = NULL; 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4109s # g_assert (info != NULL); 4109s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4109s # if (pspec == NULL) 4109s # { 4109s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4109s # } 4109s # else 4109s # { 4109s # g_value_init (&value, pspec->value_type); 4109s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4109s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4109s # g_value_unset (&value); 4109s # } 4109s # return ret; 4109s # } 4109s # 4109s # static gboolean 4109s # _org_project_signaling_iface_skeleton_handle_set_property ( 4109s # GDBusConnection *connection G_GNUC_UNUSED, 4109s # const gchar *sender G_GNUC_UNUSED, 4109s # const gchar *object_path G_GNUC_UNUSED, 4109s # const gchar *interface_name G_GNUC_UNUSED, 4109s # const gchar *property_name, 4109s # GVariant *variant, 4109s # GError **error, 4109s # gpointer user_data) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4109s # GValue value = G_VALUE_INIT; 4109s # GParamSpec *pspec; 4109s # _ExtendedGDBusPropertyInfo *info; 4109s # gboolean ret; 4109s # ret = FALSE; 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4109s # g_assert (info != NULL); 4109s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4109s # if (pspec == NULL) 4109s # { 4109s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4109s # } 4109s # else 4109s # { 4109s # if (info->use_gvariant) 4109s # g_value_set_variant (&value, variant); 4109s # else 4109s # g_dbus_gvariant_to_gvalue (variant, &value); 4109s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4109s # g_value_unset (&value); 4109s # ret = TRUE; 4109s # } 4109s # return ret; 4109s # } 4109s # 4109s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4109s # { 4109s # _org_project_signaling_iface_skeleton_handle_method_call, 4109s # _org_project_signaling_iface_skeleton_handle_get_property, 4109s # _org_project_signaling_iface_skeleton_handle_set_property, 4109s # {NULL} 4109s # }; 4109s # 4109s # static GDBusInterfaceInfo * 4109s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4109s # { 4109s # return org_project_signaling_iface_interface_info (); 4109s # } 4109s # 4109s # static GDBusInterfaceVTable * 4109s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4109s # { 4109s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4109s # } 4109s # 4109s # static GVariant * 4109s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4109s # 4109s # GVariantBuilder builder; 4109s # guint n; 4109s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4109s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4109s # goto out; 4109s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4109s # { 4109s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4109s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4109s # { 4109s # GVariant *value; 4109s # 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); 4109s # if (value != NULL) 4109s # { 4109s # g_variant_take_ref (value); 4109s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4109s # g_variant_unref (value); 4109s # } 4109s # } 4109s # } 4109s # out: 4109s # return g_variant_builder_end (&builder); 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_no_arg_signal ( 4109s # OrgProjectSignalingIface *object) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 4109s # OrgProjectSignalingIface *object, 4109s # gboolean arg_an_b) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 4109s # arg_an_b)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 4109s # OrgProjectSignalingIface *object, 4109s # guchar arg_an_y) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 4109s # arg_an_y)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 4109s # OrgProjectSignalingIface *object, 4109s # gint16 arg_an_n) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 4109s # arg_an_n)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 4109s # OrgProjectSignalingIface *object, 4109s # guint16 arg_an_q) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 4109s # arg_an_q)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 4109s # OrgProjectSignalingIface *object, 4109s # gint arg_an_i) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 4109s # arg_an_i)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 4109s # OrgProjectSignalingIface *object, 4109s # guint arg_an_u) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 4109s # arg_an_u)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 4109s # OrgProjectSignalingIface *object, 4109s # gint64 arg_an_x) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 4109s # arg_an_x)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 4109s # OrgProjectSignalingIface *object, 4109s # guint64 arg_an_t) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 4109s # arg_an_t)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 4109s # OrgProjectSignalingIface *object, 4109s # gdouble arg_an_d) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 4109s # arg_an_d)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 4109s # OrgProjectSignalingIface *object, 4109s # const gchar *arg_an_s) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 4109s # arg_an_s)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 4109s # OrgProjectSignalingIface *object, 4109s # const gchar *arg_an_o) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 4109s # arg_an_o)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 4109s # OrgProjectSignalingIface *object, 4109s # const gchar *arg_an_g) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 4109s # arg_an_g)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 4109s # OrgProjectSignalingIface *object, 4109s # GVariant *arg_an_h) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 4109s # arg_an_h)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 4109s # OrgProjectSignalingIface *object, 4109s # const gchar *arg_an_ay) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 4109s # arg_an_ay)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 4109s # OrgProjectSignalingIface *object, 4109s # const gchar *const *arg_an_as) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 4109s # arg_an_as)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 4109s # OrgProjectSignalingIface *object, 4109s # const gchar *const *arg_an_ao) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 4109s # arg_an_ao)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 4109s # OrgProjectSignalingIface *object, 4109s # const gchar *const *arg_an_aay) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 4109s # arg_an_aay)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void 4109s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 4109s # OrgProjectSignalingIface *object, 4109s # GVariant *arg_an_asv) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 4109s # arg_an_asv)); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4109s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4109s # 4109s # #else 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4109s # 4109s # #endif 4109s # static void 4109s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4109s # { 4109s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4109s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4109s # if (skeleton->priv->changed_properties_idle_source != NULL) 4109s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4109s # g_main_context_unref (skeleton->priv->context); 4109s # g_mutex_clear (&skeleton->priv->lock); 4109s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4109s # { 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4109s # #else 4109s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4109s # #endif 4109s # 4109s # g_mutex_init (&skeleton->priv->lock); 4109s # skeleton->priv->context = g_main_context_ref_thread_default (); 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4109s # { 4109s # GObjectClass *gobject_class; 4109s # GDBusInterfaceSkeletonClass *skeleton_class; 4109s # 4109s # gobject_class = G_OBJECT_CLASS (klass); 4109s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4109s # 4109s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4109s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4109s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4109s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4109s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4109s # 4109s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4109s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4109s # #endif 4109s # } 4109s # 4109s # static void 4109s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4109s # { 4109s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 4109s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 4109s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 4109s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 4109s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 4109s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 4109s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 4109s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 4109s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 4109s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 4109s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 4109s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 4109s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 4109s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 4109s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 4109s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 4109s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 4109s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 4109s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 4109s # } 4109s # 4109s # /** 4109s # * org_project_signaling_iface_skeleton_new: 4109s # * 4109s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4109s # */ 4109s # OrgProjectSignalingIface * 4109s # org_project_signaling_iface_skeleton_new (void) 4109s # { 4109s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4109s # } 4109s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 4109s # tmpdir: /tmp/tmpz3k6_iy_ 4109s # codegen: /usr/bin/gdbus-codegen 4109s # /tmp/tmpz3k6_iy_/tmp2badd8ah.xml: 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # 4109s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpz3k6_iy_/tmp2badd8ah.xml', '--output', '-', '--body'] 4109s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4109s # Output: /* 4109s # * This file is generated by gdbus-codegen, do not modify it. 4109s # * 4109s # * The license of this code is the same as for the D-Bus interface description 4109s # * it was derived from. Note that it links to GLib, so must comply with the 4109s # * LGPL linking clauses. 4109s # */ 4109s # 4109s # #ifdef HAVE_CONFIG_H 4109s # # include "config.h" 4109s # #endif 4109s # 4109s # #include 4109s # #ifdef G_OS_UNIX 4109s # # include 4109s # #endif 4109s # 4109s # #ifdef G_ENABLE_DEBUG 4109s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4109s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4109s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4109s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4109s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4109s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4109s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4109s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4109s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4109s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4109s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4109s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4109s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4109s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4109s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4109s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4109s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4109s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4109s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4109s # #else /* !G_ENABLE_DEBUG */ 4109s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4109s # * Do not access GValues directly in your code. Instead, use the 4109s # * g_value_get_*() functions 4109s # */ 4109s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4109s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4109s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4109s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4109s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4109s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4109s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4109s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4109s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4109s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4109s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4109s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4109s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4109s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4109s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4109s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4109s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4109s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4109s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4109s # #endif /* !G_ENABLE_DEBUG */ 4109s # 4109s # typedef struct 4109s # { 4109s # GDBusArgInfo parent_struct; 4109s # gboolean use_gvariant; 4109s # } _ExtendedGDBusArgInfo; 4109s # 4109s # typedef struct 4109s # { 4109s # GDBusMethodInfo parent_struct; 4109s # const gchar *signal_name; 4109s # gboolean pass_fdlist; 4109s # } _ExtendedGDBusMethodInfo; 4109s # 4109s # typedef struct 4109s # { 4109s # GDBusSignalInfo parent_struct; 4109s # const gchar *signal_name; 4109s # } _ExtendedGDBusSignalInfo; 4109s # 4109s # typedef struct 4109s # { 4109s # GDBusPropertyInfo parent_struct; 4109s # const gchar *hyphen_name; 4109s # guint use_gvariant : 1; 4109s # guint emits_changed_signal : 1; 4109s # } _ExtendedGDBusPropertyInfo; 4109s # 4109s # typedef struct 4109s # { 4109s # GDBusInterfaceInfo parent_struct; 4109s # const gchar *hyphen_name; 4109s # } _ExtendedGDBusInterfaceInfo; 4109s # 4109s # typedef struct 4109s # { 4109s # const _ExtendedGDBusPropertyInfo *info; 4109s # guint prop_id; 4109s # GValue orig_value; /* the value before the change */ 4109s # } ChangedProperty; 4109s # 4109s # static void 4109s # _changed_property_free (ChangedProperty *data) 4109s # { 4109s # g_value_unset (&data->orig_value); 4109s # g_free (data); 4109s # } 4109s # 4109s # static gboolean 4109s # _g_strv_equal0 (gchar **a, gchar **b) 4109s # { 4109s # gboolean ret = FALSE; 4109s # guint n; 4109s # if (a == NULL && b == NULL) 4109s # { 4109s # ret = TRUE; 4109s # goto out; 4109s # } 4109s # if (a == NULL || b == NULL) 4109s # goto out; 4109s # if (g_strv_length (a) != g_strv_length (b)) 4109s # goto out; 4109s # for (n = 0; a[n] != NULL; n++) 4109s # if (g_strcmp0 (a[n], b[n]) != 0) 4109s # goto out; 4109s # ret = TRUE; 4109s # out: 4109s # return ret; 4109s # } 4109s # 4109s # static gboolean 4109s # _g_variant_equal0 (GVariant *a, GVariant *b) 4109s # { 4109s # gboolean ret = FALSE; 4109s # if (a == NULL && b == NULL) 4109s # { 4109s # ret = TRUE; 4109s # goto out; 4109s # } 4109s # if (a == NULL || b == NULL) 4109s # goto out; 4109s # ret = g_variant_equal (a, b); 4109s # out: 4109s # return ret; 4109s # } 4109s # 4109s # G_GNUC_UNUSED static gboolean 4109s # _g_value_equal (const GValue *a, const GValue *b) 4109s # { 4109s # gboolean ret = FALSE; 4109s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4109s # switch (G_VALUE_TYPE (a)) 4109s # { 4109s # case G_TYPE_BOOLEAN: 4109s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4109s # break; 4109s # case G_TYPE_UCHAR: 4109s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4109s # break; 4109s # case G_TYPE_INT: 4109s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4109s # break; 4109s # case G_TYPE_UINT: 4109s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4109s # break; 4109s # case G_TYPE_INT64: 4109s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4109s # break; 4109s # case G_TYPE_UINT64: 4109s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4109s # break; 4109s # case G_TYPE_DOUBLE: 4109s # { 4109s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4109s # gdouble da = g_value_get_double (a); 4109s # gdouble db = g_value_get_double (b); 4109s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4109s # } 4109s # break; 4109s # case G_TYPE_STRING: 4109s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4109s # break; 4109s # case G_TYPE_VARIANT: 4109s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4109s # break; 4109s # default: 4109s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4109s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4109s # else 4109s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4109s # break; 4109s # } 4109s # return ret; 4109s # } 4109s # 4109s # /* ------------------------------------------------------------------------ 4109s # * Code for interface org.project.UsefulInterface 4109s # * ------------------------------------------------------------------------ 4109s # */ 4109s # 4109s # /** 4109s # * SECTION:OrgProjectUsefulInterface 4109s # * @title: OrgProjectUsefulInterface 4109s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 4109s # * 4109s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 4109s # */ 4109s # 4109s # enum 4109s # { 4109s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 4109s # }; 4109s # 4109s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 4109s # 4109s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SimpleSignal", 4109s # NULL, 4109s # NULL 4109s # }, 4109s # "simple-signal" 4109s # }; 4109s # 4109s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 4109s # { 4109s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "org.project.UsefulInterface", 4109s # NULL, 4109s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 4109s # NULL, 4109s # NULL 4109s # }, 4109s # "org-project-useful-interface", 4109s # }; 4109s # 4109s # 4109s # /** 4109s # * org_project_useful_interface_interface_info: 4109s # * 4109s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 4109s # * 4109s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4109s # */ 4109s # GDBusInterfaceInfo * 4109s # org_project_useful_interface_interface_info (void) 4109s # { 4109s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 4109s # } 4109s # 4109s # /** 4109s # * org_project_useful_interface_override_properties: 4109s # * @klass: The class structure for a #GObject derived class. 4109s # * @property_id_begin: The property id to assign to the first overridden property. 4109s # * 4109s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 4109s # * The properties are overridden in the order they are defined. 4109s # * 4109s # * Returns: The last property id. 4109s # */ 4109s # guint 4109s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4109s # { 4109s # return property_id_begin - 1; 4109s # } 4109s # 4109s # 4109s # inline static void 4109s # org_project_useful_interface_signal_marshal_simple_signal ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__VOID (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # 4109s # /** 4109s # * OrgProjectUsefulInterface: 4109s # * 4109s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 4109s # */ 4109s # 4109s # /** 4109s # * OrgProjectUsefulInterfaceIface: 4109s # * @parent_iface: The parent interface. 4109s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 4109s # * 4109s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 4109s # */ 4109s # 4109s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 4109s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 4109s # 4109s # static void 4109s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 4109s # { 4109s # /* GObject signals for received D-Bus signals: */ 4109s # /** 4109s # * OrgProjectUsefulInterface::simple-signal: 4109s # * @object: A #OrgProjectUsefulInterface. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 4109s # g_signal_new ("simple-signal", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 4109s # NULL, 4109s # NULL, 4109s # org_project_useful_interface_signal_marshal_simple_signal, 4109s # G_TYPE_NONE, 4109s # 0); 4109s # 4109s # } 4109s # 4109s # /** 4109s # * org_project_useful_interface_emit_simple_signal: 4109s # * @object: A #OrgProjectUsefulInterface. 4109s # * 4109s # * Emits the "SimpleSignal" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_useful_interface_emit_simple_signal ( 4109s # OrgProjectUsefulInterface *object) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 4109s # } 4109s # 4109s # /* ------------------------------------------------------------------------ */ 4109s # 4109s # /** 4109s # * OrgProjectUsefulInterfaceProxy: 4109s # * 4109s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 4109s # */ 4109s # 4109s # /** 4109s # * OrgProjectUsefulInterfaceProxyClass: 4109s # * @parent_class: The parent class. 4109s # * 4109s # * Class structure for #OrgProjectUsefulInterfaceProxy. 4109s # */ 4109s # 4109s # struct _OrgProjectUsefulInterfaceProxyPrivate 4109s # { 4109s # GData *qdata; 4109s # }; 4109s # 4109s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 4109s # 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4109s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4109s # 4109s # #else 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 4109s # 4109s # #endif 4109s # static void 4109s # org_project_useful_interface_proxy_finalize (GObject *object) 4109s # { 4109s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 4109s # g_datalist_clear (&proxy->priv->qdata); 4109s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 4109s # } 4109s # 4109s # static void 4109s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4109s # guint prop_id G_GNUC_UNUSED, 4109s # GValue *value G_GNUC_UNUSED, 4109s # GParamSpec *pspec G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # static void 4109s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4109s # guint prop_id G_GNUC_UNUSED, 4109s # const GValue *value G_GNUC_UNUSED, 4109s # GParamSpec *pspec G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # static void 4109s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 4109s # const gchar *sender_name G_GNUC_UNUSED, 4109s # const gchar *signal_name, 4109s # GVariant *parameters) 4109s # { 4109s # _ExtendedGDBusSignalInfo *info; 4109s # GVariantIter iter; 4109s # GVariant *child; 4109s # GValue *paramv; 4109s # gsize num_params; 4109s # gsize n; 4109s # guint signal_id; 4109s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 4109s # if (info == NULL) 4109s # return; 4109s # num_params = g_variant_n_children (parameters); 4109s # paramv = g_new0 (GValue, num_params + 1); 4109s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4109s # g_value_set_object (¶mv[0], proxy); 4109s # g_variant_iter_init (&iter, parameters); 4109s # n = 1; 4109s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4109s # { 4109s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4109s # if (arg_info->use_gvariant) 4109s # { 4109s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4109s # g_value_set_variant (¶mv[n], child); 4109s # n++; 4109s # } 4109s # else 4109s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4109s # g_variant_unref (child); 4109s # } 4109s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4109s # g_signal_emitv (paramv, signal_id, 0, NULL); 4109s # for (n = 0; n < num_params + 1; n++) 4109s # g_value_unset (¶mv[n]); 4109s # g_free (paramv); 4109s # } 4109s # 4109s # static void 4109s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 4109s # GVariant *changed_properties, 4109s # const gchar *const *invalidated_properties) 4109s # { 4109s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 4109s # guint n; 4109s # const gchar *key; 4109s # GVariantIter *iter; 4109s # _ExtendedGDBusPropertyInfo *info; 4109s # g_variant_get (changed_properties, "a{sv}", &iter); 4109s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4109s # { 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 4109s # g_datalist_remove_data (&proxy->priv->qdata, key); 4109s # if (info != NULL) 4109s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4109s # } 4109s # g_variant_iter_free (iter); 4109s # for (n = 0; invalidated_properties[n] != NULL; n++) 4109s # { 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 4109s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4109s # if (info != NULL) 4109s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4109s # } 4109s # } 4109s # 4109s # static void 4109s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 4109s # { 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 4109s # #else 4109s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 4109s # #endif 4109s # 4109s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 4109s # } 4109s # 4109s # static void 4109s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 4109s # { 4109s # GObjectClass *gobject_class; 4109s # GDBusProxyClass *proxy_class; 4109s # 4109s # gobject_class = G_OBJECT_CLASS (klass); 4109s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 4109s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 4109s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 4109s # 4109s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4109s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 4109s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 4109s # 4109s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4109s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 4109s # #endif 4109s # } 4109s # 4109s # static void 4109s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # /** 4109s # * org_project_useful_interface_proxy_new: 4109s # * @connection: A #GDBusConnection. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4109s # * @user_data: User data to pass to @callback. 4109s # * 4109s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 4109s # * 4109s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4109s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 4109s # * 4109s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4109s # */ 4109s # void 4109s # org_project_useful_interface_proxy_new ( 4109s # GDBusConnection *connection, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GAsyncReadyCallback callback, 4109s # gpointer user_data) 4109s # { 4109s # g_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); 4109s # } 4109s # 4109s # /** 4109s # * org_project_useful_interface_proxy_new_finish: 4109s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectUsefulInterface * 4109s # org_project_useful_interface_proxy_new_finish ( 4109s # GAsyncResult *res, 4109s # GError **error) 4109s # { 4109s # GObject *ret; 4109s # GObject *source_object; 4109s # source_object = g_async_result_get_source_object (res); 4109s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4109s # g_object_unref (source_object); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # /** 4109s # * org_project_useful_interface_proxy_new_sync: 4109s # * @connection: A #GDBusConnection. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 4109s # * 4109s # * The calling thread is blocked until a reply is received. 4109s # * 4109s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectUsefulInterface * 4109s # org_project_useful_interface_proxy_new_sync ( 4109s # GDBusConnection *connection, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GError **error) 4109s # { 4109s # GInitable *ret; 4109s # 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); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # 4109s # /** 4109s # * org_project_useful_interface_proxy_new_for_bus: 4109s # * @bus_type: A #GBusType. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: A bus name (well-known or unique). 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4109s # * @user_data: User data to pass to @callback. 4109s # * 4109s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4109s # * 4109s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4109s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 4109s # * 4109s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4109s # */ 4109s # void 4109s # org_project_useful_interface_proxy_new_for_bus ( 4109s # GBusType bus_type, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GAsyncReadyCallback callback, 4109s # gpointer user_data) 4109s # { 4109s # g_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); 4109s # } 4109s # 4109s # /** 4109s # * org_project_useful_interface_proxy_new_for_bus_finish: 4109s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectUsefulInterface * 4109s # org_project_useful_interface_proxy_new_for_bus_finish ( 4109s # GAsyncResult *res, 4109s # GError **error) 4109s # { 4109s # GObject *ret; 4109s # GObject *source_object; 4109s # source_object = g_async_result_get_source_object (res); 4109s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4109s # g_object_unref (source_object); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # /** 4109s # * org_project_useful_interface_proxy_new_for_bus_sync: 4109s # * @bus_type: A #GBusType. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: A bus name (well-known or unique). 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4109s # * 4109s # * The calling thread is blocked until a reply is received. 4109s # * 4109s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectUsefulInterface * 4109s # org_project_useful_interface_proxy_new_for_bus_sync ( 4109s # GBusType bus_type, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GError **error) 4109s # { 4109s # GInitable *ret; 4109s # 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); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # 4109s # /* ------------------------------------------------------------------------ */ 4109s # 4109s # /** 4109s # * OrgProjectUsefulInterfaceSkeleton: 4109s # * 4109s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4109s # */ 4109s # 4109s # /** 4109s # * OrgProjectUsefulInterfaceSkeletonClass: 4109s # * @parent_class: The parent class. 4109s # * 4109s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 4109s # */ 4109s # 4109s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 4109s # { 4109s # GValue *properties; 4109s # GList *changed_properties; 4109s # GSource *changed_properties_idle_source; 4109s # GMainContext *context; 4109s # GMutex lock; 4109s # }; 4109s # 4109s # static void 4109s # _org_project_useful_interface_skeleton_handle_method_call ( 4109s # GDBusConnection *connection G_GNUC_UNUSED, 4109s # const gchar *sender G_GNUC_UNUSED, 4109s # const gchar *object_path G_GNUC_UNUSED, 4109s # const gchar *interface_name, 4109s # const gchar *method_name, 4109s # GVariant *parameters, 4109s # GDBusMethodInvocation *invocation, 4109s # gpointer user_data) 4109s # { 4109s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4109s # _ExtendedGDBusMethodInfo *info; 4109s # GVariantIter iter; 4109s # GVariant *child; 4109s # GValue *paramv; 4109s # gsize num_params; 4109s # guint num_extra; 4109s # gsize n; 4109s # guint signal_id; 4109s # GValue return_value = G_VALUE_INIT; 4109s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4109s # g_assert (info != NULL); 4109s # num_params = g_variant_n_children (parameters); 4109s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4109s # n = 0; 4109s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4109s # g_value_set_object (¶mv[n++], skeleton); 4109s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4109s # g_value_set_object (¶mv[n++], invocation); 4109s # if (info->pass_fdlist) 4109s # { 4109s # #ifdef G_OS_UNIX 4109s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4109s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4109s # #else 4109s # g_assert_not_reached (); 4109s # #endif 4109s # } 4109s # g_variant_iter_init (&iter, parameters); 4109s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4109s # { 4109s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4109s # if (arg_info->use_gvariant) 4109s # { 4109s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4109s # g_value_set_variant (¶mv[n], child); 4109s # n++; 4109s # } 4109s # else 4109s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4109s # g_variant_unref (child); 4109s # } 4109s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 4109s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4109s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4109s # if (!g_value_get_boolean (&return_value)) 4109s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4109s # g_value_unset (&return_value); 4109s # for (n = 0; n < num_params + num_extra; n++) 4109s # g_value_unset (¶mv[n]); 4109s # g_free (paramv); 4109s # } 4109s # 4109s # static GVariant * 4109s # _org_project_useful_interface_skeleton_handle_get_property ( 4109s # GDBusConnection *connection G_GNUC_UNUSED, 4109s # const gchar *sender G_GNUC_UNUSED, 4109s # const gchar *object_path G_GNUC_UNUSED, 4109s # const gchar *interface_name G_GNUC_UNUSED, 4109s # const gchar *property_name, 4109s # GError **error, 4109s # gpointer user_data) 4109s # { 4109s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4109s # GValue value = G_VALUE_INIT; 4109s # GParamSpec *pspec; 4109s # _ExtendedGDBusPropertyInfo *info; 4109s # GVariant *ret; 4109s # ret = NULL; 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4109s # g_assert (info != NULL); 4109s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4109s # if (pspec == NULL) 4109s # { 4109s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4109s # } 4109s # else 4109s # { 4109s # g_value_init (&value, pspec->value_type); 4109s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4109s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4109s # g_value_unset (&value); 4109s # } 4109s # return ret; 4109s # } 4109s # 4109s # static gboolean 4109s # _org_project_useful_interface_skeleton_handle_set_property ( 4109s # GDBusConnection *connection G_GNUC_UNUSED, 4109s # const gchar *sender G_GNUC_UNUSED, 4109s # const gchar *object_path G_GNUC_UNUSED, 4109s # const gchar *interface_name G_GNUC_UNUSED, 4109s # const gchar *property_name, 4109s # GVariant *variant, 4109s # GError **error, 4109s # gpointer user_data) 4109s # { 4109s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 4109s # GValue value = G_VALUE_INIT; 4109s # GParamSpec *pspec; 4109s # _ExtendedGDBusPropertyInfo *info; 4109s # gboolean ret; 4109s # ret = FALSE; 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 4109s # g_assert (info != NULL); 4109s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4109s # if (pspec == NULL) 4109s # { 4109s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4109s # } 4109s # else 4109s # { 4109s # if (info->use_gvariant) 4109s # g_value_set_variant (&value, variant); 4109s # else 4109s # g_dbus_gvariant_to_gvalue (variant, &value); 4109s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4109s # g_value_unset (&value); 4109s # ret = TRUE; 4109s # } 4109s # return ret; 4109s # } 4109s # 4109s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 4109s # { 4109s # _org_project_useful_interface_skeleton_handle_method_call, 4109s # _org_project_useful_interface_skeleton_handle_get_property, 4109s # _org_project_useful_interface_skeleton_handle_set_property, 4109s # {NULL} 4109s # }; 4109s # 4109s # static GDBusInterfaceInfo * 4109s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4109s # { 4109s # return org_project_useful_interface_interface_info (); 4109s # } 4109s # 4109s # static GDBusInterfaceVTable * 4109s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4109s # { 4109s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 4109s # } 4109s # 4109s # static GVariant * 4109s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4109s # { 4109s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 4109s # 4109s # GVariantBuilder builder; 4109s # guint n; 4109s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4109s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 4109s # goto out; 4109s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 4109s # { 4109s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 4109s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4109s # { 4109s # GVariant *value; 4109s # 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); 4109s # if (value != NULL) 4109s # { 4109s # g_variant_take_ref (value); 4109s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4109s # g_variant_unref (value); 4109s # } 4109s # } 4109s # } 4109s # out: 4109s # return g_variant_builder_end (&builder); 4109s # } 4109s # 4109s # static void 4109s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # static void 4109s # _org_project_useful_interface_on_signal_simple_signal ( 4109s # OrgProjectUsefulInterface *object) 4109s # { 4109s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4109s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4109s # 4109s # #else 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 4109s # 4109s # #endif 4109s # static void 4109s # org_project_useful_interface_skeleton_finalize (GObject *object) 4109s # { 4109s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 4109s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4109s # if (skeleton->priv->changed_properties_idle_source != NULL) 4109s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4109s # g_main_context_unref (skeleton->priv->context); 4109s # g_mutex_clear (&skeleton->priv->lock); 4109s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 4109s # } 4109s # 4109s # static void 4109s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 4109s # { 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 4109s # #else 4109s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 4109s # #endif 4109s # 4109s # g_mutex_init (&skeleton->priv->lock); 4109s # skeleton->priv->context = g_main_context_ref_thread_default (); 4109s # } 4109s # 4109s # static void 4109s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 4109s # { 4109s # GObjectClass *gobject_class; 4109s # GDBusInterfaceSkeletonClass *skeleton_class; 4109s # 4109s # gobject_class = G_OBJECT_CLASS (klass); 4109s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 4109s # 4109s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4109s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 4109s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 4109s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 4109s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 4109s # 4109s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4109s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 4109s # #endif 4109s # } 4109s # 4109s # static void 4109s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 4109s # { 4109s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 4109s # } 4109s # 4109s # /** 4109s # * org_project_useful_interface_skeleton_new: 4109s # * 4109s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 4109s # */ 4109s # OrgProjectUsefulInterface * 4109s # org_project_useful_interface_skeleton_new (void) 4109s # { 4109s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 4109s # } 4109s # 4109s # /* ------------------------------------------------------------------------ 4109s # * Code for interface org.project.OtherIface 4109s # * ------------------------------------------------------------------------ 4109s # */ 4109s # 4109s # /** 4109s # * SECTION:OrgProjectOtherIface 4109s # * @title: OrgProjectOtherIface 4109s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 4109s # * 4109s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 4109s # */ 4109s # 4109s # enum 4109s # { 4109s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 4109s # }; 4109s # 4109s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 4109s # 4109s # /* ---- Introspection data for org.project.OtherIface ---- */ 4109s # 4109s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "SimpleSignal", 4109s # NULL, 4109s # NULL 4109s # }, 4109s # "simple-signal" 4109s # }; 4109s # 4109s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 4109s # { 4109s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 4109s # NULL 4109s # }; 4109s # 4109s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 4109s # { 4109s # { 4109s # -1, 4109s # (gchar *) "org.project.OtherIface", 4109s # NULL, 4109s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 4109s # NULL, 4109s # NULL 4109s # }, 4109s # "org-project-other-iface", 4109s # }; 4109s # 4109s # 4109s # /** 4109s # * org_project_other_iface_interface_info: 4109s # * 4109s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 4109s # * 4109s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4109s # */ 4109s # GDBusInterfaceInfo * 4109s # org_project_other_iface_interface_info (void) 4109s # { 4109s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 4109s # } 4109s # 4109s # /** 4109s # * org_project_other_iface_override_properties: 4109s # * @klass: The class structure for a #GObject derived class. 4109s # * @property_id_begin: The property id to assign to the first overridden property. 4109s # * 4109s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 4109s # * The properties are overridden in the order they are defined. 4109s # * 4109s # * Returns: The last property id. 4109s # */ 4109s # guint 4109s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4109s # { 4109s # return property_id_begin - 1; 4109s # } 4109s # 4109s # 4109s # inline static void 4109s # org_project_other_iface_signal_marshal_simple_signal ( 4109s # GClosure *closure, 4109s # GValue *return_value, 4109s # unsigned int n_param_values, 4109s # const GValue *param_values, 4109s # void *invocation_hint, 4109s # void *marshal_data) 4109s # { 4109s # g_cclosure_marshal_VOID__VOID (closure, 4109s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4109s # } 4109s # 4109s # 4109s # /** 4109s # * OrgProjectOtherIface: 4109s # * 4109s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 4109s # */ 4109s # 4109s # /** 4109s # * OrgProjectOtherIfaceIface: 4109s # * @parent_iface: The parent interface. 4109s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 4109s # * 4109s # * Virtual table for the D-Bus interface org.project.OtherIface. 4109s # */ 4109s # 4109s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 4109s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 4109s # 4109s # static void 4109s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 4109s # { 4109s # /* GObject signals for received D-Bus signals: */ 4109s # /** 4109s # * OrgProjectOtherIface::simple-signal: 4109s # * @object: A #OrgProjectOtherIface. 4109s # * 4109s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4109s # * 4109s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4109s # */ 4109s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 4109s # g_signal_new ("simple-signal", 4109s # G_TYPE_FROM_INTERFACE (iface), 4109s # G_SIGNAL_RUN_LAST, 4109s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 4109s # NULL, 4109s # NULL, 4109s # org_project_other_iface_signal_marshal_simple_signal, 4109s # G_TYPE_NONE, 4109s # 0); 4109s # 4109s # } 4109s # 4109s # /** 4109s # * org_project_other_iface_emit_simple_signal: 4109s # * @object: A #OrgProjectOtherIface. 4109s # * 4109s # * Emits the "SimpleSignal" D-Bus signal. 4109s # */ 4109s # void 4109s # org_project_other_iface_emit_simple_signal ( 4109s # OrgProjectOtherIface *object) 4109s # { 4109s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 4109s # } 4109s # 4109s # /* ------------------------------------------------------------------------ */ 4109s # 4109s # /** 4109s # * OrgProjectOtherIfaceProxy: 4109s # * 4109s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 4109s # */ 4109s # 4109s # /** 4109s # * OrgProjectOtherIfaceProxyClass: 4109s # * @parent_class: The parent class. 4109s # * 4109s # * Class structure for #OrgProjectOtherIfaceProxy. 4109s # */ 4109s # 4109s # struct _OrgProjectOtherIfaceProxyPrivate 4109s # { 4109s # GData *qdata; 4109s # }; 4109s # 4109s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 4109s # 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 4109s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 4109s # 4109s # #else 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 4109s # 4109s # #endif 4109s # static void 4109s # org_project_other_iface_proxy_finalize (GObject *object) 4109s # { 4109s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 4109s # g_datalist_clear (&proxy->priv->qdata); 4109s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 4109s # } 4109s # 4109s # static void 4109s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4109s # guint prop_id G_GNUC_UNUSED, 4109s # GValue *value G_GNUC_UNUSED, 4109s # GParamSpec *pspec G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # static void 4109s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4109s # guint prop_id G_GNUC_UNUSED, 4109s # const GValue *value G_GNUC_UNUSED, 4109s # GParamSpec *pspec G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # static void 4109s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 4109s # const gchar *sender_name G_GNUC_UNUSED, 4109s # const gchar *signal_name, 4109s # GVariant *parameters) 4109s # { 4109s # _ExtendedGDBusSignalInfo *info; 4109s # GVariantIter iter; 4109s # GVariant *child; 4109s # GValue *paramv; 4109s # gsize num_params; 4109s # gsize n; 4109s # guint signal_id; 4109s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 4109s # if (info == NULL) 4109s # return; 4109s # num_params = g_variant_n_children (parameters); 4109s # paramv = g_new0 (GValue, num_params + 1); 4109s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 4109s # g_value_set_object (¶mv[0], proxy); 4109s # g_variant_iter_init (&iter, parameters); 4109s # n = 1; 4109s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4109s # { 4109s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4109s # if (arg_info->use_gvariant) 4109s # { 4109s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4109s # g_value_set_variant (¶mv[n], child); 4109s # n++; 4109s # } 4109s # else 4109s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4109s # g_variant_unref (child); 4109s # } 4109s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 4109s # g_signal_emitv (paramv, signal_id, 0, NULL); 4109s # for (n = 0; n < num_params + 1; n++) 4109s # g_value_unset (¶mv[n]); 4109s # g_free (paramv); 4109s # } 4109s # 4109s # static void 4109s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4109s # GVariant *changed_properties, 4109s # const gchar *const *invalidated_properties) 4109s # { 4109s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 4109s # guint n; 4109s # const gchar *key; 4109s # GVariantIter *iter; 4109s # _ExtendedGDBusPropertyInfo *info; 4109s # g_variant_get (changed_properties, "a{sv}", &iter); 4109s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4109s # { 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 4109s # g_datalist_remove_data (&proxy->priv->qdata, key); 4109s # if (info != NULL) 4109s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4109s # } 4109s # g_variant_iter_free (iter); 4109s # for (n = 0; invalidated_properties[n] != NULL; n++) 4109s # { 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 4109s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4109s # if (info != NULL) 4109s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4109s # } 4109s # } 4109s # 4109s # static void 4109s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 4109s # { 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 4109s # #else 4109s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 4109s # #endif 4109s # 4109s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 4109s # } 4109s # 4109s # static void 4109s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 4109s # { 4109s # GObjectClass *gobject_class; 4109s # GDBusProxyClass *proxy_class; 4109s # 4109s # gobject_class = G_OBJECT_CLASS (klass); 4109s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 4109s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 4109s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 4109s # 4109s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4109s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 4109s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 4109s # 4109s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4109s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 4109s # #endif 4109s # } 4109s # 4109s # static void 4109s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # /** 4109s # * org_project_other_iface_proxy_new: 4109s # * @connection: A #GDBusConnection. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4109s # * @user_data: User data to pass to @callback. 4109s # * 4109s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 4109s # * 4109s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4109s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 4109s # * 4109s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4109s # */ 4109s # void 4109s # org_project_other_iface_proxy_new ( 4109s # GDBusConnection *connection, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GAsyncReadyCallback callback, 4109s # gpointer user_data) 4109s # { 4109s # 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); 4109s # } 4109s # 4109s # /** 4109s # * org_project_other_iface_proxy_new_finish: 4109s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Finishes an operation started with org_project_other_iface_proxy_new(). 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectOtherIface * 4109s # org_project_other_iface_proxy_new_finish ( 4109s # GAsyncResult *res, 4109s # GError **error) 4109s # { 4109s # GObject *ret; 4109s # GObject *source_object; 4109s # source_object = g_async_result_get_source_object (res); 4109s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4109s # g_object_unref (source_object); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_OTHER_IFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # /** 4109s # * org_project_other_iface_proxy_new_sync: 4109s # * @connection: A #GDBusConnection. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 4109s # * 4109s # * The calling thread is blocked until a reply is received. 4109s # * 4109s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectOtherIface * 4109s # org_project_other_iface_proxy_new_sync ( 4109s # GDBusConnection *connection, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GError **error) 4109s # { 4109s # GInitable *ret; 4109s # 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); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_OTHER_IFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # 4109s # /** 4109s # * org_project_other_iface_proxy_new_for_bus: 4109s # * @bus_type: A #GBusType. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: A bus name (well-known or unique). 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4109s # * @user_data: User data to pass to @callback. 4109s # * 4109s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4109s # * 4109s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4109s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 4109s # * 4109s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4109s # */ 4109s # void 4109s # org_project_other_iface_proxy_new_for_bus ( 4109s # GBusType bus_type, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GAsyncReadyCallback callback, 4109s # gpointer user_data) 4109s # { 4109s # 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); 4109s # } 4109s # 4109s # /** 4109s # * org_project_other_iface_proxy_new_for_bus_finish: 4109s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectOtherIface * 4109s # org_project_other_iface_proxy_new_for_bus_finish ( 4109s # GAsyncResult *res, 4109s # GError **error) 4109s # { 4109s # GObject *ret; 4109s # GObject *source_object; 4109s # source_object = g_async_result_get_source_object (res); 4109s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4109s # g_object_unref (source_object); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_OTHER_IFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # /** 4109s # * org_project_other_iface_proxy_new_for_bus_sync: 4109s # * @bus_type: A #GBusType. 4109s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4109s # * @name: A bus name (well-known or unique). 4109s # * @object_path: An object path. 4109s # * @cancellable: (nullable): A #GCancellable or %NULL. 4109s # * @error: Return location for error or %NULL 4109s # * 4109s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4109s # * 4109s # * The calling thread is blocked until a reply is received. 4109s # * 4109s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 4109s # */ 4109s # OrgProjectOtherIface * 4109s # org_project_other_iface_proxy_new_for_bus_sync ( 4109s # GBusType bus_type, 4109s # GDBusProxyFlags flags, 4109s # const gchar *name, 4109s # const gchar *object_path, 4109s # GCancellable *cancellable, 4109s # GError **error) 4109s # { 4109s # GInitable *ret; 4109s # 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); 4109s # if (ret != NULL) 4109s # return ORG_PROJECT_OTHER_IFACE (ret); 4109s # else 4109s # return NULL; 4109s # } 4109s # 4109s # 4109s # /* ------------------------------------------------------------------------ */ 4109s # 4109s # /** 4109s # * OrgProjectOtherIfaceSkeleton: 4109s # * 4109s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4109s # */ 4109s # 4109s # /** 4109s # * OrgProjectOtherIfaceSkeletonClass: 4109s # * @parent_class: The parent class. 4109s # * 4109s # * Class structure for #OrgProjectOtherIfaceSkeleton. 4109s # */ 4109s # 4109s # struct _OrgProjectOtherIfaceSkeletonPrivate 4109s # { 4109s # GValue *properties; 4109s # GList *changed_properties; 4109s # GSource *changed_properties_idle_source; 4109s # GMainContext *context; 4109s # GMutex lock; 4109s # }; 4109s # 4109s # static void 4109s # _org_project_other_iface_skeleton_handle_method_call ( 4109s # GDBusConnection *connection G_GNUC_UNUSED, 4109s # const gchar *sender G_GNUC_UNUSED, 4109s # const gchar *object_path G_GNUC_UNUSED, 4109s # const gchar *interface_name, 4109s # const gchar *method_name, 4109s # GVariant *parameters, 4109s # GDBusMethodInvocation *invocation, 4109s # gpointer user_data) 4109s # { 4109s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 4109s # _ExtendedGDBusMethodInfo *info; 4109s # GVariantIter iter; 4109s # GVariant *child; 4109s # GValue *paramv; 4109s # gsize num_params; 4109s # guint num_extra; 4109s # gsize n; 4109s # guint signal_id; 4109s # GValue return_value = G_VALUE_INIT; 4109s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4109s # g_assert (info != NULL); 4109s # num_params = g_variant_n_children (parameters); 4109s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4109s # n = 0; 4109s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 4109s # g_value_set_object (¶mv[n++], skeleton); 4109s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4109s # g_value_set_object (¶mv[n++], invocation); 4109s # if (info->pass_fdlist) 4109s # { 4109s # #ifdef G_OS_UNIX 4109s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4109s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4109s # #else 4109s # g_assert_not_reached (); 4109s # #endif 4109s # } 4109s # g_variant_iter_init (&iter, parameters); 4109s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4109s # { 4109s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4109s # if (arg_info->use_gvariant) 4109s # { 4109s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4109s # g_value_set_variant (¶mv[n], child); 4109s # n++; 4109s # } 4109s # else 4109s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4109s # g_variant_unref (child); 4109s # } 4109s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 4109s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4109s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4109s # if (!g_value_get_boolean (&return_value)) 4109s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4109s # g_value_unset (&return_value); 4109s # for (n = 0; n < num_params + num_extra; n++) 4109s # g_value_unset (¶mv[n]); 4109s # g_free (paramv); 4109s # } 4109s # 4109s # static GVariant * 4109s # _org_project_other_iface_skeleton_handle_get_property ( 4109s # GDBusConnection *connection G_GNUC_UNUSED, 4109s # const gchar *sender G_GNUC_UNUSED, 4109s # const gchar *object_path G_GNUC_UNUSED, 4109s # const gchar *interface_name G_GNUC_UNUSED, 4109s # const gchar *property_name, 4109s # GError **error, 4109s # gpointer user_data) 4109s # { 4109s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 4109s # GValue value = G_VALUE_INIT; 4109s # GParamSpec *pspec; 4109s # _ExtendedGDBusPropertyInfo *info; 4109s # GVariant *ret; 4109s # ret = NULL; 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 4109s # g_assert (info != NULL); 4109s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4109s # if (pspec == NULL) 4109s # { 4109s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4109s # } 4109s # else 4109s # { 4109s # g_value_init (&value, pspec->value_type); 4109s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4109s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4109s # g_value_unset (&value); 4109s # } 4109s # return ret; 4109s # } 4109s # 4109s # static gboolean 4109s # _org_project_other_iface_skeleton_handle_set_property ( 4109s # GDBusConnection *connection G_GNUC_UNUSED, 4109s # const gchar *sender G_GNUC_UNUSED, 4109s # const gchar *object_path G_GNUC_UNUSED, 4109s # const gchar *interface_name G_GNUC_UNUSED, 4109s # const gchar *property_name, 4109s # GVariant *variant, 4109s # GError **error, 4109s # gpointer user_data) 4109s # { 4109s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 4109s # GValue value = G_VALUE_INIT; 4109s # GParamSpec *pspec; 4109s # _ExtendedGDBusPropertyInfo *info; 4109s # gboolean ret; 4109s # ret = FALSE; 4109s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 4109s # g_assert (info != NULL); 4109s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4109s # if (pspec == NULL) 4109s # { 4109s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4109s # } 4109s # else 4109s # { 4109s # if (info->use_gvariant) 4109s # g_value_set_variant (&value, variant); 4109s # else 4109s # g_dbus_gvariant_to_gvalue (variant, &value); 4109s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4109s # g_value_unset (&value); 4109s # ret = TRUE; 4109s # } 4109s # return ret; 4109s # } 4109s # 4109s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 4109s # { 4109s # _org_project_other_iface_skeleton_handle_method_call, 4109s # _org_project_other_iface_skeleton_handle_get_property, 4109s # _org_project_other_iface_skeleton_handle_set_property, 4109s # {NULL} 4109s # }; 4109s # 4109s # static GDBusInterfaceInfo * 4109s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4109s # { 4109s # return org_project_other_iface_interface_info (); 4109s # } 4109s # 4109s # static GDBusInterfaceVTable * 4109s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4109s # { 4109s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 4109s # } 4109s # 4109s # static GVariant * 4109s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4109s # { 4109s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 4109s # 4109s # GVariantBuilder builder; 4109s # guint n; 4109s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4109s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 4109s # goto out; 4109s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4109s # { 4109s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 4109s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4109s # { 4109s # GVariant *value; 4109s # 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); 4109s # if (value != NULL) 4109s # { 4109s # g_variant_take_ref (value); 4109s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4109s # g_variant_unref (value); 4109s # } 4109s # } 4109s # } 4109s # out: 4109s # return g_variant_builder_end (&builder); 4109s # } 4109s # 4109s # static void 4109s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4109s # { 4109s # } 4109s # 4109s # static void 4109s # _org_project_other_iface_on_signal_simple_signal ( 4109s # OrgProjectOtherIface *object) 4109s # { 4109s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 4109s # 4109s # GList *connections, *l; 4109s # GVariant *signal_variant; 4109s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4109s # 4109s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4109s # for (l = connections; l != NULL; l = l->next) 4109s # { 4109s # GDBusConnection *connection = l->data; 4109s # g_dbus_connection_emit_signal (connection, 4109s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 4109s # signal_variant, NULL); 4109s # } 4109s # g_variant_unref (signal_variant); 4109s # g_list_free_full (connections, g_object_unref); 4109s # } 4109s # 4109s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4109s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 4109s # 4109s # #else 4109s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4109s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 4109s # 4109s # #endif 4109s # static void 4109s # org_project_other_iface_skeleton_finalize (GObject *object) 4109s # { 4109s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 4109s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4109s # if (skeleton->priv->changed_properties_idle_source != NULL) 4109s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4109s # g_main_context_unref (skeleton->priv->context); 4109s # g_mutex_clear (&skeleton->priv->lock); 4109s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 4109s # } 4109s # 4109s # static void 4109s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 4109s # { 4109s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4109s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 4109s # #else 4109s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 4109s # #endif 4109s # 4109s # g_mutex_init (&skeleton->priv->lock); 4109s # skeleton->priv->context = g_main_context_ref_thread_default (); 4109s # } 4109s # 4109s # static void 4109s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 4109s # { 4109s # GObjectClass *gobject_class; 4109s # GDBusInterfaceSkeletonClass *skeleton_class; 4109s # 4109s # gobject_class = G_OBJECT_CLASS (klass); 4109s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 4109s # 4109s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4109s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 4109s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 4109s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 4109s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 4109s # 4109s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4109s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 4109s # #endif 4109s # } 4109s # 4109s # static void 4109s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 4109s # { 4109s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 4109s # } 4109s # 4109s # /** 4109s # * org_project_other_iface_skeleton_new: 4109s # * 4109s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 4109s # * 4109s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 4109s # */ 4109s # OrgProjectOtherIface * 4109s # org_project_other_iface_skeleton_new (void) 4109s # { 4109s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 4109s # } 4110s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 4110s # tmpdir: /tmp/tmph9ml1919 4110s # codegen: /usr/bin/gdbus-codegen 4110s # /tmp/tmph9ml1919/tmp1ywqb986.xml: 4110s # 4110s # 4110s # 4110s # 4110s # 4110s # 4110s # 4110s # 4110s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph9ml1919/tmp1ywqb986.xml', '--output', '-', '--body'] 4110s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4110s # Output: /* 4110s # * This file is generated by gdbus-codegen, do not modify it. 4110s # * 4110s # * The license of this code is the same as for the D-Bus interface description 4110s # * it was derived from. Note that it links to GLib, so must comply with the 4110s # * LGPL linking clauses. 4110s # */ 4110s # 4110s # #ifdef HAVE_CONFIG_H 4110s # # include "config.h" 4110s # #endif 4110s # 4110s # #include 4110s # #ifdef G_OS_UNIX 4110s # # include 4110s # #endif 4110s # 4110s # #ifdef G_ENABLE_DEBUG 4110s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4110s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4110s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4110s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4110s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4110s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4110s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4110s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4110s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4110s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4110s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4110s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4110s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4110s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4110s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4110s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4110s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4110s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4110s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4110s # #else /* !G_ENABLE_DEBUG */ 4110s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4110s # * Do not access GValues directly in your code. Instead, use the 4110s # * g_value_get_*() functions 4110s # */ 4110s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4110s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4110s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4110s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4110s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4110s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4110s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4110s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4110s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4110s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4110s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4110s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4110s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4110s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4110s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4110s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4110s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4110s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4110s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4110s # #endif /* !G_ENABLE_DEBUG */ 4110s # 4110s # typedef struct 4110s # { 4110s # GDBusArgInfo parent_struct; 4110s # gboolean use_gvariant; 4110s # } _ExtendedGDBusArgInfo; 4110s # 4110s # typedef struct 4110s # { 4110s # GDBusMethodInfo parent_struct; 4110s # const gchar *signal_name; 4110s # gboolean pass_fdlist; 4110s # } _ExtendedGDBusMethodInfo; 4110s # 4110s # typedef struct 4110s # { 4110s # GDBusSignalInfo parent_struct; 4110s # const gchar *signal_name; 4110s # } _ExtendedGDBusSignalInfo; 4110s # 4110s # typedef struct 4110s # { 4110s # GDBusPropertyInfo parent_struct; 4110s # const gchar *hyphen_name; 4110s # guint use_gvariant : 1; 4110s # guint emits_changed_signal : 1; 4110s # } _ExtendedGDBusPropertyInfo; 4110s # 4110s # typedef struct 4110s # { 4110s # GDBusInterfaceInfo parent_struct; 4110s # const gchar *hyphen_name; 4110s # } _ExtendedGDBusInterfaceInfo; 4110s # 4110s # typedef struct 4110s # { 4110s # const _ExtendedGDBusPropertyInfo *info; 4110s # guint prop_id; 4110s # GValue orig_value; /* the value before the change */ 4110s # } ChangedProperty; 4110s # 4110s # static void 4110s # _changed_property_free (ChangedProperty *data) 4110s # { 4110s # g_value_unset (&data->orig_value); 4110s # g_free (data); 4110s # } 4110s # 4110s # static gboolean 4110s # _g_strv_equal0 (gchar **a, gchar **b) 4110s # { 4110s # gboolean ret = FALSE; 4110s # guint n; 4110s # if (a == NULL && b == NULL) 4110s # { 4110s # ret = TRUE; 4110s # goto out; 4110s # } 4110s # if (a == NULL || b == NULL) 4110s # goto out; 4110s # if (g_strv_length (a) != g_strv_length (b)) 4110s # goto out; 4110s # for (n = 0; a[n] != NULL; n++) 4110s # if (g_strcmp0 (a[n], b[n]) != 0) 4110s # goto out; 4110s # ret = TRUE; 4110s # out: 4110s # return ret; 4110s # } 4110s # 4110s # static gboolean 4110s # _g_variant_equal0 (GVariant *a, GVariant *b) 4110s # { 4110s # gboolean ret = FALSE; 4110s # if (a == NULL && b == NULL) 4110s # { 4110s # ret = TRUE; 4110s # goto out; 4110s # } 4110s # if (a == NULL || b == NULL) 4110s # goto out; 4110s # ret = g_variant_equal (a, b); 4110s # out: 4110s # return ret; 4110s # } 4110s # 4110s # G_GNUC_UNUSED static gboolean 4110s # _g_value_equal (const GValue *a, const GValue *b) 4110s # { 4110s # gboolean ret = FALSE; 4110s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4110s # switch (G_VALUE_TYPE (a)) 4110s # { 4110s # case G_TYPE_BOOLEAN: 4110s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4110s # break; 4110s # case G_TYPE_UCHAR: 4110s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4110s # break; 4110s # case G_TYPE_INT: 4110s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4110s # break; 4110s # case G_TYPE_UINT: 4110s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4110s # break; 4110s # case G_TYPE_INT64: 4110s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4110s # break; 4110s # case G_TYPE_UINT64: 4110s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4110s # break; 4110s # case G_TYPE_DOUBLE: 4110s # { 4110s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4110s # gdouble da = g_value_get_double (a); 4110s # gdouble db = g_value_get_double (b); 4110s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4110s # } 4110s # break; 4110s # case G_TYPE_STRING: 4110s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4110s # break; 4110s # case G_TYPE_VARIANT: 4110s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4110s # break; 4110s # default: 4110s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4110s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4110s # else 4110s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4110s # break; 4110s # } 4110s # return ret; 4110s # } 4110s # 4110s # /* ------------------------------------------------------------------------ 4110s # * Code for interface org.project.SignalingIface 4110s # * ------------------------------------------------------------------------ 4110s # */ 4110s # 4110s # /** 4110s # * SECTION:OrgProjectSignalingIface 4110s # * @title: OrgProjectSignalingIface 4110s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4110s # * 4110s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4110s # */ 4110s # 4110s # enum 4110s # { 4110s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4110s # }; 4110s # 4110s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 4110s # 4110s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4110s # 4110s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4110s # { 4110s # { 4110s # -1, 4110s # (gchar *) "SimpleSignal", 4110s # NULL, 4110s # NULL 4110s # }, 4110s # "simple-signal" 4110s # }; 4110s # 4110s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4110s # { 4110s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4110s # NULL 4110s # }; 4110s # 4110s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4110s # { 4110s # { 4110s # -1, 4110s # (gchar *) "org.project.SignalingIface", 4110s # NULL, 4110s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4110s # NULL, 4110s # NULL 4110s # }, 4110s # "org-project-signaling-iface", 4110s # }; 4110s # 4110s # 4110s # /** 4110s # * org_project_signaling_iface_interface_info: 4110s # * 4110s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4110s # * 4110s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4110s # */ 4110s # GDBusInterfaceInfo * 4110s # org_project_signaling_iface_interface_info (void) 4110s # { 4110s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4110s # } 4110s # 4110s # /** 4110s # * org_project_signaling_iface_override_properties: 4110s # * @klass: The class structure for a #GObject derived class. 4110s # * @property_id_begin: The property id to assign to the first overridden property. 4110s # * 4110s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4110s # * The properties are overridden in the order they are defined. 4110s # * 4110s # * Returns: The last property id. 4110s # */ 4110s # guint 4110s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4110s # { 4110s # return property_id_begin - 1; 4110s # } 4110s # 4110s # 4110s # inline static void 4110s # org_project_signaling_iface_signal_marshal_simple_signal ( 4110s # GClosure *closure, 4110s # GValue *return_value, 4110s # unsigned int n_param_values, 4110s # const GValue *param_values, 4110s # void *invocation_hint, 4110s # void *marshal_data) 4110s # { 4110s # g_cclosure_marshal_VOID__VOID (closure, 4110s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4110s # } 4110s # 4110s # 4110s # /** 4110s # * OrgProjectSignalingIface: 4110s # * 4110s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4110s # */ 4110s # 4110s # /** 4110s # * OrgProjectSignalingIfaceIface: 4110s # * @parent_iface: The parent interface. 4110s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4110s # * 4110s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4110s # */ 4110s # 4110s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4110s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4110s # 4110s # static void 4110s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4110s # { 4110s # /* GObject signals for received D-Bus signals: */ 4110s # /** 4110s # * OrgProjectSignalingIface::simple-signal: 4110s # * @object: A #OrgProjectSignalingIface. 4110s # * 4110s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4110s # * 4110s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4110s # */ 4110s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4110s # g_signal_new ("simple-signal", 4110s # G_TYPE_FROM_INTERFACE (iface), 4110s # G_SIGNAL_RUN_LAST, 4110s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4110s # NULL, 4110s # NULL, 4110s # org_project_signaling_iface_signal_marshal_simple_signal, 4110s # G_TYPE_NONE, 4110s # 0); 4110s # 4110s # } 4110s # 4110s # /** 4110s # * org_project_signaling_iface_emit_simple_signal: 4110s # * @object: A #OrgProjectSignalingIface. 4110s # * 4110s # * Emits the "SimpleSignal" D-Bus signal. 4110s # */ 4110s # void 4110s # org_project_signaling_iface_emit_simple_signal ( 4110s # OrgProjectSignalingIface *object) 4110s # { 4110s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4110s # } 4110s # 4110s # /* ------------------------------------------------------------------------ */ 4110s # 4110s # /** 4110s # * OrgProjectSignalingIfaceProxy: 4110s # * 4110s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4110s # */ 4110s # 4110s # /** 4110s # * OrgProjectSignalingIfaceProxyClass: 4110s # * @parent_class: The parent class. 4110s # * 4110s # * Class structure for #OrgProjectSignalingIfaceProxy. 4110s # */ 4110s # 4110s # struct _OrgProjectSignalingIfaceProxyPrivate 4110s # { 4110s # GData *qdata; 4110s # }; 4110s # 4110s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4110s # 4110s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4110s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4110s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4110s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4110s # 4110s # #else 4110s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4110s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4110s # 4110s # #endif 4110s # static void 4110s # org_project_signaling_iface_proxy_finalize (GObject *object) 4110s # { 4110s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4110s # g_datalist_clear (&proxy->priv->qdata); 4110s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4110s # } 4110s # 4110s # static void 4110s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4110s # guint prop_id G_GNUC_UNUSED, 4110s # GValue *value G_GNUC_UNUSED, 4110s # GParamSpec *pspec G_GNUC_UNUSED) 4110s # { 4110s # } 4110s # 4110s # static void 4110s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4110s # guint prop_id G_GNUC_UNUSED, 4110s # const GValue *value G_GNUC_UNUSED, 4110s # GParamSpec *pspec G_GNUC_UNUSED) 4110s # { 4110s # } 4110s # 4110s # static void 4110s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4110s # const gchar *sender_name G_GNUC_UNUSED, 4110s # const gchar *signal_name, 4110s # GVariant *parameters) 4110s # { 4110s # _ExtendedGDBusSignalInfo *info; 4110s # GVariantIter iter; 4110s # GVariant *child; 4110s # GValue *paramv; 4110s # gsize num_params; 4110s # gsize n; 4110s # guint signal_id; 4110s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4110s # if (info == NULL) 4110s # return; 4110s # num_params = g_variant_n_children (parameters); 4110s # paramv = g_new0 (GValue, num_params + 1); 4110s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4110s # g_value_set_object (¶mv[0], proxy); 4110s # g_variant_iter_init (&iter, parameters); 4110s # n = 1; 4110s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4110s # { 4110s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4110s # if (arg_info->use_gvariant) 4110s # { 4110s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4110s # g_value_set_variant (¶mv[n], child); 4110s # n++; 4110s # } 4110s # else 4110s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4110s # g_variant_unref (child); 4110s # } 4110s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4110s # g_signal_emitv (paramv, signal_id, 0, NULL); 4110s # for (n = 0; n < num_params + 1; n++) 4110s # g_value_unset (¶mv[n]); 4110s # g_free (paramv); 4110s # } 4110s # 4110s # static void 4110s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4110s # GVariant *changed_properties, 4110s # const gchar *const *invalidated_properties) 4110s # { 4110s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4110s # guint n; 4110s # const gchar *key; 4110s # GVariantIter *iter; 4110s # _ExtendedGDBusPropertyInfo *info; 4110s # g_variant_get (changed_properties, "a{sv}", &iter); 4110s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4110s # { 4110s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4110s # g_datalist_remove_data (&proxy->priv->qdata, key); 4110s # if (info != NULL) 4110s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4110s # } 4110s # g_variant_iter_free (iter); 4110s # for (n = 0; invalidated_properties[n] != NULL; n++) 4110s # { 4110s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4110s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4110s # if (info != NULL) 4110s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4110s # } 4110s # } 4110s # 4110s # static void 4110s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4110s # { 4110s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4110s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4110s # #else 4110s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4110s # #endif 4110s # 4110s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4110s # } 4110s # 4110s # static void 4110s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4110s # { 4110s # GObjectClass *gobject_class; 4110s # GDBusProxyClass *proxy_class; 4110s # 4110s # gobject_class = G_OBJECT_CLASS (klass); 4110s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4110s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4110s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4110s # 4110s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4110s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4110s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4110s # 4110s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4110s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4110s # #endif 4110s # } 4110s # 4110s # static void 4110s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4110s # { 4110s # } 4110s # 4110s # /** 4110s # * org_project_signaling_iface_proxy_new: 4110s # * @connection: A #GDBusConnection. 4110s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4110s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4110s # * @object_path: An object path. 4110s # * @cancellable: (nullable): A #GCancellable or %NULL. 4110s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4110s # * @user_data: User data to pass to @callback. 4110s # * 4110s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4110s # * 4110s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4110s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4110s # * 4110s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4110s # */ 4110s # void 4110s # org_project_signaling_iface_proxy_new ( 4110s # GDBusConnection *connection, 4110s # GDBusProxyFlags flags, 4110s # const gchar *name, 4110s # const gchar *object_path, 4110s # GCancellable *cancellable, 4110s # GAsyncReadyCallback callback, 4110s # gpointer user_data) 4110s # { 4110s # 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); 4110s # } 4110s # 4110s # /** 4110s # * org_project_signaling_iface_proxy_new_finish: 4110s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4110s # * @error: Return location for error or %NULL 4110s # * 4110s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4110s # * 4110s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4110s # */ 4110s # OrgProjectSignalingIface * 4110s # org_project_signaling_iface_proxy_new_finish ( 4110s # GAsyncResult *res, 4110s # GError **error) 4110s # { 4110s # GObject *ret; 4110s # GObject *source_object; 4110s # source_object = g_async_result_get_source_object (res); 4110s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4110s # g_object_unref (source_object); 4110s # if (ret != NULL) 4110s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4110s # else 4110s # return NULL; 4110s # } 4110s # 4110s # /** 4110s # * org_project_signaling_iface_proxy_new_sync: 4110s # * @connection: A #GDBusConnection. 4110s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4110s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4110s # * @object_path: An object path. 4110s # * @cancellable: (nullable): A #GCancellable or %NULL. 4110s # * @error: Return location for error or %NULL 4110s # * 4110s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4110s # * 4110s # * The calling thread is blocked until a reply is received. 4110s # * 4110s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4110s # * 4110s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4110s # */ 4110s # OrgProjectSignalingIface * 4110s # org_project_signaling_iface_proxy_new_sync ( 4110s # GDBusConnection *connection, 4110s # GDBusProxyFlags flags, 4110s # const gchar *name, 4110s # const gchar *object_path, 4110s # GCancellable *cancellable, 4110s # GError **error) 4110s # { 4110s # GInitable *ret; 4110s # 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); 4110s # if (ret != NULL) 4110s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4110s # else 4110s # return NULL; 4110s # } 4110s # 4110s # 4110s # /** 4110s # * org_project_signaling_iface_proxy_new_for_bus: 4110s # * @bus_type: A #GBusType. 4110s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4110s # * @name: A bus name (well-known or unique). 4110s # * @object_path: An object path. 4110s # * @cancellable: (nullable): A #GCancellable or %NULL. 4110s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4110s # * @user_data: User data to pass to @callback. 4110s # * 4110s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4110s # * 4110s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4110s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4110s # * 4110s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4110s # */ 4110s # void 4110s # org_project_signaling_iface_proxy_new_for_bus ( 4110s # GBusType bus_type, 4110s # GDBusProxyFlags flags, 4110s # const gchar *name, 4110s # const gchar *object_path, 4110s # GCancellable *cancellable, 4110s # GAsyncReadyCallback callback, 4110s # gpointer user_data) 4110s # { 4110s # 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); 4110s # } 4110s # 4110s # /** 4110s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4110s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4110s # * @error: Return location for error or %NULL 4110s # * 4110s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4110s # * 4110s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4110s # */ 4110s # OrgProjectSignalingIface * 4110s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4110s # GAsyncResult *res, 4110s # GError **error) 4110s # { 4110s # GObject *ret; 4110s # GObject *source_object; 4110s # source_object = g_async_result_get_source_object (res); 4110s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4110s # g_object_unref (source_object); 4110s # if (ret != NULL) 4110s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4110s # else 4110s # return NULL; 4110s # } 4110s # 4110s # /** 4110s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4110s # * @bus_type: A #GBusType. 4110s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4110s # * @name: A bus name (well-known or unique). 4110s # * @object_path: An object path. 4110s # * @cancellable: (nullable): A #GCancellable or %NULL. 4110s # * @error: Return location for error or %NULL 4110s # * 4110s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4110s # * 4110s # * The calling thread is blocked until a reply is received. 4110s # * 4110s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4110s # * 4110s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4110s # */ 4110s # OrgProjectSignalingIface * 4110s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4110s # GBusType bus_type, 4110s # GDBusProxyFlags flags, 4110s # const gchar *name, 4110s # const gchar *object_path, 4110s # GCancellable *cancellable, 4110s # GError **error) 4110s # { 4110s # GInitable *ret; 4110s # 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); 4110s # if (ret != NULL) 4110s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4110s # else 4110s # return NULL; 4110s # } 4110s # 4110s # 4110s # /* ------------------------------------------------------------------------ */ 4110s # 4110s # /** 4110s # * OrgProjectSignalingIfaceSkeleton: 4110s # * 4110s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4110s # */ 4110s # 4110s # /** 4110s # * OrgProjectSignalingIfaceSkeletonClass: 4110s # * @parent_class: The parent class. 4110s # * 4110s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4110s # */ 4110s # 4110s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4110s # { 4110s # GValue *properties; 4110s # GList *changed_properties; 4110s # GSource *changed_properties_idle_source; 4110s # GMainContext *context; 4110s # GMutex lock; 4110s # }; 4110s # 4110s # static void 4110s # _org_project_signaling_iface_skeleton_handle_method_call ( 4110s # GDBusConnection *connection G_GNUC_UNUSED, 4110s # const gchar *sender G_GNUC_UNUSED, 4110s # const gchar *object_path G_GNUC_UNUSED, 4110s # const gchar *interface_name, 4110s # const gchar *method_name, 4110s # GVariant *parameters, 4110s # GDBusMethodInvocation *invocation, 4110s # gpointer user_data) 4110s # { 4110s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4110s # _ExtendedGDBusMethodInfo *info; 4110s # GVariantIter iter; 4110s # GVariant *child; 4110s # GValue *paramv; 4110s # gsize num_params; 4110s # guint num_extra; 4110s # gsize n; 4110s # guint signal_id; 4110s # GValue return_value = G_VALUE_INIT; 4110s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4110s # g_assert (info != NULL); 4110s # num_params = g_variant_n_children (parameters); 4110s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4110s # n = 0; 4110s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4110s # g_value_set_object (¶mv[n++], skeleton); 4110s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4110s # g_value_set_object (¶mv[n++], invocation); 4110s # if (info->pass_fdlist) 4110s # { 4110s # #ifdef G_OS_UNIX 4110s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4110s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4110s # #else 4110s # g_assert_not_reached (); 4110s # #endif 4110s # } 4110s # g_variant_iter_init (&iter, parameters); 4110s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4110s # { 4110s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4110s # if (arg_info->use_gvariant) 4110s # { 4110s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4110s # g_value_set_variant (¶mv[n], child); 4110s # n++; 4110s # } 4110s # else 4110s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4110s # g_variant_unref (child); 4110s # } 4110s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4110s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4110s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4110s # if (!g_value_get_boolean (&return_value)) 4110s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4110s # g_value_unset (&return_value); 4110s # for (n = 0; n < num_params + num_extra; n++) 4110s # g_value_unset (¶mv[n]); 4110s # g_free (paramv); 4110s # } 4110s # 4110s # static GVariant * 4110s # _org_project_signaling_iface_skeleton_handle_get_property ( 4110s # GDBusConnection *connection G_GNUC_UNUSED, 4110s # const gchar *sender G_GNUC_UNUSED, 4110s # const gchar *object_path G_GNUC_UNUSED, 4110s # const gchar *interface_name G_GNUC_UNUSED, 4110s # const gchar *property_name, 4110s # GError **error, 4110s # gpointer user_data) 4110s # { 4110s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4110s # GValue value = G_VALUE_INIT; 4110s # GParamSpec *pspec; 4110s # _ExtendedGDBusPropertyInfo *info; 4110s # GVariant *ret; 4110s # ret = NULL; 4110s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4110s # g_assert (info != NULL); 4110s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4110s # if (pspec == NULL) 4110s # { 4110s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4110s # } 4110s # else 4110s # { 4110s # g_value_init (&value, pspec->value_type); 4110s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4110s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4110s # g_value_unset (&value); 4110s # } 4110s # return ret; 4110s # } 4110s # 4110s # static gboolean 4110s # _org_project_signaling_iface_skeleton_handle_set_property ( 4110s # GDBusConnection *connection G_GNUC_UNUSED, 4110s # const gchar *sender G_GNUC_UNUSED, 4110s # const gchar *object_path G_GNUC_UNUSED, 4110s # const gchar *interface_name G_GNUC_UNUSED, 4110s # const gchar *property_name, 4110s # GVariant *variant, 4110s # GError **error, 4110s # gpointer user_data) 4110s # { 4110s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4110s # GValue value = G_VALUE_INIT; 4110s # GParamSpec *pspec; 4110s # _ExtendedGDBusPropertyInfo *info; 4110s # gboolean ret; 4110s # ret = FALSE; 4110s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4110s # g_assert (info != NULL); 4110s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4110s # if (pspec == NULL) 4110s # { 4110s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4110s # } 4110s # else 4110s # { 4110s # if (info->use_gvariant) 4110s # g_value_set_variant (&value, variant); 4110s # else 4110s # g_dbus_gvariant_to_gvalue (variant, &value); 4110s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4110s # g_value_unset (&value); 4110s # ret = TRUE; 4110s # } 4110s # return ret; 4110s # } 4110s # 4110s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4110s # { 4110s # _org_project_signaling_iface_skeleton_handle_method_call, 4110s # _org_project_signaling_iface_skeleton_handle_get_property, 4110s # _org_project_signaling_iface_skeleton_handle_set_property, 4110s # {NULL} 4110s # }; 4110s # 4110s # static GDBusInterfaceInfo * 4110s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4110s # { 4110s # return org_project_signaling_iface_interface_info (); 4110s # } 4110s # 4110s # static GDBusInterfaceVTable * 4110s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4110s # { 4110s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4110s # } 4110s # 4110s # static GVariant * 4110s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4110s # { 4110s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4110s # 4110s # GVariantBuilder builder; 4110s # guint n; 4110s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4110s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4110s # goto out; 4110s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4110s # { 4110s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4110s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4110s # { 4110s # GVariant *value; 4110s # 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); 4110s # if (value != NULL) 4110s # { 4110s # g_variant_take_ref (value); 4110s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4110s # g_variant_unref (value); 4110s # } 4110s # } 4110s # } 4110s # out: 4110s # return g_variant_builder_end (&builder); 4110s # } 4110s # 4110s # static void 4110s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4110s # { 4110s # } 4110s # 4110s # static void 4110s # _org_project_signaling_iface_on_signal_simple_signal ( 4110s # OrgProjectSignalingIface *object) 4110s # { 4110s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4110s # 4110s # GList *connections, *l; 4110s # GVariant *signal_variant; 4110s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4110s # 4110s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4110s # for (l = connections; l != NULL; l = l->next) 4110s # { 4110s # GDBusConnection *connection = l->data; 4110s # g_dbus_connection_emit_signal (connection, 4110s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4110s # signal_variant, NULL); 4110s # } 4110s # g_variant_unref (signal_variant); 4110s # g_list_free_full (connections, g_object_unref); 4110s # } 4110s # 4110s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4110s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4110s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4110s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4110s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4110s # 4110s # #else 4110s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4110s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4110s # 4110s # #endif 4110s # static void 4110s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4110s # { 4110s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4110s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4110s # if (skeleton->priv->changed_properties_idle_source != NULL) 4110s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4110s # g_main_context_unref (skeleton->priv->context); 4110s # g_mutex_clear (&skeleton->priv->lock); 4110s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4110s # } 4110s # 4110s # static void 4110s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4110s # { 4110s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4110s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4110s # #else 4110s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4110s # #endif 4110s # 4110s # g_mutex_init (&skeleton->priv->lock); 4110s # skeleton->priv->context = g_main_context_ref_thread_default (); 4110s # } 4110s # 4110s # static void 4110s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4110s # { 4110s # GObjectClass *gobject_class; 4110s # GDBusInterfaceSkeletonClass *skeleton_class; 4110s # 4110s # gobject_class = G_OBJECT_CLASS (klass); 4110s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4110s # 4110s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4110s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4110s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4110s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4110s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4110s # 4110s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4110s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4110s # #endif 4110s # } 4110s # 4110s # static void 4110s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4110s # { 4110s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4110s # } 4110s # 4110s # /** 4110s # * org_project_signaling_iface_skeleton_new: 4110s # * 4110s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4110s # * 4110s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4110s # */ 4110s # OrgProjectSignalingIface * 4110s # org_project_signaling_iface_skeleton_new (void) 4110s # { 4110s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4110s # } 4110s # 4110s # /* ------------------------------------------------------------------------ 4110s # * Code for interface org.project.OtherSignalingIface 4110s # * ------------------------------------------------------------------------ 4110s # */ 4110s # 4110s # /** 4110s # * SECTION:OrgProjectOtherSignalingIface 4110s # * @title: OrgProjectOtherSignalingIface 4110s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 4110s # * 4110s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 4110s # */ 4110s # 4110s # enum 4110s # { 4110s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 4110s # }; 4110s # 4110s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 4110s # 4110s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 4110s # 4110s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 4110s # { 4110s # { 4110s # -1, 4110s # (gchar *) "SimpleSignal", 4110s # NULL, 4110s # NULL 4110s # }, 4110s # "simple-signal" 4110s # }; 4110s # 4110s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 4110s # { 4110s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 4110s # NULL 4110s # }; 4110s # 4110s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 4110s # { 4110s # { 4110s # -1, 4110s # (gchar *) "org.project.OtherSignalingIface", 4110s # NULL, 4110s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 4110s # NULL, 4110s # NULL 4110s # }, 4110s # "org-project-other-signaling-iface", 4110s # }; 4110s # 4110s # 4110s # /** 4110s # * org_project_other_signaling_iface_interface_info: 4110s # * 4110s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 4110s # * 4110s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4110s # */ 4110s # GDBusInterfaceInfo * 4110s # org_project_other_signaling_iface_interface_info (void) 4110s # { 4110s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 4110s # } 4110s # 4110s # /** 4110s # * org_project_other_signaling_iface_override_properties: 4110s # * @klass: The class structure for a #GObject derived class. 4110s # * @property_id_begin: The property id to assign to the first overridden property. 4110s # * 4110s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 4110s # * The properties are overridden in the order they are defined. 4110s # * 4110s # * Returns: The last property id. 4110s # */ 4110s # guint 4110s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4110s # { 4110s # return property_id_begin - 1; 4110s # } 4110s # 4110s # 4110s # inline static void 4110s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 4110s # GClosure *closure, 4110s # GValue *return_value, 4110s # unsigned int n_param_values, 4110s # const GValue *param_values, 4110s # void *invocation_hint, 4110s # void *marshal_data) 4110s # { 4110s # g_cclosure_marshal_VOID__VOID (closure, 4110s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4110s # } 4110s # 4110s # 4110s # /** 4110s # * OrgProjectOtherSignalingIface: 4110s # * 4110s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 4110s # */ 4110s # 4110s # /** 4110s # * OrgProjectOtherSignalingIfaceIface: 4110s # * @parent_iface: The parent interface. 4110s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 4110s # * 4110s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 4110s # */ 4110s # 4110s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 4110s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 4110s # 4110s # static void 4110s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 4110s # { 4110s # /* GObject signals for received D-Bus signals: */ 4110s # /** 4110s # * OrgProjectOtherSignalingIface::simple-signal: 4110s # * @object: A #OrgProjectOtherSignalingIface. 4110s # * 4110s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4110s # * 4110s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4110s # */ 4110s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4110s # g_signal_new ("simple-signal", 4110s # G_TYPE_FROM_INTERFACE (iface), 4110s # G_SIGNAL_RUN_LAST, 4110s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 4110s # NULL, 4110s # NULL, 4110s # org_project_other_signaling_iface_signal_marshal_simple_signal, 4110s # G_TYPE_NONE, 4110s # 0); 4110s # 4110s # } 4110s # 4110s # /** 4110s # * org_project_other_signaling_iface_emit_simple_signal: 4110s # * @object: A #OrgProjectOtherSignalingIface. 4110s # * 4110s # * Emits the "SimpleSignal" D-Bus signal. 4110s # */ 4110s # void 4110s # org_project_other_signaling_iface_emit_simple_signal ( 4110s # OrgProjectOtherSignalingIface *object) 4110s # { 4110s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4110s # } 4110s # 4110s # /* ------------------------------------------------------------------------ */ 4110s # 4110s # /** 4110s # * OrgProjectOtherSignalingIfaceProxy: 4110s # * 4110s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4110s # */ 4110s # 4110s # /** 4110s # * OrgProjectOtherSignalingIfaceProxyClass: 4110s # * @parent_class: The parent class. 4110s # * 4110s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 4110s # */ 4110s # 4110s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 4110s # { 4110s # GData *qdata; 4110s # }; 4110s # 4110s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 4110s # 4110s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4110s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4110s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 4110s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 4110s # 4110s # #else 4110s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4110s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 4110s # 4110s # #endif 4110s # static void 4110s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 4110s # { 4110s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 4110s # g_datalist_clear (&proxy->priv->qdata); 4110s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 4110s # } 4110s # 4110s # static void 4110s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4110s # guint prop_id G_GNUC_UNUSED, 4110s # GValue *value G_GNUC_UNUSED, 4110s # GParamSpec *pspec G_GNUC_UNUSED) 4110s # { 4110s # } 4110s # 4110s # static void 4110s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4110s # guint prop_id G_GNUC_UNUSED, 4110s # const GValue *value G_GNUC_UNUSED, 4110s # GParamSpec *pspec G_GNUC_UNUSED) 4110s # { 4110s # } 4110s # 4110s # static void 4110s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4110s # const gchar *sender_name G_GNUC_UNUSED, 4110s # const gchar *signal_name, 4110s # GVariant *parameters) 4110s # { 4110s # _ExtendedGDBusSignalInfo *info; 4110s # GVariantIter iter; 4110s # GVariant *child; 4110s # GValue *paramv; 4110s # gsize num_params; 4110s # gsize n; 4110s # guint signal_id; 4110s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 4110s # if (info == NULL) 4110s # return; 4110s # num_params = g_variant_n_children (parameters); 4110s # paramv = g_new0 (GValue, num_params + 1); 4110s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 4110s # g_value_set_object (¶mv[0], proxy); 4110s # g_variant_iter_init (&iter, parameters); 4110s # n = 1; 4110s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4110s # { 4110s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4110s # if (arg_info->use_gvariant) 4110s # { 4110s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4110s # g_value_set_variant (¶mv[n], child); 4110s # n++; 4110s # } 4110s # else 4110s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4110s # g_variant_unref (child); 4110s # } 4110s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 4110s # g_signal_emitv (paramv, signal_id, 0, NULL); 4110s # for (n = 0; n < num_params + 1; n++) 4110s # g_value_unset (¶mv[n]); 4110s # g_free (paramv); 4110s # } 4110s # 4110s # static void 4110s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4110s # GVariant *changed_properties, 4110s # const gchar *const *invalidated_properties) 4110s # { 4110s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 4110s # guint n; 4110s # const gchar *key; 4110s # GVariantIter *iter; 4110s # _ExtendedGDBusPropertyInfo *info; 4110s # g_variant_get (changed_properties, "a{sv}", &iter); 4110s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4110s # { 4110s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 4110s # g_datalist_remove_data (&proxy->priv->qdata, key); 4110s # if (info != NULL) 4110s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4110s # } 4110s # g_variant_iter_free (iter); 4110s # for (n = 0; invalidated_properties[n] != NULL; n++) 4110s # { 4110s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4110s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4110s # if (info != NULL) 4110s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4110s # } 4110s # } 4110s # 4110s # static void 4110s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 4110s # { 4110s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4110s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 4110s # #else 4110s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 4110s # #endif 4110s # 4110s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 4110s # } 4110s # 4110s # static void 4110s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 4110s # { 4110s # GObjectClass *gobject_class; 4110s # GDBusProxyClass *proxy_class; 4110s # 4110s # gobject_class = G_OBJECT_CLASS (klass); 4110s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 4110s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 4110s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 4110s # 4110s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4110s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 4110s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 4110s # 4110s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4110s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 4110s # #endif 4110s # } 4110s # 4110s # static void 4110s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 4110s # { 4110s # } 4110s # 4110s # /** 4110s # * org_project_other_signaling_iface_proxy_new: 4110s # * @connection: A #GDBusConnection. 4110s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4110s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4110s # * @object_path: An object path. 4110s # * @cancellable: (nullable): A #GCancellable or %NULL. 4110s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4110s # * @user_data: User data to pass to @callback. 4110s # * 4110s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 4110s # * 4110s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4110s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 4110s # * 4110s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4110s # */ 4110s # void 4110s # org_project_other_signaling_iface_proxy_new ( 4110s # GDBusConnection *connection, 4110s # GDBusProxyFlags flags, 4110s # const gchar *name, 4110s # const gchar *object_path, 4110s # GCancellable *cancellable, 4110s # GAsyncReadyCallback callback, 4110s # gpointer user_data) 4110s # { 4110s # 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); 4110s # } 4110s # 4110s # /** 4110s # * org_project_other_signaling_iface_proxy_new_finish: 4110s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 4110s # * @error: Return location for error or %NULL 4110s # * 4110s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 4110s # * 4110s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4110s # */ 4110s # OrgProjectOtherSignalingIface * 4110s # org_project_other_signaling_iface_proxy_new_finish ( 4110s # GAsyncResult *res, 4110s # GError **error) 4110s # { 4110s # GObject *ret; 4110s # GObject *source_object; 4110s # source_object = g_async_result_get_source_object (res); 4110s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4110s # g_object_unref (source_object); 4110s # if (ret != NULL) 4110s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 4110s # else 4110s # return NULL; 4110s # } 4110s # 4110s # /** 4110s # * org_project_other_signaling_iface_proxy_new_sync: 4110s # * @connection: A #GDBusConnection. 4110s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4110s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4110s # * @object_path: An object path. 4110s # * @cancellable: (nullable): A #GCancellable or %NULL. 4110s # * @error: Return location for error or %NULL 4110s # * 4110s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 4110s # * 4110s # * The calling thread is blocked until a reply is received. 4110s # * 4110s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4110s # * 4110s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4110s # */ 4110s # OrgProjectOtherSignalingIface * 4110s # org_project_other_signaling_iface_proxy_new_sync ( 4110s # GDBusConnection *connection, 4110s # GDBusProxyFlags flags, 4110s # const gchar *name, 4110s # const gchar *object_path, 4110s # GCancellable *cancellable, 4110s # GError **error) 4110s # { 4110s # GInitable *ret; 4110s # 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); 4110s # if (ret != NULL) 4110s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 4110s # else 4110s # return NULL; 4110s # } 4110s # 4110s # 4110s # /** 4110s # * org_project_other_signaling_iface_proxy_new_for_bus: 4110s # * @bus_type: A #GBusType. 4110s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4110s # * @name: A bus name (well-known or unique). 4110s # * @object_path: An object path. 4110s # * @cancellable: (nullable): A #GCancellable or %NULL. 4110s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4110s # * @user_data: User data to pass to @callback. 4110s # * 4110s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4110s # * 4110s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4110s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4110s # * 4110s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4110s # */ 4110s # void 4110s # org_project_other_signaling_iface_proxy_new_for_bus ( 4110s # GBusType bus_type, 4110s # GDBusProxyFlags flags, 4110s # const gchar *name, 4110s # const gchar *object_path, 4110s # GCancellable *cancellable, 4110s # GAsyncReadyCallback callback, 4110s # gpointer user_data) 4110s # { 4110s # 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); 4110s # } 4110s # 4110s # /** 4110s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 4110s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 4110s # * @error: Return location for error or %NULL 4110s # * 4110s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 4110s # * 4110s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4110s # */ 4110s # OrgProjectOtherSignalingIface * 4110s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 4110s # GAsyncResult *res, 4110s # GError **error) 4110s # { 4110s # GObject *ret; 4110s # GObject *source_object; 4110s # source_object = g_async_result_get_source_object (res); 4110s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4110s # g_object_unref (source_object); 4110s # if (ret != NULL) 4110s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 4110s # else 4110s # return NULL; 4110s # } 4110s # 4110s # /** 4110s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 4110s # * @bus_type: A #GBusType. 4110s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4110s # * @name: A bus name (well-known or unique). 4110s # * @object_path: An object path. 4110s # * @cancellable: (nullable): A #GCancellable or %NULL. 4110s # * @error: Return location for error or %NULL 4110s # * 4110s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4110s # * 4110s # * The calling thread is blocked until a reply is received. 4110s # * 4110s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4110s # * 4110s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4110s # */ 4110s # OrgProjectOtherSignalingIface * 4110s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 4110s # GBusType bus_type, 4110s # GDBusProxyFlags flags, 4110s # const gchar *name, 4110s # const gchar *object_path, 4110s # GCancellable *cancellable, 4110s # GError **error) 4110s # { 4110s # GInitable *ret; 4110s # 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); 4110s # if (ret != NULL) 4110s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 4110s # else 4110s # return NULL; 4110s # } 4110s # 4110s # 4110s # /* ------------------------------------------------------------------------ */ 4110s # 4110s # /** 4110s # * OrgProjectOtherSignalingIfaceSkeleton: 4110s # * 4110s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4110s # */ 4110s # 4110s # /** 4110s # * OrgProjectOtherSignalingIfaceSkeletonClass: 4110s # * @parent_class: The parent class. 4110s # * 4110s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 4110s # */ 4110s # 4110s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 4110s # { 4110s # GValue *properties; 4110s # GList *changed_properties; 4110s # GSource *changed_properties_idle_source; 4110s # GMainContext *context; 4110s # GMutex lock; 4110s # }; 4110s # 4110s # static void 4110s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 4110s # GDBusConnection *connection G_GNUC_UNUSED, 4110s # const gchar *sender G_GNUC_UNUSED, 4110s # const gchar *object_path G_GNUC_UNUSED, 4110s # const gchar *interface_name, 4110s # const gchar *method_name, 4110s # GVariant *parameters, 4110s # GDBusMethodInvocation *invocation, 4110s # gpointer user_data) 4110s # { 4110s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 4110s # _ExtendedGDBusMethodInfo *info; 4110s # GVariantIter iter; 4110s # GVariant *child; 4110s # GValue *paramv; 4110s # gsize num_params; 4110s # guint num_extra; 4110s # gsize n; 4110s # guint signal_id; 4110s # GValue return_value = G_VALUE_INIT; 4110s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4110s # g_assert (info != NULL); 4110s # num_params = g_variant_n_children (parameters); 4110s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4110s # n = 0; 4110s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 4110s # g_value_set_object (¶mv[n++], skeleton); 4110s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4110s # g_value_set_object (¶mv[n++], invocation); 4110s # if (info->pass_fdlist) 4110s # { 4110s # #ifdef G_OS_UNIX 4110s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4110s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4110s # #else 4110s # g_assert_not_reached (); 4110s # #endif 4110s # } 4110s # g_variant_iter_init (&iter, parameters); 4110s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4110s # { 4110s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4110s # if (arg_info->use_gvariant) 4110s # { 4110s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4110s # g_value_set_variant (¶mv[n], child); 4110s # n++; 4110s # } 4110s # else 4110s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4110s # g_variant_unref (child); 4110s # } 4110s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 4110s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4110s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4110s # if (!g_value_get_boolean (&return_value)) 4110s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4110s # g_value_unset (&return_value); 4110s # for (n = 0; n < num_params + num_extra; n++) 4110s # g_value_unset (¶mv[n]); 4110s # g_free (paramv); 4110s # } 4110s # 4110s # static GVariant * 4110s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 4110s # GDBusConnection *connection G_GNUC_UNUSED, 4110s # const gchar *sender G_GNUC_UNUSED, 4110s # const gchar *object_path G_GNUC_UNUSED, 4110s # const gchar *interface_name G_GNUC_UNUSED, 4110s # const gchar *property_name, 4110s # GError **error, 4110s # gpointer user_data) 4110s # { 4110s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 4110s # GValue value = G_VALUE_INIT; 4110s # GParamSpec *pspec; 4110s # _ExtendedGDBusPropertyInfo *info; 4110s # GVariant *ret; 4110s # ret = NULL; 4110s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 4110s # g_assert (info != NULL); 4110s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4110s # if (pspec == NULL) 4110s # { 4110s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4110s # } 4110s # else 4110s # { 4110s # g_value_init (&value, pspec->value_type); 4110s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4110s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4110s # g_value_unset (&value); 4110s # } 4110s # return ret; 4110s # } 4110s # 4110s # static gboolean 4110s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 4110s # GDBusConnection *connection G_GNUC_UNUSED, 4110s # const gchar *sender G_GNUC_UNUSED, 4110s # const gchar *object_path G_GNUC_UNUSED, 4110s # const gchar *interface_name G_GNUC_UNUSED, 4110s # const gchar *property_name, 4110s # GVariant *variant, 4110s # GError **error, 4110s # gpointer user_data) 4110s # { 4110s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 4110s # GValue value = G_VALUE_INIT; 4110s # GParamSpec *pspec; 4110s # _ExtendedGDBusPropertyInfo *info; 4110s # gboolean ret; 4110s # ret = FALSE; 4110s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 4110s # g_assert (info != NULL); 4110s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4110s # if (pspec == NULL) 4110s # { 4110s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4110s # } 4110s # else 4110s # { 4110s # if (info->use_gvariant) 4110s # g_value_set_variant (&value, variant); 4110s # else 4110s # g_dbus_gvariant_to_gvalue (variant, &value); 4110s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4110s # g_value_unset (&value); 4110s # ret = TRUE; 4110s # } 4110s # return ret; 4110s # } 4110s # 4110s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 4110s # { 4110s # _org_project_other_signaling_iface_skeleton_handle_method_call, 4110s # _org_project_other_signaling_iface_skeleton_handle_get_property, 4110s # _org_project_other_signaling_iface_skeleton_handle_set_property, 4110s # {NULL} 4110s # }; 4110s # 4110s # static GDBusInterfaceInfo * 4110s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4110s # { 4110s # return org_project_other_signaling_iface_interface_info (); 4110s # } 4110s # 4110s # static GDBusInterfaceVTable * 4110s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4110s # { 4110s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 4110s # } 4110s # 4110s # static GVariant * 4110s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4110s # { 4110s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 4110s # 4110s # GVariantBuilder builder; 4110s # guint n; 4110s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4110s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 4110s # goto out; 4110s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4110s # { 4110s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 4110s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4110s # { 4110s # GVariant *value; 4110s # 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); 4110s # if (value != NULL) 4110s # { 4110s # g_variant_take_ref (value); 4110s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4110s # g_variant_unref (value); 4110s # } 4110s # } 4110s # } 4110s # out: 4110s # return g_variant_builder_end (&builder); 4110s # } 4110s # 4110s # static void 4110s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4110s # { 4110s # } 4110s # 4110s # static void 4110s # _org_project_other_signaling_iface_on_signal_simple_signal ( 4110s # OrgProjectOtherSignalingIface *object) 4110s # { 4110s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 4110s # 4110s # GList *connections, *l; 4110s # GVariant *signal_variant; 4110s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4110s # 4110s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4110s # for (l = connections; l != NULL; l = l->next) 4110s # { 4110s # GDBusConnection *connection = l->data; 4110s # g_dbus_connection_emit_signal (connection, 4110s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 4110s # signal_variant, NULL); 4110s # } 4110s # g_variant_unref (signal_variant); 4110s # g_list_free_full (connections, g_object_unref); 4110s # } 4110s # 4110s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 4110s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4110s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4110s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 4110s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 4110s # 4110s # #else 4110s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4110s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 4110s # 4110s # #endif 4110s # static void 4110s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 4110s # { 4110s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 4110s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4110s # if (skeleton->priv->changed_properties_idle_source != NULL) 4110s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4110s # g_main_context_unref (skeleton->priv->context); 4110s # g_mutex_clear (&skeleton->priv->lock); 4110s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 4110s # } 4110s # 4110s # static void 4110s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 4110s # { 4110s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4110s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 4110s # #else 4110s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 4110s # #endif 4110s # 4110s # g_mutex_init (&skeleton->priv->lock); 4110s # skeleton->priv->context = g_main_context_ref_thread_default (); 4110s # } 4110s # 4110s # static void 4110s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 4110s # { 4110s # GObjectClass *gobject_class; 4110s # GDBusInterfaceSkeletonClass *skeleton_class; 4110s # 4110s # gobject_class = G_OBJECT_CLASS (klass); 4110s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 4110s # 4110s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4110s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 4110s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 4110s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 4110s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 4110s # 4110s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4110s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 4110s # #endif 4110s # } 4110s # 4110s # static void 4110s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 4110s # { 4110s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 4110s # } 4110s # 4110s # /** 4110s # * org_project_other_signaling_iface_skeleton_new: 4110s # * 4110s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 4110s # * 4110s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 4110s # */ 4110s # OrgProjectOtherSignalingIface * 4110s # org_project_other_signaling_iface_skeleton_new (void) 4110s # { 4110s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 4110s # } 4112s # Executing: glib/codegen.py.test 4113s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 4113s # tmpdir: /tmp/tmp74tbisad 4113s # codegen: /usr/bin/gdbus-codegen 4113s # /tmp/tmp74tbisad/tmpvcopjmnv.xml: 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmpvcopjmnv.xml', '--output', '-', '--body'] 4113s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4113s # Output: /* 4113s # * This file is generated by gdbus-codegen, do not modify it. 4113s # * 4113s # * The license of this code is the same as for the D-Bus interface description 4113s # * it was derived from. Note that it links to GLib, so must comply with the 4113s # * LGPL linking clauses. 4113s # */ 4113s # 4113s # #ifdef HAVE_CONFIG_H 4113s # # include "config.h" 4113s # #endif 4113s # 4113s # #include 4113s # #ifdef G_OS_UNIX 4113s # # include 4113s # #endif 4113s # 4113s # #ifdef G_ENABLE_DEBUG 4113s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4113s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4113s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4113s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4113s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4113s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4113s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4113s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4113s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4113s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4113s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4113s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4113s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4113s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4113s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4113s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4113s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4113s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4113s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4113s # #else /* !G_ENABLE_DEBUG */ 4113s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4113s # * Do not access GValues directly in your code. Instead, use the 4113s # * g_value_get_*() functions 4113s # */ 4113s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4113s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4113s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4113s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4113s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4113s # #endif /* !G_ENABLE_DEBUG */ 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusArgInfo parent_struct; 4113s # gboolean use_gvariant; 4113s # } _ExtendedGDBusArgInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusMethodInfo parent_struct; 4113s # const gchar *signal_name; 4113s # gboolean pass_fdlist; 4113s # } _ExtendedGDBusMethodInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusSignalInfo parent_struct; 4113s # const gchar *signal_name; 4113s # } _ExtendedGDBusSignalInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusPropertyInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # guint use_gvariant : 1; 4113s # guint emits_changed_signal : 1; 4113s # } _ExtendedGDBusPropertyInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusInterfaceInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # } _ExtendedGDBusInterfaceInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # const _ExtendedGDBusPropertyInfo *info; 4113s # guint prop_id; 4113s # GValue orig_value; /* the value before the change */ 4113s # } ChangedProperty; 4113s # 4113s # static void 4113s # _changed_property_free (ChangedProperty *data) 4113s # { 4113s # g_value_unset (&data->orig_value); 4113s # g_free (data); 4113s # } 4113s # 4113s # static gboolean 4113s # _g_strv_equal0 (gchar **a, gchar **b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # guint n; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # if (g_strv_length (a) != g_strv_length (b)) 4113s # goto out; 4113s # for (n = 0; a[n] != NULL; n++) 4113s # if (g_strcmp0 (a[n], b[n]) != 0) 4113s # goto out; 4113s # ret = TRUE; 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # static gboolean 4113s # _g_variant_equal0 (GVariant *a, GVariant *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # ret = g_variant_equal (a, b); 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # G_GNUC_UNUSED static gboolean 4113s # _g_value_equal (const GValue *a, const GValue *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4113s # switch (G_VALUE_TYPE (a)) 4113s # { 4113s # case G_TYPE_BOOLEAN: 4113s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4113s # break; 4113s # case G_TYPE_UCHAR: 4113s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4113s # break; 4113s # case G_TYPE_INT: 4113s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4113s # break; 4113s # case G_TYPE_UINT: 4113s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4113s # break; 4113s # case G_TYPE_INT64: 4113s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4113s # break; 4113s # case G_TYPE_UINT64: 4113s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4113s # break; 4113s # case G_TYPE_DOUBLE: 4113s # { 4113s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4113s # gdouble da = g_value_get_double (a); 4113s # gdouble db = g_value_get_double (b); 4113s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4113s # } 4113s # break; 4113s # case G_TYPE_STRING: 4113s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4113s # break; 4113s # case G_TYPE_VARIANT: 4113s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4113s # break; 4113s # default: 4113s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4113s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4113s # else 4113s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4113s # break; 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ 4113s # * Code for interface org.project.SignalingIface 4113s # * ------------------------------------------------------------------------ 4113s # */ 4113s # 4113s # /** 4113s # * SECTION:OrgProjectSignalingIface 4113s # * @title: OrgProjectSignalingIface 4113s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4113s # * 4113s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4113s # */ 4113s # 4113s # enum 4113s # { 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4113s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 4113s # }; 4113s # 4113s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4113s # 4113s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SimpleSignal", 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "simple-signal" 4113s # }; 4113s # 4113s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "arg_b", 4113s # (gchar *) "b", 4113s # NULL 4113s # }, 4113s # FALSE 4113s # }; 4113s # 4113s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SingleArgSignalB", 4113s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 4113s # NULL 4113s # }, 4113s # "single-arg-signal-b" 4113s # }; 4113s # 4113s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "org.project.SignalingIface", 4113s # NULL, 4113s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "org-project-signaling-iface", 4113s # }; 4113s # 4113s # 4113s # /** 4113s # * org_project_signaling_iface_interface_info: 4113s # * 4113s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4113s # * 4113s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4113s # */ 4113s # GDBusInterfaceInfo * 4113s # org_project_signaling_iface_interface_info (void) 4113s # { 4113s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_override_properties: 4113s # * @klass: The class structure for a #GObject derived class. 4113s # * @property_id_begin: The property id to assign to the first overridden property. 4113s # * 4113s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4113s # * The properties are overridden in the order they are defined. 4113s # * 4113s # * Returns: The last property id. 4113s # */ 4113s # guint 4113s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4113s # { 4113s # return property_id_begin - 1; 4113s # } 4113s # 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_simple_signal ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # g_cclosure_marshal_VOID__VOID (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # g_cclosure_marshal_VOID__BOOLEAN (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface: 4113s # * 4113s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceIface: 4113s # * @parent_iface: The parent interface. 4113s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4113s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 4113s # * 4113s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4113s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4113s # 4113s # static void 4113s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4113s # { 4113s # /* GObject signals for received D-Bus signals: */ 4113s # /** 4113s # * OrgProjectSignalingIface::simple-signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4113s # g_signal_new ("simple-signal", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_simple_signal, 4113s # G_TYPE_NONE, 4113s # 0); 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface::single-arg-signal-b: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_b: Argument. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 4113s # g_signal_new ("single-arg-signal-b", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 4113s # G_TYPE_NONE, 4113s # 1, G_TYPE_BOOLEAN); 4113s # 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_simple_signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * Emits the "SimpleSignal" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_simple_signal ( 4113s # OrgProjectSignalingIface *object) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_single_arg_signal_b: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_b: Argument to pass with the signal. 4113s # * 4113s # * Emits the "SingleArgSignalB" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_single_arg_signal_b ( 4113s # OrgProjectSignalingIface *object, 4113s # gboolean arg_arg_b) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxy: 4113s # * 4113s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxyClass: 4113s # * @parent_class: The parent class. 4113s # * 4113s # * Class structure for #OrgProjectSignalingIfaceProxy. 4113s # */ 4113s # 4113s # struct _OrgProjectSignalingIfaceProxyPrivate 4113s # { 4113s # GData *qdata; 4113s # }; 4113s # 4113s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #else 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #endif 4113s # static void 4113s # org_project_signaling_iface_proxy_finalize (GObject *object) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4113s # g_datalist_clear (&proxy->priv->qdata); 4113s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # const GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4113s # const gchar *sender_name G_GNUC_UNUSED, 4113s # const gchar *signal_name, 4113s # GVariant *parameters) 4113s # { 4113s # _ExtendedGDBusSignalInfo *info; 4113s # GVariantIter iter; 4113s # GVariant *child; 4113s # GValue *paramv; 4113s # gsize num_params; 4113s # gsize n; 4113s # guint signal_id; 4113s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4113s # if (info == NULL) 4113s # return; 4113s # num_params = g_variant_n_children (parameters); 4113s # paramv = g_new0 (GValue, num_params + 1); 4113s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_set_object (¶mv[0], proxy); 4113s # g_variant_iter_init (&iter, parameters); 4113s # n = 1; 4113s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4113s # { 4113s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4113s # if (arg_info->use_gvariant) 4113s # { 4113s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4113s # g_value_set_variant (¶mv[n], child); 4113s # n++; 4113s # } 4113s # else 4113s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4113s # g_variant_unref (child); 4113s # } 4113s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_signal_emitv (paramv, signal_id, 0, NULL); 4113s # for (n = 0; n < num_params + 1; n++) 4113s # g_value_unset (¶mv[n]); 4113s # g_free (paramv); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4113s # GVariant *changed_properties, 4113s # const gchar *const *invalidated_properties) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4113s # guint n; 4113s # const gchar *key; 4113s # GVariantIter *iter; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # g_variant_get (changed_properties, "a{sv}", &iter); 4113s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4113s # g_datalist_remove_data (&proxy->priv->qdata, key); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # g_variant_iter_free (iter); 4113s # for (n = 0; invalidated_properties[n] != NULL; n++) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4113s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4113s # { 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4113s # #else 4113s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4113s # #endif 4113s # 4113s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4113s # { 4113s # GObjectClass *gobject_class; 4113s # GDBusProxyClass *proxy_class; 4113s # 4113s # gobject_class = G_OBJECT_CLASS (klass); 4113s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4113s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4113s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4113s # 4113s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4113s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4113s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4113s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4113s # #endif 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new: 4113s # * @connection: A #GDBusConnection. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4113s # * @user_data: User data to pass to @callback. 4113s # * 4113s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4113s # * 4113s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4113s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_proxy_new ( 4113s # GDBusConnection *connection, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GAsyncReadyCallback callback, 4113s # gpointer user_data) 4113s # { 4113s # 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); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_finish: 4113s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_finish ( 4113s # GAsyncResult *res, 4113s # GError **error) 4113s # { 4113s # GObject *ret; 4113s # GObject *source_object; 4113s # source_object = g_async_result_get_source_object (res); 4113s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4113s # g_object_unref (source_object); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_sync: 4113s # * @connection: A #GDBusConnection. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4113s # * 4113s # * The calling thread is blocked until a reply is received. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_sync ( 4113s # GDBusConnection *connection, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GError **error) 4113s # { 4113s # GInitable *ret; 4113s # 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); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus: 4113s # * @bus_type: A #GBusType. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: A bus name (well-known or unique). 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4113s # * @user_data: User data to pass to @callback. 4113s # * 4113s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4113s # * 4113s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4113s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_proxy_new_for_bus ( 4113s # GBusType bus_type, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GAsyncReadyCallback callback, 4113s # gpointer user_data) 4113s # { 4113s # 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); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4113s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4113s # GAsyncResult *res, 4113s # GError **error) 4113s # { 4113s # GObject *ret; 4113s # GObject *source_object; 4113s # source_object = g_async_result_get_source_object (res); 4113s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4113s # g_object_unref (source_object); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4113s # * @bus_type: A #GBusType. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: A bus name (well-known or unique). 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4113s # * 4113s # * The calling thread is blocked until a reply is received. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4113s # GBusType bus_type, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GError **error) 4113s # { 4113s # GInitable *ret; 4113s # 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); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # 4113s # /* ------------------------------------------------------------------------ */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceSkeleton: 4113s # * 4113s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceSkeletonClass: 4113s # * @parent_class: The parent class. 4113s # * 4113s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4113s # */ 4113s # 4113s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4113s # { 4113s # GValue *properties; 4113s # GList *changed_properties; 4113s # GSource *changed_properties_idle_source; 4113s # GMainContext *context; 4113s # GMutex lock; 4113s # }; 4113s # 4113s # static void 4113s # _org_project_signaling_iface_skeleton_handle_method_call ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name, 4113s # const gchar *method_name, 4113s # GVariant *parameters, 4113s # GDBusMethodInvocation *invocation, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # _ExtendedGDBusMethodInfo *info; 4113s # GVariantIter iter; 4113s # GVariant *child; 4113s # GValue *paramv; 4113s # gsize num_params; 4113s # guint num_extra; 4113s # gsize n; 4113s # guint signal_id; 4113s # GValue return_value = G_VALUE_INIT; 4113s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4113s # g_assert (info != NULL); 4113s # num_params = g_variant_n_children (parameters); 4113s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4113s # n = 0; 4113s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_set_object (¶mv[n++], skeleton); 4113s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4113s # g_value_set_object (¶mv[n++], invocation); 4113s # if (info->pass_fdlist) 4113s # { 4113s # #ifdef G_OS_UNIX 4113s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4113s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4113s # #else 4113s # g_assert_not_reached (); 4113s # #endif 4113s # } 4113s # g_variant_iter_init (&iter, parameters); 4113s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4113s # { 4113s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4113s # if (arg_info->use_gvariant) 4113s # { 4113s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4113s # g_value_set_variant (¶mv[n], child); 4113s # n++; 4113s # } 4113s # else 4113s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4113s # g_variant_unref (child); 4113s # } 4113s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4113s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4113s # if (!g_value_get_boolean (&return_value)) 4113s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4113s # g_value_unset (&return_value); 4113s # for (n = 0; n < num_params + num_extra; n++) 4113s # g_value_unset (¶mv[n]); 4113s # g_free (paramv); 4113s # } 4113s # 4113s # static GVariant * 4113s # _org_project_signaling_iface_skeleton_handle_get_property ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name G_GNUC_UNUSED, 4113s # const gchar *property_name, 4113s # GError **error, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # GValue value = G_VALUE_INIT; 4113s # GParamSpec *pspec; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # GVariant *ret; 4113s # ret = NULL; 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4113s # g_assert (info != NULL); 4113s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4113s # if (pspec == NULL) 4113s # { 4113s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4113s # } 4113s # else 4113s # { 4113s # g_value_init (&value, pspec->value_type); 4113s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4113s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4113s # g_value_unset (&value); 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static gboolean 4113s # _org_project_signaling_iface_skeleton_handle_set_property ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name G_GNUC_UNUSED, 4113s # const gchar *property_name, 4113s # GVariant *variant, 4113s # GError **error, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # GValue value = G_VALUE_INIT; 4113s # GParamSpec *pspec; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # gboolean ret; 4113s # ret = FALSE; 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4113s # g_assert (info != NULL); 4113s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4113s # if (pspec == NULL) 4113s # { 4113s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4113s # } 4113s # else 4113s # { 4113s # if (info->use_gvariant) 4113s # g_value_set_variant (&value, variant); 4113s # else 4113s # g_dbus_gvariant_to_gvalue (variant, &value); 4113s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4113s # g_value_unset (&value); 4113s # ret = TRUE; 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4113s # { 4113s # _org_project_signaling_iface_skeleton_handle_method_call, 4113s # _org_project_signaling_iface_skeleton_handle_get_property, 4113s # _org_project_signaling_iface_skeleton_handle_set_property, 4113s # {NULL} 4113s # }; 4113s # 4113s # static GDBusInterfaceInfo * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4113s # { 4113s # return org_project_signaling_iface_interface_info (); 4113s # } 4113s # 4113s # static GDBusInterfaceVTable * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4113s # { 4113s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4113s # } 4113s # 4113s # static GVariant * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4113s # 4113s # GVariantBuilder builder; 4113s # guint n; 4113s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4113s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4113s # goto out; 4113s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4113s # { 4113s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4113s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4113s # { 4113s # GVariant *value; 4113s # 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); 4113s # if (value != NULL) 4113s # { 4113s # g_variant_take_ref (value); 4113s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4113s # g_variant_unref (value); 4113s # } 4113s # } 4113s # } 4113s # out: 4113s # return g_variant_builder_end (&builder); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # _org_project_signaling_iface_on_signal_simple_signal ( 4113s # OrgProjectSignalingIface *object) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # 4113s # GList *connections, *l; 4113s # GVariant *signal_variant; 4113s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4113s # 4113s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4113s # for (l = connections; l != NULL; l = l->next) 4113s # { 4113s # GDBusConnection *connection = l->data; 4113s # g_dbus_connection_emit_signal (connection, 4113s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4113s # signal_variant, NULL); 4113s # } 4113s # g_variant_unref (signal_variant); 4113s # g_list_free_full (connections, g_object_unref); 4113s # } 4113s # 4113s # static void 4113s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 4113s # OrgProjectSignalingIface *object, 4113s # gboolean arg_arg_b) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # 4113s # GList *connections, *l; 4113s # GVariant *signal_variant; 4113s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4113s # 4113s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 4113s # arg_arg_b)); 4113s # for (l = connections; l != NULL; l = l->next) 4113s # { 4113s # GDBusConnection *connection = l->data; 4113s # g_dbus_connection_emit_signal (connection, 4113s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 4113s # signal_variant, NULL); 4113s # } 4113s # g_variant_unref (signal_variant); 4113s # g_list_free_full (connections, g_object_unref); 4113s # } 4113s # 4113s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4113s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4113s # 4113s # #else 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4113s # 4113s # #endif 4113s # static void 4113s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4113s # if (skeleton->priv->changed_properties_idle_source != NULL) 4113s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4113s # g_main_context_unref (skeleton->priv->context); 4113s # g_mutex_clear (&skeleton->priv->lock); 4113s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4113s # { 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4113s # #else 4113s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4113s # #endif 4113s # 4113s # g_mutex_init (&skeleton->priv->lock); 4113s # skeleton->priv->context = g_main_context_ref_thread_default (); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4113s # { 4113s # GObjectClass *gobject_class; 4113s # GDBusInterfaceSkeletonClass *skeleton_class; 4113s # 4113s # gobject_class = G_OBJECT_CLASS (klass); 4113s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4113s # 4113s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4113s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4113s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4113s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4113s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4113s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4113s # #endif 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4113s # { 4113s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4113s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_skeleton_new: 4113s # * 4113s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_skeleton_new (void) 4113s # { 4113s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4113s # } 4113s # /tmp/tmp74tbisad/tmp24xayyqt.xml: 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmp24xayyqt.xml', '--output', '-', '--body'] 4113s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4113s # Output: /* 4113s # * This file is generated by gdbus-codegen, do not modify it. 4113s # * 4113s # * The license of this code is the same as for the D-Bus interface description 4113s # * it was derived from. Note that it links to GLib, so must comply with the 4113s # * LGPL linking clauses. 4113s # */ 4113s # 4113s # #ifdef HAVE_CONFIG_H 4113s # # include "config.h" 4113s # #endif 4113s # 4113s # #include 4113s # #ifdef G_OS_UNIX 4113s # # include 4113s # #endif 4113s # 4113s # #ifdef G_ENABLE_DEBUG 4113s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4113s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4113s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4113s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4113s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4113s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4113s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4113s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4113s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4113s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4113s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4113s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4113s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4113s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4113s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4113s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4113s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4113s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4113s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4113s # #else /* !G_ENABLE_DEBUG */ 4113s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4113s # * Do not access GValues directly in your code. Instead, use the 4113s # * g_value_get_*() functions 4113s # */ 4113s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4113s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4113s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4113s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4113s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4113s # #endif /* !G_ENABLE_DEBUG */ 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusArgInfo parent_struct; 4113s # gboolean use_gvariant; 4113s # } _ExtendedGDBusArgInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusMethodInfo parent_struct; 4113s # const gchar *signal_name; 4113s # gboolean pass_fdlist; 4113s # } _ExtendedGDBusMethodInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusSignalInfo parent_struct; 4113s # const gchar *signal_name; 4113s # } _ExtendedGDBusSignalInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusPropertyInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # guint use_gvariant : 1; 4113s # guint emits_changed_signal : 1; 4113s # } _ExtendedGDBusPropertyInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusInterfaceInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # } _ExtendedGDBusInterfaceInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # const _ExtendedGDBusPropertyInfo *info; 4113s # guint prop_id; 4113s # GValue orig_value; /* the value before the change */ 4113s # } ChangedProperty; 4113s # 4113s # static void 4113s # _changed_property_free (ChangedProperty *data) 4113s # { 4113s # g_value_unset (&data->orig_value); 4113s # g_free (data); 4113s # } 4113s # 4113s # static gboolean 4113s # _g_strv_equal0 (gchar **a, gchar **b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # guint n; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # if (g_strv_length (a) != g_strv_length (b)) 4113s # goto out; 4113s # for (n = 0; a[n] != NULL; n++) 4113s # if (g_strcmp0 (a[n], b[n]) != 0) 4113s # goto out; 4113s # ret = TRUE; 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # static gboolean 4113s # _g_variant_equal0 (GVariant *a, GVariant *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # ret = g_variant_equal (a, b); 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # G_GNUC_UNUSED static gboolean 4113s # _g_value_equal (const GValue *a, const GValue *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4113s # switch (G_VALUE_TYPE (a)) 4113s # { 4113s # case G_TYPE_BOOLEAN: 4113s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4113s # break; 4113s # case G_TYPE_UCHAR: 4113s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4113s # break; 4113s # case G_TYPE_INT: 4113s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4113s # break; 4113s # case G_TYPE_UINT: 4113s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4113s # break; 4113s # case G_TYPE_INT64: 4113s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4113s # break; 4113s # case G_TYPE_UINT64: 4113s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4113s # break; 4113s # case G_TYPE_DOUBLE: 4113s # { 4113s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4113s # gdouble da = g_value_get_double (a); 4113s # gdouble db = g_value_get_double (b); 4113s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4113s # } 4113s # break; 4113s # case G_TYPE_STRING: 4113s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4113s # break; 4113s # case G_TYPE_VARIANT: 4113s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4113s # break; 4113s # default: 4113s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4113s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4113s # else 4113s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4113s # break; 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ 4113s # * Code for interface org.project.SignalingIface 4113s # * ------------------------------------------------------------------------ 4113s # */ 4113s # 4113s # /** 4113s # * SECTION:OrgProjectSignalingIface 4113s # * @title: OrgProjectSignalingIface 4113s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4113s # * 4113s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4113s # */ 4113s # 4113s # enum 4113s # { 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4113s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 4113s # }; 4113s # 4113s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4113s # 4113s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SimpleSignal", 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "simple-signal" 4113s # }; 4113s # 4113s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "arg_y", 4113s # (gchar *) "y", 4113s # NULL 4113s # }, 4113s # FALSE 4113s # }; 4113s # 4113s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SingleArgSignalY", 4113s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 4113s # NULL 4113s # }, 4113s # "single-arg-signal-y" 4113s # }; 4113s # 4113s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "org.project.SignalingIface", 4113s # NULL, 4113s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "org-project-signaling-iface", 4113s # }; 4113s # 4113s # 4113s # /** 4113s # * org_project_signaling_iface_interface_info: 4113s # * 4113s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4113s # * 4113s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4113s # */ 4113s # GDBusInterfaceInfo * 4113s # org_project_signaling_iface_interface_info (void) 4113s # { 4113s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_override_properties: 4113s # * @klass: The class structure for a #GObject derived class. 4113s # * @property_id_begin: The property id to assign to the first overridden property. 4113s # * 4113s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4113s # * The properties are overridden in the order they are defined. 4113s # * 4113s # * Returns: The last property id. 4113s # */ 4113s # guint 4113s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4113s # { 4113s # return property_id_begin - 1; 4113s # } 4113s # 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_simple_signal ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # g_cclosure_marshal_VOID__VOID (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # g_cclosure_marshal_VOID__UCHAR (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface: 4113s # * 4113s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceIface: 4113s # * @parent_iface: The parent interface. 4113s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4113s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 4113s # * 4113s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4113s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4113s # 4113s # static void 4113s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4113s # { 4113s # /* GObject signals for received D-Bus signals: */ 4113s # /** 4113s # * OrgProjectSignalingIface::simple-signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4113s # g_signal_new ("simple-signal", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_simple_signal, 4113s # G_TYPE_NONE, 4113s # 0); 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface::single-arg-signal-y: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_y: Argument. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 4113s # g_signal_new ("single-arg-signal-y", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 4113s # G_TYPE_NONE, 4113s # 1, G_TYPE_UCHAR); 4113s # 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_simple_signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * Emits the "SimpleSignal" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_simple_signal ( 4113s # OrgProjectSignalingIface *object) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_single_arg_signal_y: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_y: Argument to pass with the signal. 4113s # * 4113s # * Emits the "SingleArgSignalY" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_single_arg_signal_y ( 4113s # OrgProjectSignalingIface *object, 4113s # guchar arg_arg_y) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxy: 4113s # * 4113s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxyClass: 4113s # * @parent_class: The parent class. 4113s # * 4113s # * Class structure for #OrgProjectSignalingIfaceProxy. 4113s # */ 4113s # 4113s # struct _OrgProjectSignalingIfaceProxyPrivate 4113s # { 4113s # GData *qdata; 4113s # }; 4113s # 4113s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #else 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #endif 4113s # static void 4113s # org_project_signaling_iface_proxy_finalize (GObject *object) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4113s # g_datalist_clear (&proxy->priv->qdata); 4113s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # const GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4113s # const gchar *sender_name G_GNUC_UNUSED, 4113s # const gchar *signal_name, 4113s # GVariant *parameters) 4113s # { 4113s # _ExtendedGDBusSignalInfo *info; 4113s # GVariantIter iter; 4113s # GVariant *child; 4113s # GValue *paramv; 4113s # gsize num_params; 4113s # gsize n; 4113s # guint signal_id; 4113s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4113s # if (info == NULL) 4113s # return; 4113s # num_params = g_variant_n_children (parameters); 4113s # paramv = g_new0 (GValue, num_params + 1); 4113s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_set_object (¶mv[0], proxy); 4113s # g_variant_iter_init (&iter, parameters); 4113s # n = 1; 4113s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4113s # { 4113s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4113s # if (arg_info->use_gvariant) 4113s # { 4113s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4113s # g_value_set_variant (¶mv[n], child); 4113s # n++; 4113s # } 4113s # else 4113s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4113s # g_variant_unref (child); 4113s # } 4113s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_signal_emitv (paramv, signal_id, 0, NULL); 4113s # for (n = 0; n < num_params + 1; n++) 4113s # g_value_unset (¶mv[n]); 4113s # g_free (paramv); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4113s # GVariant *changed_properties, 4113s # const gchar *const *invalidated_properties) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4113s # guint n; 4113s # const gchar *key; 4113s # GVariantIter *iter; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # g_variant_get (changed_properties, "a{sv}", &iter); 4113s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4113s # g_datalist_remove_data (&proxy->priv->qdata, key); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # g_variant_iter_free (iter); 4113s # for (n = 0; invalidated_properties[n] != NULL; n++) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4113s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4113s # { 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4113s # #else 4113s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4113s # #endif 4113s # 4113s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4113s # { 4113s # GObjectClass *gobject_class; 4113s # GDBusProxyClass *proxy_class; 4113s # 4113s # gobject_class = G_OBJECT_CLASS (klass); 4113s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4113s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4113s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4113s # 4113s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4113s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4113s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4113s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4113s # #endif 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new: 4113s # * @connection: A #GDBusConnection. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4113s # * @user_data: User data to pass to @callback. 4113s # * 4113s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4113s # * 4113s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4113s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_proxy_new ( 4113s # GDBusConnection *connection, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GAsyncReadyCallback callback, 4113s # gpointer user_data) 4113s # { 4113s # 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); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_finish: 4113s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_finish ( 4113s # GAsyncResult *res, 4113s # GError **error) 4113s # { 4113s # GObject *ret; 4113s # GObject *source_object; 4113s # source_object = g_async_result_get_source_object (res); 4113s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4113s # g_object_unref (source_object); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_sync: 4113s # * @connection: A #GDBusConnection. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4113s # * 4113s # * The calling thread is blocked until a reply is received. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_sync ( 4113s # GDBusConnection *connection, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GError **error) 4113s # { 4113s # GInitable *ret; 4113s # 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); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus: 4113s # * @bus_type: A #GBusType. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: A bus name (well-known or unique). 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4113s # * @user_data: User data to pass to @callback. 4113s # * 4113s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4113s # * 4113s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4113s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_proxy_new_for_bus ( 4113s # GBusType bus_type, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GAsyncReadyCallback callback, 4113s # gpointer user_data) 4113s # { 4113s # 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); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4113s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4113s # GAsyncResult *res, 4113s # GError **error) 4113s # { 4113s # GObject *ret; 4113s # GObject *source_object; 4113s # source_object = g_async_result_get_source_object (res); 4113s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4113s # g_object_unref (source_object); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4113s # * @bus_type: A #GBusType. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: A bus name (well-known or unique). 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4113s # * 4113s # * The calling thread is blocked until a reply is received. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4113s # GBusType bus_type, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GError **error) 4113s # { 4113s # GInitable *ret; 4113s # 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); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # 4113s # /* ------------------------------------------------------------------------ */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceSkeleton: 4113s # * 4113s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceSkeletonClass: 4113s # * @parent_class: The parent class. 4113s # * 4113s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4113s # */ 4113s # 4113s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4113s # { 4113s # GValue *properties; 4113s # GList *changed_properties; 4113s # GSource *changed_properties_idle_source; 4113s # GMainContext *context; 4113s # GMutex lock; 4113s # }; 4113s # 4113s # static void 4113s # _org_project_signaling_iface_skeleton_handle_method_call ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name, 4113s # const gchar *method_name, 4113s # GVariant *parameters, 4113s # GDBusMethodInvocation *invocation, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # _ExtendedGDBusMethodInfo *info; 4113s # GVariantIter iter; 4113s # GVariant *child; 4113s # GValue *paramv; 4113s # gsize num_params; 4113s # guint num_extra; 4113s # gsize n; 4113s # guint signal_id; 4113s # GValue return_value = G_VALUE_INIT; 4113s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4113s # g_assert (info != NULL); 4113s # num_params = g_variant_n_children (parameters); 4113s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4113s # n = 0; 4113s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_set_object (¶mv[n++], skeleton); 4113s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4113s # g_value_set_object (¶mv[n++], invocation); 4113s # if (info->pass_fdlist) 4113s # { 4113s # #ifdef G_OS_UNIX 4113s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4113s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4113s # #else 4113s # g_assert_not_reached (); 4113s # #endif 4113s # } 4113s # g_variant_iter_init (&iter, parameters); 4113s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4113s # { 4113s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4113s # if (arg_info->use_gvariant) 4113s # { 4113s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4113s # g_value_set_variant (¶mv[n], child); 4113s # n++; 4113s # } 4113s # else 4113s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4113s # g_variant_unref (child); 4113s # } 4113s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4113s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4113s # if (!g_value_get_boolean (&return_value)) 4113s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4113s # g_value_unset (&return_value); 4113s # for (n = 0; n < num_params + num_extra; n++) 4113s # g_value_unset (¶mv[n]); 4113s # g_free (paramv); 4113s # } 4113s # 4113s # static GVariant * 4113s # _org_project_signaling_iface_skeleton_handle_get_property ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name G_GNUC_UNUSED, 4113s # const gchar *property_name, 4113s # GError **error, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # GValue value = G_VALUE_INIT; 4113s # GParamSpec *pspec; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # GVariant *ret; 4113s # ret = NULL; 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4113s # g_assert (info != NULL); 4113s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4113s # if (pspec == NULL) 4113s # { 4113s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4113s # } 4113s # else 4113s # { 4113s # g_value_init (&value, pspec->value_type); 4113s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4113s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4113s # g_value_unset (&value); 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static gboolean 4113s # _org_project_signaling_iface_skeleton_handle_set_property ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name G_GNUC_UNUSED, 4113s # const gchar *property_name, 4113s # GVariant *variant, 4113s # GError **error, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # GValue value = G_VALUE_INIT; 4113s # GParamSpec *pspec; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # gboolean ret; 4113s # ret = FALSE; 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4113s # g_assert (info != NULL); 4113s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4113s # if (pspec == NULL) 4113s # { 4113s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4113s # } 4113s # else 4113s # { 4113s # if (info->use_gvariant) 4113s # g_value_set_variant (&value, variant); 4113s # else 4113s # g_dbus_gvariant_to_gvalue (variant, &value); 4113s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4113s # g_value_unset (&value); 4113s # ret = TRUE; 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4113s # { 4113s # _org_project_signaling_iface_skeleton_handle_method_call, 4113s # _org_project_signaling_iface_skeleton_handle_get_property, 4113s # _org_project_signaling_iface_skeleton_handle_set_property, 4113s # {NULL} 4113s # }; 4113s # 4113s # static GDBusInterfaceInfo * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4113s # { 4113s # return org_project_signaling_iface_interface_info (); 4113s # } 4113s # 4113s # static GDBusInterfaceVTable * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4113s # { 4113s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4113s # } 4113s # 4113s # static GVariant * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4113s # 4113s # GVariantBuilder builder; 4113s # guint n; 4113s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4113s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4113s # goto out; 4113s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4113s # { 4113s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4113s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4113s # { 4113s # GVariant *value; 4113s # 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); 4113s # if (value != NULL) 4113s # { 4113s # g_variant_take_ref (value); 4113s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4113s # g_variant_unref (value); 4113s # } 4113s # } 4113s # } 4113s # out: 4113s # return g_variant_builder_end (&builder); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # _org_project_signaling_iface_on_signal_simple_signal ( 4113s # OrgProjectSignalingIface *object) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # 4113s # GList *connections, *l; 4113s # GVariant *signal_variant; 4113s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4113s # 4113s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4113s # for (l = connections; l != NULL; l = l->next) 4113s # { 4113s # GDBusConnection *connection = l->data; 4113s # g_dbus_connection_emit_signal (connection, 4113s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4113s # signal_variant, NULL); 4113s # } 4113s # g_variant_unref (signal_variant); 4113s # g_list_free_full (connections, g_object_unref); 4113s # } 4113s # 4113s # static void 4113s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 4113s # OrgProjectSignalingIface *object, 4113s # guchar arg_arg_y) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # 4113s # GList *connections, *l; 4113s # GVariant *signal_variant; 4113s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4113s # 4113s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 4113s # arg_arg_y)); 4113s # for (l = connections; l != NULL; l = l->next) 4113s # { 4113s # GDBusConnection *connection = l->data; 4113s # g_dbus_connection_emit_signal (connection, 4113s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 4113s # signal_variant, NULL); 4113s # } 4113s # g_variant_unref (signal_variant); 4113s # g_list_free_full (connections, g_object_unref); 4113s # } 4113s # 4113s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4113s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4113s # 4113s # #else 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4113s # 4113s # #endif 4113s # static void 4113s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4113s # if (skeleton->priv->changed_properties_idle_source != NULL) 4113s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4113s # g_main_context_unref (skeleton->priv->context); 4113s # g_mutex_clear (&skeleton->priv->lock); 4113s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4113s # { 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4113s # #else 4113s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4113s # #endif 4113s # 4113s # g_mutex_init (&skeleton->priv->lock); 4113s # skeleton->priv->context = g_main_context_ref_thread_default (); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4113s # { 4113s # GObjectClass *gobject_class; 4113s # GDBusInterfaceSkeletonClass *skeleton_class; 4113s # 4113s # gobject_class = G_OBJECT_CLASS (klass); 4113s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4113s # 4113s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4113s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4113s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4113s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4113s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4113s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4113s # #endif 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4113s # { 4113s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4113s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_skeleton_new: 4113s # * 4113s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_skeleton_new (void) 4113s # { 4113s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4113s # } 4113s # /tmp/tmp74tbisad/tmpdfufqjqi.xml: 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmpdfufqjqi.xml', '--output', '-', '--body'] 4113s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4113s # Output: /* 4113s # * This file is generated by gdbus-codegen, do not modify it. 4113s # * 4113s # * The license of this code is the same as for the D-Bus interface description 4113s # * it was derived from. Note that it links to GLib, so must comply with the 4113s # * LGPL linking clauses. 4113s # */ 4113s # 4113s # #ifdef HAVE_CONFIG_H 4113s # # include "config.h" 4113s # #endif 4113s # 4113s # #include 4113s # #ifdef G_OS_UNIX 4113s # # include 4113s # #endif 4113s # 4113s # #ifdef G_ENABLE_DEBUG 4113s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4113s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4113s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4113s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4113s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4113s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4113s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4113s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4113s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4113s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4113s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4113s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4113s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4113s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4113s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4113s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4113s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4113s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4113s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4113s # #else /* !G_ENABLE_DEBUG */ 4113s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4113s # * Do not access GValues directly in your code. Instead, use the 4113s # * g_value_get_*() functions 4113s # */ 4113s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4113s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4113s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4113s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4113s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4113s # #endif /* !G_ENABLE_DEBUG */ 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusArgInfo parent_struct; 4113s # gboolean use_gvariant; 4113s # } _ExtendedGDBusArgInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusMethodInfo parent_struct; 4113s # const gchar *signal_name; 4113s # gboolean pass_fdlist; 4113s # } _ExtendedGDBusMethodInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusSignalInfo parent_struct; 4113s # const gchar *signal_name; 4113s # } _ExtendedGDBusSignalInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusPropertyInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # guint use_gvariant : 1; 4113s # guint emits_changed_signal : 1; 4113s # } _ExtendedGDBusPropertyInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusInterfaceInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # } _ExtendedGDBusInterfaceInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # const _ExtendedGDBusPropertyInfo *info; 4113s # guint prop_id; 4113s # GValue orig_value; /* the value before the change */ 4113s # } ChangedProperty; 4113s # 4113s # static void 4113s # _changed_property_free (ChangedProperty *data) 4113s # { 4113s # g_value_unset (&data->orig_value); 4113s # g_free (data); 4113s # } 4113s # 4113s # static gboolean 4113s # _g_strv_equal0 (gchar **a, gchar **b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # guint n; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # if (g_strv_length (a) != g_strv_length (b)) 4113s # goto out; 4113s # for (n = 0; a[n] != NULL; n++) 4113s # if (g_strcmp0 (a[n], b[n]) != 0) 4113s # goto out; 4113s # ret = TRUE; 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # static gboolean 4113s # _g_variant_equal0 (GVariant *a, GVariant *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # ret = g_variant_equal (a, b); 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # G_GNUC_UNUSED static gboolean 4113s # _g_value_equal (const GValue *a, const GValue *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4113s # switch (G_VALUE_TYPE (a)) 4113s # { 4113s # case G_TYPE_BOOLEAN: 4113s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4113s # break; 4113s # case G_TYPE_UCHAR: 4113s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4113s # break; 4113s # case G_TYPE_INT: 4113s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4113s # break; 4113s # case G_TYPE_UINT: 4113s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4113s # break; 4113s # case G_TYPE_INT64: 4113s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4113s # break; 4113s # case G_TYPE_UINT64: 4113s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4113s # break; 4113s # case G_TYPE_DOUBLE: 4113s # { 4113s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4113s # gdouble da = g_value_get_double (a); 4113s # gdouble db = g_value_get_double (b); 4113s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4113s # } 4113s # break; 4113s # case G_TYPE_STRING: 4113s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4113s # break; 4113s # case G_TYPE_VARIANT: 4113s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4113s # break; 4113s # default: 4113s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4113s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4113s # else 4113s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4113s # break; 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ 4113s # * Code for interface org.project.SignalingIface 4113s # * ------------------------------------------------------------------------ 4113s # */ 4113s # 4113s # /** 4113s # * SECTION:OrgProjectSignalingIface 4113s # * @title: OrgProjectSignalingIface 4113s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4113s # * 4113s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4113s # */ 4113s # 4113s # enum 4113s # { 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4113s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 4113s # }; 4113s # 4113s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4113s # 4113s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SimpleSignal", 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "simple-signal" 4113s # }; 4113s # 4113s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "arg_n", 4113s # (gchar *) "n", 4113s # NULL 4113s # }, 4113s # FALSE 4113s # }; 4113s # 4113s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SingleArgSignalN", 4113s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 4113s # NULL 4113s # }, 4113s # "single-arg-signal-n" 4113s # }; 4113s # 4113s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "org.project.SignalingIface", 4113s # NULL, 4113s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "org-project-signaling-iface", 4113s # }; 4113s # 4113s # 4113s # /** 4113s # * org_project_signaling_iface_interface_info: 4113s # * 4113s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4113s # * 4113s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4113s # */ 4113s # GDBusInterfaceInfo * 4113s # org_project_signaling_iface_interface_info (void) 4113s # { 4113s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_override_properties: 4113s # * @klass: The class structure for a #GObject derived class. 4113s # * @property_id_begin: The property id to assign to the first overridden property. 4113s # * 4113s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4113s # * The properties are overridden in the order they are defined. 4113s # * 4113s # * Returns: The last property id. 4113s # */ 4113s # guint 4113s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4113s # { 4113s # return property_id_begin - 1; 4113s # } 4113s # 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_simple_signal ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # g_cclosure_marshal_VOID__VOID (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # g_cclosure_marshal_VOID__INT (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface: 4113s # * 4113s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceIface: 4113s # * @parent_iface: The parent interface. 4113s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4113s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 4113s # * 4113s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4113s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4113s # 4113s # static void 4113s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4113s # { 4113s # /* GObject signals for received D-Bus signals: */ 4113s # /** 4113s # * OrgProjectSignalingIface::simple-signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4113s # g_signal_new ("simple-signal", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_simple_signal, 4113s # G_TYPE_NONE, 4113s # 0); 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface::single-arg-signal-n: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_n: Argument. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 4113s # g_signal_new ("single-arg-signal-n", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 4113s # G_TYPE_NONE, 4113s # 1, G_TYPE_INT); 4113s # 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_simple_signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * Emits the "SimpleSignal" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_simple_signal ( 4113s # OrgProjectSignalingIface *object) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_single_arg_signal_n: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_n: Argument to pass with the signal. 4113s # * 4113s # * Emits the "SingleArgSignalN" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_single_arg_signal_n ( 4113s # OrgProjectSignalingIface *object, 4113s # gint16 arg_arg_n) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxy: 4113s # * 4113s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxyClass: 4113s # * @parent_class: The parent class. 4113s # * 4113s # * Class structure for #OrgProjectSignalingIfaceProxy. 4113s # */ 4113s # 4113s # struct _OrgProjectSignalingIfaceProxyPrivate 4113s # { 4113s # GData *qdata; 4113s # }; 4113s # 4113s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #else 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #endif 4113s # static void 4113s # org_project_signaling_iface_proxy_finalize (GObject *object) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4113s # g_datalist_clear (&proxy->priv->qdata); 4113s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # const GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4113s # const gchar *sender_name G_GNUC_UNUSED, 4113s # const gchar *signal_name, 4113s # GVariant *parameters) 4113s # { 4113s # _ExtendedGDBusSignalInfo *info; 4113s # GVariantIter iter; 4113s # GVariant *child; 4113s # GValue *paramv; 4113s # gsize num_params; 4113s # gsize n; 4113s # guint signal_id; 4113s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4113s # if (info == NULL) 4113s # return; 4113s # num_params = g_variant_n_children (parameters); 4113s # paramv = g_new0 (GValue, num_params + 1); 4113s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_set_object (¶mv[0], proxy); 4113s # g_variant_iter_init (&iter, parameters); 4113s # n = 1; 4113s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4113s # { 4113s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4113s # if (arg_info->use_gvariant) 4113s # { 4113s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4113s # g_value_set_variant (¶mv[n], child); 4113s # n++; 4113s # } 4113s # else 4113s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4113s # g_variant_unref (child); 4113s # } 4113s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_signal_emitv (paramv, signal_id, 0, NULL); 4113s # for (n = 0; n < num_params + 1; n++) 4113s # g_value_unset (¶mv[n]); 4113s # g_free (paramv); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4113s # GVariant *changed_properties, 4113s # const gchar *const *invalidated_properties) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4113s # guint n; 4113s # const gchar *key; 4113s # GVariantIter *iter; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # g_variant_get (changed_properties, "a{sv}", &iter); 4113s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4113s # g_datalist_remove_data (&proxy->priv->qdata, key); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # g_variant_iter_free (iter); 4113s # for (n = 0; invalidated_properties[n] != NULL; n++) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4113s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4113s # { 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4113s # #else 4113s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4113s # #endif 4113s # 4113s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4113s # { 4113s # GObjectClass *gobject_class; 4113s # GDBusProxyClass *proxy_class; 4113s # 4113s # gobject_class = G_OBJECT_CLASS (klass); 4113s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4113s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4113s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4113s # 4113s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4113s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4113s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4113s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4113s # #endif 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new: 4113s # * @connection: A #GDBusConnection. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4113s # * @user_data: User data to pass to @callback. 4113s # * 4113s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4113s # * 4113s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4113s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_proxy_new ( 4113s # GDBusConnection *connection, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GAsyncReadyCallback callback, 4113s # gpointer user_data) 4113s # { 4113s # 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); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_finish: 4113s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_finish ( 4113s # GAsyncResult *res, 4113s # GError **error) 4113s # { 4113s # GObject *ret; 4113s # GObject *source_object; 4113s # source_object = g_async_result_get_source_object (res); 4113s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4113s # g_object_unref (source_object); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_sync: 4113s # * @connection: A #GDBusConnection. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4113s # * 4113s # * The calling thread is blocked until a reply is received. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_sync ( 4113s # GDBusConnection *connection, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GError **error) 4113s # { 4113s # GInitable *ret; 4113s # 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); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus: 4113s # * @bus_type: A #GBusType. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: A bus name (well-known or unique). 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4113s # * @user_data: User data to pass to @callback. 4113s # * 4113s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4113s # * 4113s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4113s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_proxy_new_for_bus ( 4113s # GBusType bus_type, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GAsyncReadyCallback callback, 4113s # gpointer user_data) 4113s # { 4113s # 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); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4113s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4113s # GAsyncResult *res, 4113s # GError **error) 4113s # { 4113s # GObject *ret; 4113s # GObject *source_object; 4113s # source_object = g_async_result_get_source_object (res); 4113s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4113s # g_object_unref (source_object); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4113s # * @bus_type: A #GBusType. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: A bus name (well-known or unique). 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4113s # * 4113s # * The calling thread is blocked until a reply is received. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4113s # GBusType bus_type, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GError **error) 4113s # { 4113s # GInitable *ret; 4113s # 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); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # 4113s # /* ------------------------------------------------------------------------ */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceSkeleton: 4113s # * 4113s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceSkeletonClass: 4113s # * @parent_class: The parent class. 4113s # * 4113s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4113s # */ 4113s # 4113s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4113s # { 4113s # GValue *properties; 4113s # GList *changed_properties; 4113s # GSource *changed_properties_idle_source; 4113s # GMainContext *context; 4113s # GMutex lock; 4113s # }; 4113s # 4113s # static void 4113s # _org_project_signaling_iface_skeleton_handle_method_call ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name, 4113s # const gchar *method_name, 4113s # GVariant *parameters, 4113s # GDBusMethodInvocation *invocation, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # _ExtendedGDBusMethodInfo *info; 4113s # GVariantIter iter; 4113s # GVariant *child; 4113s # GValue *paramv; 4113s # gsize num_params; 4113s # guint num_extra; 4113s # gsize n; 4113s # guint signal_id; 4113s # GValue return_value = G_VALUE_INIT; 4113s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4113s # g_assert (info != NULL); 4113s # num_params = g_variant_n_children (parameters); 4113s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4113s # n = 0; 4113s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_set_object (¶mv[n++], skeleton); 4113s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4113s # g_value_set_object (¶mv[n++], invocation); 4113s # if (info->pass_fdlist) 4113s # { 4113s # #ifdef G_OS_UNIX 4113s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4113s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4113s # #else 4113s # g_assert_not_reached (); 4113s # #endif 4113s # } 4113s # g_variant_iter_init (&iter, parameters); 4113s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4113s # { 4113s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4113s # if (arg_info->use_gvariant) 4113s # { 4113s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4113s # g_value_set_variant (¶mv[n], child); 4113s # n++; 4113s # } 4113s # else 4113s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4113s # g_variant_unref (child); 4113s # } 4113s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4113s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4113s # if (!g_value_get_boolean (&return_value)) 4113s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4113s # g_value_unset (&return_value); 4113s # for (n = 0; n < num_params + num_extra; n++) 4113s # g_value_unset (¶mv[n]); 4113s # g_free (paramv); 4113s # } 4113s # 4113s # static GVariant * 4113s # _org_project_signaling_iface_skeleton_handle_get_property ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name G_GNUC_UNUSED, 4113s # const gchar *property_name, 4113s # GError **error, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # GValue value = G_VALUE_INIT; 4113s # GParamSpec *pspec; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # GVariant *ret; 4113s # ret = NULL; 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4113s # g_assert (info != NULL); 4113s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4113s # if (pspec == NULL) 4113s # { 4113s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4113s # } 4113s # else 4113s # { 4113s # g_value_init (&value, pspec->value_type); 4113s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4113s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4113s # g_value_unset (&value); 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static gboolean 4113s # _org_project_signaling_iface_skeleton_handle_set_property ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name G_GNUC_UNUSED, 4113s # const gchar *property_name, 4113s # GVariant *variant, 4113s # GError **error, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # GValue value = G_VALUE_INIT; 4113s # GParamSpec *pspec; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # gboolean ret; 4113s # ret = FALSE; 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4113s # g_assert (info != NULL); 4113s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4113s # if (pspec == NULL) 4113s # { 4113s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4113s # } 4113s # else 4113s # { 4113s # if (info->use_gvariant) 4113s # g_value_set_variant (&value, variant); 4113s # else 4113s # g_dbus_gvariant_to_gvalue (variant, &value); 4113s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4113s # g_value_unset (&value); 4113s # ret = TRUE; 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4113s # { 4113s # _org_project_signaling_iface_skeleton_handle_method_call, 4113s # _org_project_signaling_iface_skeleton_handle_get_property, 4113s # _org_project_signaling_iface_skeleton_handle_set_property, 4113s # {NULL} 4113s # }; 4113s # 4113s # static GDBusInterfaceInfo * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4113s # { 4113s # return org_project_signaling_iface_interface_info (); 4113s # } 4113s # 4113s # static GDBusInterfaceVTable * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4113s # { 4113s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4113s # } 4113s # 4113s # static GVariant * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4113s # 4113s # GVariantBuilder builder; 4113s # guint n; 4113s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4113s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4113s # goto out; 4113s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4113s # { 4113s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4113s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4113s # { 4113s # GVariant *value; 4113s # 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); 4113s # if (value != NULL) 4113s # { 4113s # g_variant_take_ref (value); 4113s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4113s # g_variant_unref (value); 4113s # } 4113s # } 4113s # } 4113s # out: 4113s # return g_variant_builder_end (&builder); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # _org_project_signaling_iface_on_signal_simple_signal ( 4113s # OrgProjectSignalingIface *object) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # 4113s # GList *connections, *l; 4113s # GVariant *signal_variant; 4113s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4113s # 4113s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4113s # for (l = connections; l != NULL; l = l->next) 4113s # { 4113s # GDBusConnection *connection = l->data; 4113s # g_dbus_connection_emit_signal (connection, 4113s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4113s # signal_variant, NULL); 4113s # } 4113s # g_variant_unref (signal_variant); 4113s # g_list_free_full (connections, g_object_unref); 4113s # } 4113s # 4113s # static void 4113s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 4113s # OrgProjectSignalingIface *object, 4113s # gint16 arg_arg_n) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # 4113s # GList *connections, *l; 4113s # GVariant *signal_variant; 4113s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4113s # 4113s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 4113s # arg_arg_n)); 4113s # for (l = connections; l != NULL; l = l->next) 4113s # { 4113s # GDBusConnection *connection = l->data; 4113s # g_dbus_connection_emit_signal (connection, 4113s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 4113s # signal_variant, NULL); 4113s # } 4113s # g_variant_unref (signal_variant); 4113s # g_list_free_full (connections, g_object_unref); 4113s # } 4113s # 4113s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4113s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4113s # 4113s # #else 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4113s # 4113s # #endif 4113s # static void 4113s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4113s # if (skeleton->priv->changed_properties_idle_source != NULL) 4113s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4113s # g_main_context_unref (skeleton->priv->context); 4113s # g_mutex_clear (&skeleton->priv->lock); 4113s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4113s # { 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4113s # #else 4113s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4113s # #endif 4113s # 4113s # g_mutex_init (&skeleton->priv->lock); 4113s # skeleton->priv->context = g_main_context_ref_thread_default (); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4113s # { 4113s # GObjectClass *gobject_class; 4113s # GDBusInterfaceSkeletonClass *skeleton_class; 4113s # 4113s # gobject_class = G_OBJECT_CLASS (klass); 4113s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4113s # 4113s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4113s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4113s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4113s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4113s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4113s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4113s # #endif 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4113s # { 4113s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4113s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_skeleton_new: 4113s # * 4113s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_skeleton_new (void) 4113s # { 4113s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4113s # } 4113s # /tmp/tmp74tbisad/tmp92gqvcn9.xml: 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmp92gqvcn9.xml', '--output', '-', '--body'] 4113s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4113s # Output: /* 4113s # * This file is generated by gdbus-codegen, do not modify it. 4113s # * 4113s # * The license of this code is the same as for the D-Bus interface description 4113s # * it was derived from. Note that it links to GLib, so must comply with the 4113s # * LGPL linking clauses. 4113s # */ 4113s # 4113s # #ifdef HAVE_CONFIG_H 4113s # # include "config.h" 4113s # #endif 4113s # 4113s # #include 4113s # #ifdef G_OS_UNIX 4113s # # include 4113s # #endif 4113s # 4113s # #ifdef G_ENABLE_DEBUG 4113s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4113s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4113s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4113s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4113s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4113s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4113s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4113s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4113s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4113s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4113s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4113s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4113s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4113s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4113s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4113s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4113s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4113s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4113s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4113s # #else /* !G_ENABLE_DEBUG */ 4113s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4113s # * Do not access GValues directly in your code. Instead, use the 4113s # * g_value_get_*() functions 4113s # */ 4113s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4113s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4113s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4113s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4113s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4113s # #endif /* !G_ENABLE_DEBUG */ 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusArgInfo parent_struct; 4113s # gboolean use_gvariant; 4113s # } _ExtendedGDBusArgInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusMethodInfo parent_struct; 4113s # const gchar *signal_name; 4113s # gboolean pass_fdlist; 4113s # } _ExtendedGDBusMethodInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusSignalInfo parent_struct; 4113s # const gchar *signal_name; 4113s # } _ExtendedGDBusSignalInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusPropertyInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # guint use_gvariant : 1; 4113s # guint emits_changed_signal : 1; 4113s # } _ExtendedGDBusPropertyInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusInterfaceInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # } _ExtendedGDBusInterfaceInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # const _ExtendedGDBusPropertyInfo *info; 4113s # guint prop_id; 4113s # GValue orig_value; /* the value before the change */ 4113s # } ChangedProperty; 4113s # 4113s # static void 4113s # _changed_property_free (ChangedProperty *data) 4113s # { 4113s # g_value_unset (&data->orig_value); 4113s # g_free (data); 4113s # } 4113s # 4113s # static gboolean 4113s # _g_strv_equal0 (gchar **a, gchar **b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # guint n; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # if (g_strv_length (a) != g_strv_length (b)) 4113s # goto out; 4113s # for (n = 0; a[n] != NULL; n++) 4113s # if (g_strcmp0 (a[n], b[n]) != 0) 4113s # goto out; 4113s # ret = TRUE; 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # static gboolean 4113s # _g_variant_equal0 (GVariant *a, GVariant *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # ret = g_variant_equal (a, b); 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # G_GNUC_UNUSED static gboolean 4113s # _g_value_equal (const GValue *a, const GValue *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4113s # switch (G_VALUE_TYPE (a)) 4113s # { 4113s # case G_TYPE_BOOLEAN: 4113s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4113s # break; 4113s # case G_TYPE_UCHAR: 4113s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4113s # break; 4113s # case G_TYPE_INT: 4113s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4113s # break; 4113s # case G_TYPE_UINT: 4113s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4113s # break; 4113s # case G_TYPE_INT64: 4113s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4113s # break; 4113s # case G_TYPE_UINT64: 4113s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4113s # break; 4113s # case G_TYPE_DOUBLE: 4113s # { 4113s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4113s # gdouble da = g_value_get_double (a); 4113s # gdouble db = g_value_get_double (b); 4113s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4113s # } 4113s # break; 4113s # case G_TYPE_STRING: 4113s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4113s # break; 4113s # case G_TYPE_VARIANT: 4113s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4113s # break; 4113s # default: 4113s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4113s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4113s # else 4113s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4113s # break; 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ 4113s # * Code for interface org.project.SignalingIface 4113s # * ------------------------------------------------------------------------ 4113s # */ 4113s # 4113s # /** 4113s # * SECTION:OrgProjectSignalingIface 4113s # * @title: OrgProjectSignalingIface 4113s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4113s # * 4113s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4113s # */ 4113s # 4113s # enum 4113s # { 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4113s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 4113s # }; 4113s # 4113s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4113s # 4113s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SimpleSignal", 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "simple-signal" 4113s # }; 4113s # 4113s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "arg_q", 4113s # (gchar *) "q", 4113s # NULL 4113s # }, 4113s # FALSE 4113s # }; 4113s # 4113s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SingleArgSignalQ", 4113s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 4113s # NULL 4113s # }, 4113s # "single-arg-signal-q" 4113s # }; 4113s # 4113s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "org.project.SignalingIface", 4113s # NULL, 4113s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "org-project-signaling-iface", 4113s # }; 4113s # 4113s # 4113s # /** 4113s # * org_project_signaling_iface_interface_info: 4113s # * 4113s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4113s # * 4113s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4113s # */ 4113s # GDBusInterfaceInfo * 4113s # org_project_signaling_iface_interface_info (void) 4113s # { 4113s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_override_properties: 4113s # * @klass: The class structure for a #GObject derived class. 4113s # * @property_id_begin: The property id to assign to the first overridden property. 4113s # * 4113s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4113s # * The properties are overridden in the order they are defined. 4113s # * 4113s # * Returns: The last property id. 4113s # */ 4113s # guint 4113s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4113s # { 4113s # return property_id_begin - 1; 4113s # } 4113s # 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_simple_signal ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # g_cclosure_marshal_VOID__VOID (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # g_cclosure_marshal_VOID__UINT (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface: 4113s # * 4113s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceIface: 4113s # * @parent_iface: The parent interface. 4113s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4113s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 4113s # * 4113s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4113s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4113s # 4113s # static void 4113s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4113s # { 4113s # /* GObject signals for received D-Bus signals: */ 4113s # /** 4113s # * OrgProjectSignalingIface::simple-signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4113s # g_signal_new ("simple-signal", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_simple_signal, 4113s # G_TYPE_NONE, 4113s # 0); 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface::single-arg-signal-q: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_q: Argument. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 4113s # g_signal_new ("single-arg-signal-q", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 4113s # G_TYPE_NONE, 4113s # 1, G_TYPE_UINT); 4113s # 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_simple_signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * Emits the "SimpleSignal" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_simple_signal ( 4113s # OrgProjectSignalingIface *object) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_single_arg_signal_q: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_q: Argument to pass with the signal. 4113s # * 4113s # * Emits the "SingleArgSignalQ" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_single_arg_signal_q ( 4113s # OrgProjectSignalingIface *object, 4113s # guint16 arg_arg_q) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxy: 4113s # * 4113s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxyClass: 4113s # * @parent_class: The parent class. 4113s # * 4113s # * Class structure for #OrgProjectSignalingIfaceProxy. 4113s # */ 4113s # 4113s # struct _OrgProjectSignalingIfaceProxyPrivate 4113s # { 4113s # GData *qdata; 4113s # }; 4113s # 4113s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #else 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #endif 4113s # static void 4113s # org_project_signaling_iface_proxy_finalize (GObject *object) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4113s # g_datalist_clear (&proxy->priv->qdata); 4113s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # const GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4113s # const gchar *sender_name G_GNUC_UNUSED, 4113s # const gchar *signal_name, 4113s # GVariant *parameters) 4113s # { 4113s # _ExtendedGDBusSignalInfo *info; 4113s # GVariantIter iter; 4113s # GVariant *child; 4113s # GValue *paramv; 4113s # gsize num_params; 4113s # gsize n; 4113s # guint signal_id; 4113s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4113s # if (info == NULL) 4113s # return; 4113s # num_params = g_variant_n_children (parameters); 4113s # paramv = g_new0 (GValue, num_params + 1); 4113s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_set_object (¶mv[0], proxy); 4113s # g_variant_iter_init (&iter, parameters); 4113s # n = 1; 4113s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4113s # { 4113s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4113s # if (arg_info->use_gvariant) 4113s # { 4113s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4113s # g_value_set_variant (¶mv[n], child); 4113s # n++; 4113s # } 4113s # else 4113s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4113s # g_variant_unref (child); 4113s # } 4113s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_signal_emitv (paramv, signal_id, 0, NULL); 4113s # for (n = 0; n < num_params + 1; n++) 4113s # g_value_unset (¶mv[n]); 4113s # g_free (paramv); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4113s # GVariant *changed_properties, 4113s # const gchar *const *invalidated_properties) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4113s # guint n; 4113s # const gchar *key; 4113s # GVariantIter *iter; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # g_variant_get (changed_properties, "a{sv}", &iter); 4113s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4113s # g_datalist_remove_data (&proxy->priv->qdata, key); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # g_variant_iter_free (iter); 4113s # for (n = 0; invalidated_properties[n] != NULL; n++) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4113s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4113s # { 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4113s # #else 4113s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4113s # #endif 4113s # 4113s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4113s # { 4113s # GObjectClass *gobject_class; 4113s # GDBusProxyClass *proxy_class; 4113s # 4113s # gobject_class = G_OBJECT_CLASS (klass); 4113s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4113s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4113s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4113s # 4113s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4113s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4113s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4113s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4113s # #endif 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new: 4113s # * @connection: A #GDBusConnection. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4113s # * @user_data: User data to pass to @callback. 4113s # * 4113s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4113s # * 4113s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4113s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_proxy_new ( 4113s # GDBusConnection *connection, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GAsyncReadyCallback callback, 4113s # gpointer user_data) 4113s # { 4113s # 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); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_finish: 4113s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_finish ( 4113s # GAsyncResult *res, 4113s # GError **error) 4113s # { 4113s # GObject *ret; 4113s # GObject *source_object; 4113s # source_object = g_async_result_get_source_object (res); 4113s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4113s # g_object_unref (source_object); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_sync: 4113s # * @connection: A #GDBusConnection. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4113s # * 4113s # * The calling thread is blocked until a reply is received. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_sync ( 4113s # GDBusConnection *connection, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GError **error) 4113s # { 4113s # GInitable *ret; 4113s # 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); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus: 4113s # * @bus_type: A #GBusType. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: A bus name (well-known or unique). 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4113s # * @user_data: User data to pass to @callback. 4113s # * 4113s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4113s # * 4113s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4113s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_proxy_new_for_bus ( 4113s # GBusType bus_type, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GAsyncReadyCallback callback, 4113s # gpointer user_data) 4113s # { 4113s # 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); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4113s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4113s # GAsyncResult *res, 4113s # GError **error) 4113s # { 4113s # GObject *ret; 4113s # GObject *source_object; 4113s # source_object = g_async_result_get_source_object (res); 4113s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4113s # g_object_unref (source_object); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4113s # * @bus_type: A #GBusType. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: A bus name (well-known or unique). 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4113s # * 4113s # * The calling thread is blocked until a reply is received. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4113s # GBusType bus_type, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GError **error) 4113s # { 4113s # GInitable *ret; 4113s # 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); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # 4113s # /* ------------------------------------------------------------------------ */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceSkeleton: 4113s # * 4113s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceSkeletonClass: 4113s # * @parent_class: The parent class. 4113s # * 4113s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4113s # */ 4113s # 4113s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4113s # { 4113s # GValue *properties; 4113s # GList *changed_properties; 4113s # GSource *changed_properties_idle_source; 4113s # GMainContext *context; 4113s # GMutex lock; 4113s # }; 4113s # 4113s # static void 4113s # _org_project_signaling_iface_skeleton_handle_method_call ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name, 4113s # const gchar *method_name, 4113s # GVariant *parameters, 4113s # GDBusMethodInvocation *invocation, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # _ExtendedGDBusMethodInfo *info; 4113s # GVariantIter iter; 4113s # GVariant *child; 4113s # GValue *paramv; 4113s # gsize num_params; 4113s # guint num_extra; 4113s # gsize n; 4113s # guint signal_id; 4113s # GValue return_value = G_VALUE_INIT; 4113s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4113s # g_assert (info != NULL); 4113s # num_params = g_variant_n_children (parameters); 4113s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4113s # n = 0; 4113s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_set_object (¶mv[n++], skeleton); 4113s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4113s # g_value_set_object (¶mv[n++], invocation); 4113s # if (info->pass_fdlist) 4113s # { 4113s # #ifdef G_OS_UNIX 4113s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4113s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4113s # #else 4113s # g_assert_not_reached (); 4113s # #endif 4113s # } 4113s # g_variant_iter_init (&iter, parameters); 4113s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4113s # { 4113s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4113s # if (arg_info->use_gvariant) 4113s # { 4113s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4113s # g_value_set_variant (¶mv[n], child); 4113s # n++; 4113s # } 4113s # else 4113s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4113s # g_variant_unref (child); 4113s # } 4113s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4113s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4113s # if (!g_value_get_boolean (&return_value)) 4113s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4113s # g_value_unset (&return_value); 4113s # for (n = 0; n < num_params + num_extra; n++) 4113s # g_value_unset (¶mv[n]); 4113s # g_free (paramv); 4113s # } 4113s # 4113s # static GVariant * 4113s # _org_project_signaling_iface_skeleton_handle_get_property ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name G_GNUC_UNUSED, 4113s # const gchar *property_name, 4113s # GError **error, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # GValue value = G_VALUE_INIT; 4113s # GParamSpec *pspec; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # GVariant *ret; 4113s # ret = NULL; 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4113s # g_assert (info != NULL); 4113s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4113s # if (pspec == NULL) 4113s # { 4113s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4113s # } 4113s # else 4113s # { 4113s # g_value_init (&value, pspec->value_type); 4113s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4113s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4113s # g_value_unset (&value); 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static gboolean 4113s # _org_project_signaling_iface_skeleton_handle_set_property ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name G_GNUC_UNUSED, 4113s # const gchar *property_name, 4113s # GVariant *variant, 4113s # GError **error, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # GValue value = G_VALUE_INIT; 4113s # GParamSpec *pspec; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # gboolean ret; 4113s # ret = FALSE; 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4113s # g_assert (info != NULL); 4113s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4113s # if (pspec == NULL) 4113s # { 4113s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4113s # } 4113s # else 4113s # { 4113s # if (info->use_gvariant) 4113s # g_value_set_variant (&value, variant); 4113s # else 4113s # g_dbus_gvariant_to_gvalue (variant, &value); 4113s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4113s # g_value_unset (&value); 4113s # ret = TRUE; 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4113s # { 4113s # _org_project_signaling_iface_skeleton_handle_method_call, 4113s # _org_project_signaling_iface_skeleton_handle_get_property, 4113s # _org_project_signaling_iface_skeleton_handle_set_property, 4113s # {NULL} 4113s # }; 4113s # 4113s # static GDBusInterfaceInfo * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4113s # { 4113s # return org_project_signaling_iface_interface_info (); 4113s # } 4113s # 4113s # static GDBusInterfaceVTable * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4113s # { 4113s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4113s # } 4113s # 4113s # static GVariant * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4113s # 4113s # GVariantBuilder builder; 4113s # guint n; 4113s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4113s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4113s # goto out; 4113s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4113s # { 4113s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4113s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4113s # { 4113s # GVariant *value; 4113s # 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); 4113s # if (value != NULL) 4113s # { 4113s # g_variant_take_ref (value); 4113s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4113s # g_variant_unref (value); 4113s # } 4113s # } 4113s # } 4113s # out: 4113s # return g_variant_builder_end (&builder); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # _org_project_signaling_iface_on_signal_simple_signal ( 4113s # OrgProjectSignalingIface *object) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # 4113s # GList *connections, *l; 4113s # GVariant *signal_variant; 4113s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4113s # 4113s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4113s # for (l = connections; l != NULL; l = l->next) 4113s # { 4113s # GDBusConnection *connection = l->data; 4113s # g_dbus_connection_emit_signal (connection, 4113s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4113s # signal_variant, NULL); 4113s # } 4113s # g_variant_unref (signal_variant); 4113s # g_list_free_full (connections, g_object_unref); 4113s # } 4113s # 4113s # static void 4113s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 4113s # OrgProjectSignalingIface *object, 4113s # guint16 arg_arg_q) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # 4113s # GList *connections, *l; 4113s # GVariant *signal_variant; 4113s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4113s # 4113s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 4113s # arg_arg_q)); 4113s # for (l = connections; l != NULL; l = l->next) 4113s # { 4113s # GDBusConnection *connection = l->data; 4113s # g_dbus_connection_emit_signal (connection, 4113s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 4113s # signal_variant, NULL); 4113s # } 4113s # g_variant_unref (signal_variant); 4113s # g_list_free_full (connections, g_object_unref); 4113s # } 4113s # 4113s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4113s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4113s # 4113s # #else 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4113s # 4113s # #endif 4113s # static void 4113s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4113s # if (skeleton->priv->changed_properties_idle_source != NULL) 4113s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4113s # g_main_context_unref (skeleton->priv->context); 4113s # g_mutex_clear (&skeleton->priv->lock); 4113s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4113s # { 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4113s # #else 4113s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4113s # #endif 4113s # 4113s # g_mutex_init (&skeleton->priv->lock); 4113s # skeleton->priv->context = g_main_context_ref_thread_default (); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4113s # { 4113s # GObjectClass *gobject_class; 4113s # GDBusInterfaceSkeletonClass *skeleton_class; 4113s # 4113s # gobject_class = G_OBJECT_CLASS (klass); 4113s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4113s # 4113s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4113s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4113s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4113s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4113s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4113s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4113s # #endif 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4113s # { 4113s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4113s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_skeleton_new: 4113s # * 4113s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_skeleton_new (void) 4113s # { 4113s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4113s # } 4113s # /tmp/tmp74tbisad/tmpoxk515if.xml: 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmpoxk515if.xml', '--output', '-', '--body'] 4113s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4113s # Output: /* 4113s # * This file is generated by gdbus-codegen, do not modify it. 4113s # * 4113s # * The license of this code is the same as for the D-Bus interface description 4113s # * it was derived from. Note that it links to GLib, so must comply with the 4113s # * LGPL linking clauses. 4113s # */ 4113s # 4113s # #ifdef HAVE_CONFIG_H 4113s # # include "config.h" 4113s # #endif 4113s # 4113s # #include 4113s # #ifdef G_OS_UNIX 4113s # # include 4113s # #endif 4113s # 4113s # #ifdef G_ENABLE_DEBUG 4113s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4113s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4113s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4113s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4113s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4113s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4113s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4113s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4113s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4113s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4113s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4113s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4113s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4113s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4113s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4113s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4113s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4113s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4113s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4113s # #else /* !G_ENABLE_DEBUG */ 4113s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4113s # * Do not access GValues directly in your code. Instead, use the 4113s # * g_value_get_*() functions 4113s # */ 4113s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4113s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4113s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4113s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4113s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4113s # #endif /* !G_ENABLE_DEBUG */ 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusArgInfo parent_struct; 4113s # gboolean use_gvariant; 4113s # } _ExtendedGDBusArgInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusMethodInfo parent_struct; 4113s # const gchar *signal_name; 4113s # gboolean pass_fdlist; 4113s # } _ExtendedGDBusMethodInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusSignalInfo parent_struct; 4113s # const gchar *signal_name; 4113s # } _ExtendedGDBusSignalInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusPropertyInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # guint use_gvariant : 1; 4113s # guint emits_changed_signal : 1; 4113s # } _ExtendedGDBusPropertyInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusInterfaceInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # } _ExtendedGDBusInterfaceInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # const _ExtendedGDBusPropertyInfo *info; 4113s # guint prop_id; 4113s # GValue orig_value; /* the value before the change */ 4113s # } ChangedProperty; 4113s # 4113s # static void 4113s # _changed_property_free (ChangedProperty *data) 4113s # { 4113s # g_value_unset (&data->orig_value); 4113s # g_free (data); 4113s # } 4113s # 4113s # static gboolean 4113s # _g_strv_equal0 (gchar **a, gchar **b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # guint n; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # if (g_strv_length (a) != g_strv_length (b)) 4113s # goto out; 4113s # for (n = 0; a[n] != NULL; n++) 4113s # if (g_strcmp0 (a[n], b[n]) != 0) 4113s # goto out; 4113s # ret = TRUE; 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # static gboolean 4113s # _g_variant_equal0 (GVariant *a, GVariant *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # ret = g_variant_equal (a, b); 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # G_GNUC_UNUSED static gboolean 4113s # _g_value_equal (const GValue *a, const GValue *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4113s # switch (G_VALUE_TYPE (a)) 4113s # { 4113s # case G_TYPE_BOOLEAN: 4113s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4113s # break; 4113s # case G_TYPE_UCHAR: 4113s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4113s # break; 4113s # case G_TYPE_INT: 4113s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4113s # break; 4113s # case G_TYPE_UINT: 4113s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4113s # break; 4113s # case G_TYPE_INT64: 4113s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4113s # break; 4113s # case G_TYPE_UINT64: 4113s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4113s # break; 4113s # case G_TYPE_DOUBLE: 4113s # { 4113s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4113s # gdouble da = g_value_get_double (a); 4113s # gdouble db = g_value_get_double (b); 4113s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4113s # } 4113s # break; 4113s # case G_TYPE_STRING: 4113s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4113s # break; 4113s # case G_TYPE_VARIANT: 4113s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4113s # break; 4113s # default: 4113s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4113s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4113s # else 4113s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4113s # break; 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ 4113s # * Code for interface org.project.SignalingIface 4113s # * ------------------------------------------------------------------------ 4113s # */ 4113s # 4113s # /** 4113s # * SECTION:OrgProjectSignalingIface 4113s # * @title: OrgProjectSignalingIface 4113s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4113s # * 4113s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4113s # */ 4113s # 4113s # enum 4113s # { 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4113s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 4113s # }; 4113s # 4113s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4113s # 4113s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SimpleSignal", 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "simple-signal" 4113s # }; 4113s # 4113s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "arg_i", 4113s # (gchar *) "i", 4113s # NULL 4113s # }, 4113s # FALSE 4113s # }; 4113s # 4113s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SingleArgSignalI", 4113s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 4113s # NULL 4113s # }, 4113s # "single-arg-signal-i" 4113s # }; 4113s # 4113s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "org.project.SignalingIface", 4113s # NULL, 4113s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "org-project-signaling-iface", 4113s # }; 4113s # 4113s # 4113s # /** 4113s # * org_project_signaling_iface_interface_info: 4113s # * 4113s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4113s # * 4113s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4113s # */ 4113s # GDBusInterfaceInfo * 4113s # org_project_signaling_iface_interface_info (void) 4113s # { 4113s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_override_properties: 4113s # * @klass: The class structure for a #GObject derived class. 4113s # * @property_id_begin: The property id to assign to the first overridden property. 4113s # * 4113s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4113s # * The properties are overridden in the order they are defined. 4113s # * 4113s # * Returns: The last property id. 4113s # */ 4113s # guint 4113s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4113s # { 4113s # return property_id_begin - 1; 4113s # } 4113s # 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_simple_signal ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # g_cclosure_marshal_VOID__VOID (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # g_cclosure_marshal_VOID__INT (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface: 4113s # * 4113s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceIface: 4113s # * @parent_iface: The parent interface. 4113s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4113s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 4113s # * 4113s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4113s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4113s # 4113s # static void 4113s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4113s # { 4113s # /* GObject signals for received D-Bus signals: */ 4113s # /** 4113s # * OrgProjectSignalingIface::simple-signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4113s # g_signal_new ("simple-signal", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_simple_signal, 4113s # G_TYPE_NONE, 4113s # 0); 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface::single-arg-signal-i: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_i: Argument. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 4113s # g_signal_new ("single-arg-signal-i", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 4113s # G_TYPE_NONE, 4113s # 1, G_TYPE_INT); 4113s # 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_simple_signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * Emits the "SimpleSignal" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_simple_signal ( 4113s # OrgProjectSignalingIface *object) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_single_arg_signal_i: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_i: Argument to pass with the signal. 4113s # * 4113s # * Emits the "SingleArgSignalI" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_single_arg_signal_i ( 4113s # OrgProjectSignalingIface *object, 4113s # gint arg_arg_i) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxy: 4113s # * 4113s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxyClass: 4113s # * @parent_class: The parent class. 4113s # * 4113s # * Class structure for #OrgProjectSignalingIfaceProxy. 4113s # */ 4113s # 4113s # struct _OrgProjectSignalingIfaceProxyPrivate 4113s # { 4113s # GData *qdata; 4113s # }; 4113s # 4113s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #else 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #endif 4113s # static void 4113s # org_project_signaling_iface_proxy_finalize (GObject *object) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4113s # g_datalist_clear (&proxy->priv->qdata); 4113s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # const GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4113s # const gchar *sender_name G_GNUC_UNUSED, 4113s # const gchar *signal_name, 4113s # GVariant *parameters) 4113s # { 4113s # _ExtendedGDBusSignalInfo *info; 4113s # GVariantIter iter; 4113s # GVariant *child; 4113s # GValue *paramv; 4113s # gsize num_params; 4113s # gsize n; 4113s # guint signal_id; 4113s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4113s # if (info == NULL) 4113s # return; 4113s # num_params = g_variant_n_children (parameters); 4113s # paramv = g_new0 (GValue, num_params + 1); 4113s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_set_object (¶mv[0], proxy); 4113s # g_variant_iter_init (&iter, parameters); 4113s # n = 1; 4113s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4113s # { 4113s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4113s # if (arg_info->use_gvariant) 4113s # { 4113s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4113s # g_value_set_variant (¶mv[n], child); 4113s # n++; 4113s # } 4113s # else 4113s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4113s # g_variant_unref (child); 4113s # } 4113s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_signal_emitv (paramv, signal_id, 0, NULL); 4113s # for (n = 0; n < num_params + 1; n++) 4113s # g_value_unset (¶mv[n]); 4113s # g_free (paramv); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4113s # GVariant *changed_properties, 4113s # const gchar *const *invalidated_properties) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4113s # guint n; 4113s # const gchar *key; 4113s # GVariantIter *iter; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # g_variant_get (changed_properties, "a{sv}", &iter); 4113s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4113s # g_datalist_remove_data (&proxy->priv->qdata, key); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # g_variant_iter_free (iter); 4113s # for (n = 0; invalidated_properties[n] != NULL; n++) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4113s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4113s # { 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4113s # #else 4113s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4113s # #endif 4113s # 4113s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4113s # { 4113s # GObjectClass *gobject_class; 4113s # GDBusProxyClass *proxy_class; 4113s # 4113s # gobject_class = G_OBJECT_CLASS (klass); 4113s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4113s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4113s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4113s # 4113s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4113s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4113s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4113s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4113s # #endif 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new: 4113s # * @connection: A #GDBusConnection. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4113s # * @user_data: User data to pass to @callback. 4113s # * 4113s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4113s # * 4113s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4113s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_proxy_new ( 4113s # GDBusConnection *connection, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GAsyncReadyCallback callback, 4113s # gpointer user_data) 4113s # { 4113s # 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); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_finish: 4113s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_finish ( 4113s # GAsyncResult *res, 4113s # GError **error) 4113s # { 4113s # GObject *ret; 4113s # GObject *source_object; 4113s # source_object = g_async_result_get_source_object (res); 4113s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4113s # g_object_unref (source_object); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_sync: 4113s # * @connection: A #GDBusConnection. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4113s # * 4113s # * The calling thread is blocked until a reply is received. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_sync ( 4113s # GDBusConnection *connection, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GError **error) 4113s # { 4113s # GInitable *ret; 4113s # 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); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus: 4113s # * @bus_type: A #GBusType. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: A bus name (well-known or unique). 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4113s # * @user_data: User data to pass to @callback. 4113s # * 4113s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4113s # * 4113s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4113s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_proxy_new_for_bus ( 4113s # GBusType bus_type, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GAsyncReadyCallback callback, 4113s # gpointer user_data) 4113s # { 4113s # 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); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4113s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4113s # GAsyncResult *res, 4113s # GError **error) 4113s # { 4113s # GObject *ret; 4113s # GObject *source_object; 4113s # source_object = g_async_result_get_source_object (res); 4113s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4113s # g_object_unref (source_object); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4113s # * @bus_type: A #GBusType. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: A bus name (well-known or unique). 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4113s # * 4113s # * The calling thread is blocked until a reply is received. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4113s # GBusType bus_type, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GError **error) 4113s # { 4113s # GInitable *ret; 4113s # 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); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # 4113s # /* ------------------------------------------------------------------------ */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceSkeleton: 4113s # * 4113s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceSkeletonClass: 4113s # * @parent_class: The parent class. 4113s # * 4113s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4113s # */ 4113s # 4113s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4113s # { 4113s # GValue *properties; 4113s # GList *changed_properties; 4113s # GSource *changed_properties_idle_source; 4113s # GMainContext *context; 4113s # GMutex lock; 4113s # }; 4113s # 4113s # static void 4113s # _org_project_signaling_iface_skeleton_handle_method_call ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name, 4113s # const gchar *method_name, 4113s # GVariant *parameters, 4113s # GDBusMethodInvocation *invocation, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # _ExtendedGDBusMethodInfo *info; 4113s # GVariantIter iter; 4113s # GVariant *child; 4113s # GValue *paramv; 4113s # gsize num_params; 4113s # guint num_extra; 4113s # gsize n; 4113s # guint signal_id; 4113s # GValue return_value = G_VALUE_INIT; 4113s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4113s # g_assert (info != NULL); 4113s # num_params = g_variant_n_children (parameters); 4113s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4113s # n = 0; 4113s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_set_object (¶mv[n++], skeleton); 4113s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4113s # g_value_set_object (¶mv[n++], invocation); 4113s # if (info->pass_fdlist) 4113s # { 4113s # #ifdef G_OS_UNIX 4113s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4113s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4113s # #else 4113s # g_assert_not_reached (); 4113s # #endif 4113s # } 4113s # g_variant_iter_init (&iter, parameters); 4113s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4113s # { 4113s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4113s # if (arg_info->use_gvariant) 4113s # { 4113s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4113s # g_value_set_variant (¶mv[n], child); 4113s # n++; 4113s # } 4113s # else 4113s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4113s # g_variant_unref (child); 4113s # } 4113s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4113s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4113s # if (!g_value_get_boolean (&return_value)) 4113s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4113s # g_value_unset (&return_value); 4113s # for (n = 0; n < num_params + num_extra; n++) 4113s # g_value_unset (¶mv[n]); 4113s # g_free (paramv); 4113s # } 4113s # 4113s # static GVariant * 4113s # _org_project_signaling_iface_skeleton_handle_get_property ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name G_GNUC_UNUSED, 4113s # const gchar *property_name, 4113s # GError **error, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # GValue value = G_VALUE_INIT; 4113s # GParamSpec *pspec; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # GVariant *ret; 4113s # ret = NULL; 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4113s # g_assert (info != NULL); 4113s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4113s # if (pspec == NULL) 4113s # { 4113s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4113s # } 4113s # else 4113s # { 4113s # g_value_init (&value, pspec->value_type); 4113s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4113s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4113s # g_value_unset (&value); 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static gboolean 4113s # _org_project_signaling_iface_skeleton_handle_set_property ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name G_GNUC_UNUSED, 4113s # const gchar *property_name, 4113s # GVariant *variant, 4113s # GError **error, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # GValue value = G_VALUE_INIT; 4113s # GParamSpec *pspec; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # gboolean ret; 4113s # ret = FALSE; 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4113s # g_assert (info != NULL); 4113s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4113s # if (pspec == NULL) 4113s # { 4113s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4113s # } 4113s # else 4113s # { 4113s # if (info->use_gvariant) 4113s # g_value_set_variant (&value, variant); 4113s # else 4113s # g_dbus_gvariant_to_gvalue (variant, &value); 4113s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4113s # g_value_unset (&value); 4113s # ret = TRUE; 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4113s # { 4113s # _org_project_signaling_iface_skeleton_handle_method_call, 4113s # _org_project_signaling_iface_skeleton_handle_get_property, 4113s # _org_project_signaling_iface_skeleton_handle_set_property, 4113s # {NULL} 4113s # }; 4113s # 4113s # static GDBusInterfaceInfo * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4113s # { 4113s # return org_project_signaling_iface_interface_info (); 4113s # } 4113s # 4113s # static GDBusInterfaceVTable * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4113s # { 4113s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4113s # } 4113s # 4113s # static GVariant * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4113s # 4113s # GVariantBuilder builder; 4113s # guint n; 4113s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4113s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4113s # goto out; 4113s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4113s # { 4113s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4113s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4113s # { 4113s # GVariant *value; 4113s # 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); 4113s # if (value != NULL) 4113s # { 4113s # g_variant_take_ref (value); 4113s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4113s # g_variant_unref (value); 4113s # } 4113s # } 4113s # } 4113s # out: 4113s # return g_variant_builder_end (&builder); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # _org_project_signaling_iface_on_signal_simple_signal ( 4113s # OrgProjectSignalingIface *object) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # 4113s # GList *connections, *l; 4113s # GVariant *signal_variant; 4113s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4113s # 4113s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4113s # for (l = connections; l != NULL; l = l->next) 4113s # { 4113s # GDBusConnection *connection = l->data; 4113s # g_dbus_connection_emit_signal (connection, 4113s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4113s # signal_variant, NULL); 4113s # } 4113s # g_variant_unref (signal_variant); 4113s # g_list_free_full (connections, g_object_unref); 4113s # } 4113s # 4113s # static void 4113s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 4113s # OrgProjectSignalingIface *object, 4113s # gint arg_arg_i) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # 4113s # GList *connections, *l; 4113s # GVariant *signal_variant; 4113s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4113s # 4113s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 4113s # arg_arg_i)); 4113s # for (l = connections; l != NULL; l = l->next) 4113s # { 4113s # GDBusConnection *connection = l->data; 4113s # g_dbus_connection_emit_signal (connection, 4113s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 4113s # signal_variant, NULL); 4113s # } 4113s # g_variant_unref (signal_variant); 4113s # g_list_free_full (connections, g_object_unref); 4113s # } 4113s # 4113s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4113s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4113s # 4113s # #else 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4113s # 4113s # #endif 4113s # static void 4113s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4113s # if (skeleton->priv->changed_properties_idle_source != NULL) 4113s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4113s # g_main_context_unref (skeleton->priv->context); 4113s # g_mutex_clear (&skeleton->priv->lock); 4113s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4113s # { 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4113s # #else 4113s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4113s # #endif 4113s # 4113s # g_mutex_init (&skeleton->priv->lock); 4113s # skeleton->priv->context = g_main_context_ref_thread_default (); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4113s # { 4113s # GObjectClass *gobject_class; 4113s # GDBusInterfaceSkeletonClass *skeleton_class; 4113s # 4113s # gobject_class = G_OBJECT_CLASS (klass); 4113s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4113s # 4113s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4113s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4113s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4113s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4113s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4113s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4113s # #endif 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4113s # { 4113s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4113s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_skeleton_new: 4113s # * 4113s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_skeleton_new (void) 4113s # { 4113s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4113s # } 4113s # /tmp/tmp74tbisad/tmpid4sej3m.xml: 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmpid4sej3m.xml', '--output', '-', '--body'] 4113s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4113s # Output: /* 4113s # * This file is generated by gdbus-codegen, do not modify it. 4113s # * 4113s # * The license of this code is the same as for the D-Bus interface description 4113s # * it was derived from. Note that it links to GLib, so must comply with the 4113s # * LGPL linking clauses. 4113s # */ 4113s # 4113s # #ifdef HAVE_CONFIG_H 4113s # # include "config.h" 4113s # #endif 4113s # 4113s # #include 4113s # #ifdef G_OS_UNIX 4113s # # include 4113s # #endif 4113s # 4113s # #ifdef G_ENABLE_DEBUG 4113s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4113s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4113s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4113s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4113s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4113s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4113s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4113s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4113s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4113s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4113s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4113s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4113s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4113s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4113s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4113s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4113s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4113s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4113s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4113s # #else /* !G_ENABLE_DEBUG */ 4113s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4113s # * Do not access GValues directly in your code. Instead, use the 4113s # * g_value_get_*() functions 4113s # */ 4113s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4113s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4113s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4113s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4113s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4113s # #endif /* !G_ENABLE_DEBUG */ 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusArgInfo parent_struct; 4113s # gboolean use_gvariant; 4113s # } _ExtendedGDBusArgInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusMethodInfo parent_struct; 4113s # const gchar *signal_name; 4113s # gboolean pass_fdlist; 4113s # } _ExtendedGDBusMethodInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusSignalInfo parent_struct; 4113s # const gchar *signal_name; 4113s # } _ExtendedGDBusSignalInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusPropertyInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # guint use_gvariant : 1; 4113s # guint emits_changed_signal : 1; 4113s # } _ExtendedGDBusPropertyInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusInterfaceInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # } _ExtendedGDBusInterfaceInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # const _ExtendedGDBusPropertyInfo *info; 4113s # guint prop_id; 4113s # GValue orig_value; /* the value before the change */ 4113s # } ChangedProperty; 4113s # 4113s # static void 4113s # _changed_property_free (ChangedProperty *data) 4113s # { 4113s # g_value_unset (&data->orig_value); 4113s # g_free (data); 4113s # } 4113s # 4113s # static gboolean 4113s # _g_strv_equal0 (gchar **a, gchar **b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # guint n; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # if (g_strv_length (a) != g_strv_length (b)) 4113s # goto out; 4113s # for (n = 0; a[n] != NULL; n++) 4113s # if (g_strcmp0 (a[n], b[n]) != 0) 4113s # goto out; 4113s # ret = TRUE; 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # static gboolean 4113s # _g_variant_equal0 (GVariant *a, GVariant *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # ret = g_variant_equal (a, b); 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # G_GNUC_UNUSED static gboolean 4113s # _g_value_equal (const GValue *a, const GValue *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4113s # switch (G_VALUE_TYPE (a)) 4113s # { 4113s # case G_TYPE_BOOLEAN: 4113s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4113s # break; 4113s # case G_TYPE_UCHAR: 4113s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4113s # break; 4113s # case G_TYPE_INT: 4113s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4113s # break; 4113s # case G_TYPE_UINT: 4113s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4113s # break; 4113s # case G_TYPE_INT64: 4113s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4113s # break; 4113s # case G_TYPE_UINT64: 4113s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4113s # break; 4113s # case G_TYPE_DOUBLE: 4113s # { 4113s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4113s # gdouble da = g_value_get_double (a); 4113s # gdouble db = g_value_get_double (b); 4113s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4113s # } 4113s # break; 4113s # case G_TYPE_STRING: 4113s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4113s # break; 4113s # case G_TYPE_VARIANT: 4113s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4113s # break; 4113s # default: 4113s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4113s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4113s # else 4113s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4113s # break; 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ 4113s # * Code for interface org.project.SignalingIface 4113s # * ------------------------------------------------------------------------ 4113s # */ 4113s # 4113s # /** 4113s # * SECTION:OrgProjectSignalingIface 4113s # * @title: OrgProjectSignalingIface 4113s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4113s # * 4113s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4113s # */ 4113s # 4113s # enum 4113s # { 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4113s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 4113s # }; 4113s # 4113s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4113s # 4113s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SimpleSignal", 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "simple-signal" 4113s # }; 4113s # 4113s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "arg_u", 4113s # (gchar *) "u", 4113s # NULL 4113s # }, 4113s # FALSE 4113s # }; 4113s # 4113s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SingleArgSignalU", 4113s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 4113s # NULL 4113s # }, 4113s # "single-arg-signal-u" 4113s # }; 4113s # 4113s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "org.project.SignalingIface", 4113s # NULL, 4113s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "org-project-signaling-iface", 4113s # }; 4113s # 4113s # 4113s # /** 4113s # * org_project_signaling_iface_interface_info: 4113s # * 4113s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4113s # * 4113s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4113s # */ 4113s # GDBusInterfaceInfo * 4113s # org_project_signaling_iface_interface_info (void) 4113s # { 4113s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_override_properties: 4113s # * @klass: The class structure for a #GObject derived class. 4113s # * @property_id_begin: The property id to assign to the first overridden property. 4113s # * 4113s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4113s # * The properties are overridden in the order they are defined. 4113s # * 4113s # * Returns: The last property id. 4113s # */ 4113s # guint 4113s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4113s # { 4113s # return property_id_begin - 1; 4113s # } 4113s # 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_simple_signal ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # g_cclosure_marshal_VOID__VOID (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # g_cclosure_marshal_VOID__UINT (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface: 4113s # * 4113s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceIface: 4113s # * @parent_iface: The parent interface. 4113s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4113s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 4113s # * 4113s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4113s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4113s # 4113s # static void 4113s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4113s # { 4113s # /* GObject signals for received D-Bus signals: */ 4113s # /** 4113s # * OrgProjectSignalingIface::simple-signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4113s # g_signal_new ("simple-signal", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_simple_signal, 4113s # G_TYPE_NONE, 4113s # 0); 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface::single-arg-signal-u: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_u: Argument. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 4113s # g_signal_new ("single-arg-signal-u", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 4113s # G_TYPE_NONE, 4113s # 1, G_TYPE_UINT); 4113s # 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_simple_signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * Emits the "SimpleSignal" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_simple_signal ( 4113s # OrgProjectSignalingIface *object) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_single_arg_signal_u: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_u: Argument to pass with the signal. 4113s # * 4113s # * Emits the "SingleArgSignalU" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_single_arg_signal_u ( 4113s # OrgProjectSignalingIface *object, 4113s # guint arg_arg_u) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxy: 4113s # * 4113s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxyClass: 4113s # * @parent_class: The parent class. 4113s # * 4113s # * Class structure for #OrgProjectSignalingIfaceProxy. 4113s # */ 4113s # 4113s # struct _OrgProjectSignalingIfaceProxyPrivate 4113s # { 4113s # GData *qdata; 4113s # }; 4113s # 4113s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #else 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #endif 4113s # static void 4113s # org_project_signaling_iface_proxy_finalize (GObject *object) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4113s # g_datalist_clear (&proxy->priv->qdata); 4113s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # const GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4113s # const gchar *sender_name G_GNUC_UNUSED, 4113s # const gchar *signal_name, 4113s # GVariant *parameters) 4113s # { 4113s # _ExtendedGDBusSignalInfo *info; 4113s # GVariantIter iter; 4113s # GVariant *child; 4113s # GValue *paramv; 4113s # gsize num_params; 4113s # gsize n; 4113s # guint signal_id; 4113s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4113s # if (info == NULL) 4113s # return; 4113s # num_params = g_variant_n_children (parameters); 4113s # paramv = g_new0 (GValue, num_params + 1); 4113s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_set_object (¶mv[0], proxy); 4113s # g_variant_iter_init (&iter, parameters); 4113s # n = 1; 4113s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4113s # { 4113s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4113s # if (arg_info->use_gvariant) 4113s # { 4113s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4113s # g_value_set_variant (¶mv[n], child); 4113s # n++; 4113s # } 4113s # else 4113s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4113s # g_variant_unref (child); 4113s # } 4113s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_signal_emitv (paramv, signal_id, 0, NULL); 4113s # for (n = 0; n < num_params + 1; n++) 4113s # g_value_unset (¶mv[n]); 4113s # g_free (paramv); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4113s # GVariant *changed_properties, 4113s # const gchar *const *invalidated_properties) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4113s # guint n; 4113s # const gchar *key; 4113s # GVariantIter *iter; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # g_variant_get (changed_properties, "a{sv}", &iter); 4113s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4113s # g_datalist_remove_data (&proxy->priv->qdata, key); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # g_variant_iter_free (iter); 4113s # for (n = 0; invalidated_properties[n] != NULL; n++) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4113s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4113s # { 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4113s # #else 4113s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4113s # #endif 4113s # 4113s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4113s # { 4113s # GObjectClass *gobject_class; 4113s # GDBusProxyClass *proxy_class; 4113s # 4113s # gobject_class = G_OBJECT_CLASS (klass); 4113s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4113s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4113s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4113s # 4113s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4113s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4113s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4113s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4113s # #endif 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new: 4113s # * @connection: A #GDBusConnection. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4113s # * @user_data: User data to pass to @callback. 4113s # * 4113s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4113s # * 4113s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4113s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_proxy_new ( 4113s # GDBusConnection *connection, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GAsyncReadyCallback callback, 4113s # gpointer user_data) 4113s # { 4113s # 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); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_finish: 4113s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_finish ( 4113s # GAsyncResult *res, 4113s # GError **error) 4113s # { 4113s # GObject *ret; 4113s # GObject *source_object; 4113s # source_object = g_async_result_get_source_object (res); 4113s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4113s # g_object_unref (source_object); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_sync: 4113s # * @connection: A #GDBusConnection. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4113s # * 4113s # * The calling thread is blocked until a reply is received. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_sync ( 4113s # GDBusConnection *connection, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GError **error) 4113s # { 4113s # GInitable *ret; 4113s # 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); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus: 4113s # * @bus_type: A #GBusType. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: A bus name (well-known or unique). 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4113s # * @user_data: User data to pass to @callback. 4113s # * 4113s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4113s # * 4113s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4113s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_proxy_new_for_bus ( 4113s # GBusType bus_type, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GAsyncReadyCallback callback, 4113s # gpointer user_data) 4113s # { 4113s # 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); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4113s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4113s # GAsyncResult *res, 4113s # GError **error) 4113s # { 4113s # GObject *ret; 4113s # GObject *source_object; 4113s # source_object = g_async_result_get_source_object (res); 4113s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4113s # g_object_unref (source_object); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4113s # * @bus_type: A #GBusType. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: A bus name (well-known or unique). 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4113s # * 4113s # * The calling thread is blocked until a reply is received. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4113s # GBusType bus_type, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GError **error) 4113s # { 4113s # GInitable *ret; 4113s # 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); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # 4113s # /* ------------------------------------------------------------------------ */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceSkeleton: 4113s # * 4113s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceSkeletonClass: 4113s # * @parent_class: The parent class. 4113s # * 4113s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4113s # */ 4113s # 4113s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4113s # { 4113s # GValue *properties; 4113s # GList *changed_properties; 4113s # GSource *changed_properties_idle_source; 4113s # GMainContext *context; 4113s # GMutex lock; 4113s # }; 4113s # 4113s # static void 4113s # _org_project_signaling_iface_skeleton_handle_method_call ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name, 4113s # const gchar *method_name, 4113s # GVariant *parameters, 4113s # GDBusMethodInvocation *invocation, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # _ExtendedGDBusMethodInfo *info; 4113s # GVariantIter iter; 4113s # GVariant *child; 4113s # GValue *paramv; 4113s # gsize num_params; 4113s # guint num_extra; 4113s # gsize n; 4113s # guint signal_id; 4113s # GValue return_value = G_VALUE_INIT; 4113s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4113s # g_assert (info != NULL); 4113s # num_params = g_variant_n_children (parameters); 4113s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4113s # n = 0; 4113s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_set_object (¶mv[n++], skeleton); 4113s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4113s # g_value_set_object (¶mv[n++], invocation); 4113s # if (info->pass_fdlist) 4113s # { 4113s # #ifdef G_OS_UNIX 4113s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4113s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4113s # #else 4113s # g_assert_not_reached (); 4113s # #endif 4113s # } 4113s # g_variant_iter_init (&iter, parameters); 4113s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4113s # { 4113s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4113s # if (arg_info->use_gvariant) 4113s # { 4113s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4113s # g_value_set_variant (¶mv[n], child); 4113s # n++; 4113s # } 4113s # else 4113s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4113s # g_variant_unref (child); 4113s # } 4113s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4113s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4113s # if (!g_value_get_boolean (&return_value)) 4113s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4113s # g_value_unset (&return_value); 4113s # for (n = 0; n < num_params + num_extra; n++) 4113s # g_value_unset (¶mv[n]); 4113s # g_free (paramv); 4113s # } 4113s # 4113s # static GVariant * 4113s # _org_project_signaling_iface_skeleton_handle_get_property ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name G_GNUC_UNUSED, 4113s # const gchar *property_name, 4113s # GError **error, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # GValue value = G_VALUE_INIT; 4113s # GParamSpec *pspec; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # GVariant *ret; 4113s # ret = NULL; 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4113s # g_assert (info != NULL); 4113s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4113s # if (pspec == NULL) 4113s # { 4113s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4113s # } 4113s # else 4113s # { 4113s # g_value_init (&value, pspec->value_type); 4113s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4113s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4113s # g_value_unset (&value); 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static gboolean 4113s # _org_project_signaling_iface_skeleton_handle_set_property ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name G_GNUC_UNUSED, 4113s # const gchar *property_name, 4113s # GVariant *variant, 4113s # GError **error, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # GValue value = G_VALUE_INIT; 4113s # GParamSpec *pspec; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # gboolean ret; 4113s # ret = FALSE; 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4113s # g_assert (info != NULL); 4113s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4113s # if (pspec == NULL) 4113s # { 4113s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4113s # } 4113s # else 4113s # { 4113s # if (info->use_gvariant) 4113s # g_value_set_variant (&value, variant); 4113s # else 4113s # g_dbus_gvariant_to_gvalue (variant, &value); 4113s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4113s # g_value_unset (&value); 4113s # ret = TRUE; 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4113s # { 4113s # _org_project_signaling_iface_skeleton_handle_method_call, 4113s # _org_project_signaling_iface_skeleton_handle_get_property, 4113s # _org_project_signaling_iface_skeleton_handle_set_property, 4113s # {NULL} 4113s # }; 4113s # 4113s # static GDBusInterfaceInfo * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4113s # { 4113s # return org_project_signaling_iface_interface_info (); 4113s # } 4113s # 4113s # static GDBusInterfaceVTable * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4113s # { 4113s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4113s # } 4113s # 4113s # static GVariant * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4113s # 4113s # GVariantBuilder builder; 4113s # guint n; 4113s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4113s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4113s # goto out; 4113s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4113s # { 4113s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4113s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4113s # { 4113s # GVariant *value; 4113s # 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); 4113s # if (value != NULL) 4113s # { 4113s # g_variant_take_ref (value); 4113s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4113s # g_variant_unref (value); 4113s # } 4113s # } 4113s # } 4113s # out: 4113s # return g_variant_builder_end (&builder); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # _org_project_signaling_iface_on_signal_simple_signal ( 4113s # OrgProjectSignalingIface *object) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # 4113s # GList *connections, *l; 4113s # GVariant *signal_variant; 4113s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4113s # 4113s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4113s # for (l = connections; l != NULL; l = l->next) 4113s # { 4113s # GDBusConnection *connection = l->data; 4113s # g_dbus_connection_emit_signal (connection, 4113s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4113s # signal_variant, NULL); 4113s # } 4113s # g_variant_unref (signal_variant); 4113s # g_list_free_full (connections, g_object_unref); 4113s # } 4113s # 4113s # static void 4113s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 4113s # OrgProjectSignalingIface *object, 4113s # guint arg_arg_u) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # 4113s # GList *connections, *l; 4113s # GVariant *signal_variant; 4113s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4113s # 4113s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 4113s # arg_arg_u)); 4113s # for (l = connections; l != NULL; l = l->next) 4113s # { 4113s # GDBusConnection *connection = l->data; 4113s # g_dbus_connection_emit_signal (connection, 4113s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 4113s # signal_variant, NULL); 4113s # } 4113s # g_variant_unref (signal_variant); 4113s # g_list_free_full (connections, g_object_unref); 4113s # } 4113s # 4113s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4113s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4113s # 4113s # #else 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4113s # 4113s # #endif 4113s # static void 4113s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4113s # if (skeleton->priv->changed_properties_idle_source != NULL) 4113s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4113s # g_main_context_unref (skeleton->priv->context); 4113s # g_mutex_clear (&skeleton->priv->lock); 4113s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4113s # { 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4113s # #else 4113s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4113s # #endif 4113s # 4113s # g_mutex_init (&skeleton->priv->lock); 4113s # skeleton->priv->context = g_main_context_ref_thread_default (); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4113s # { 4113s # GObjectClass *gobject_class; 4113s # GDBusInterfaceSkeletonClass *skeleton_class; 4113s # 4113s # gobject_class = G_OBJECT_CLASS (klass); 4113s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4113s # 4113s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4113s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4113s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4113s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4113s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4113s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4113s # #endif 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4113s # { 4113s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4113s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_skeleton_new: 4113s # * 4113s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_skeleton_new (void) 4113s # { 4113s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4113s # } 4113s # /tmp/tmp74tbisad/tmpw39_35w9.xml: 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmpw39_35w9.xml', '--output', '-', '--body'] 4113s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4113s # Output: /* 4113s # * This file is generated by gdbus-codegen, do not modify it. 4113s # * 4113s # * The license of this code is the same as for the D-Bus interface description 4113s # * it was derived from. Note that it links to GLib, so must comply with the 4113s # * LGPL linking clauses. 4113s # */ 4113s # 4113s # #ifdef HAVE_CONFIG_H 4113s # # include "config.h" 4113s # #endif 4113s # 4113s # #include 4113s # #ifdef G_OS_UNIX 4113s # # include 4113s # #endif 4113s # 4113s # #ifdef G_ENABLE_DEBUG 4113s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4113s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4113s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4113s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4113s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4113s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4113s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4113s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4113s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4113s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4113s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4113s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4113s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4113s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4113s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4113s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4113s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4113s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4113s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4113s # #else /* !G_ENABLE_DEBUG */ 4113s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4113s # * Do not access GValues directly in your code. Instead, use the 4113s # * g_value_get_*() functions 4113s # */ 4113s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4113s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4113s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4113s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4113s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4113s # #endif /* !G_ENABLE_DEBUG */ 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusArgInfo parent_struct; 4113s # gboolean use_gvariant; 4113s # } _ExtendedGDBusArgInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusMethodInfo parent_struct; 4113s # const gchar *signal_name; 4113s # gboolean pass_fdlist; 4113s # } _ExtendedGDBusMethodInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusSignalInfo parent_struct; 4113s # const gchar *signal_name; 4113s # } _ExtendedGDBusSignalInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusPropertyInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # guint use_gvariant : 1; 4113s # guint emits_changed_signal : 1; 4113s # } _ExtendedGDBusPropertyInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusInterfaceInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # } _ExtendedGDBusInterfaceInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # const _ExtendedGDBusPropertyInfo *info; 4113s # guint prop_id; 4113s # GValue orig_value; /* the value before the change */ 4113s # } ChangedProperty; 4113s # 4113s # static void 4113s # _changed_property_free (ChangedProperty *data) 4113s # { 4113s # g_value_unset (&data->orig_value); 4113s # g_free (data); 4113s # } 4113s # 4113s # static gboolean 4113s # _g_strv_equal0 (gchar **a, gchar **b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # guint n; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # if (g_strv_length (a) != g_strv_length (b)) 4113s # goto out; 4113s # for (n = 0; a[n] != NULL; n++) 4113s # if (g_strcmp0 (a[n], b[n]) != 0) 4113s # goto out; 4113s # ret = TRUE; 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # static gboolean 4113s # _g_variant_equal0 (GVariant *a, GVariant *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # ret = g_variant_equal (a, b); 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # G_GNUC_UNUSED static gboolean 4113s # _g_value_equal (const GValue *a, const GValue *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4113s # switch (G_VALUE_TYPE (a)) 4113s # { 4113s # case G_TYPE_BOOLEAN: 4113s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4113s # break; 4113s # case G_TYPE_UCHAR: 4113s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4113s # break; 4113s # case G_TYPE_INT: 4113s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4113s # break; 4113s # case G_TYPE_UINT: 4113s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4113s # break; 4113s # case G_TYPE_INT64: 4113s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4113s # break; 4113s # case G_TYPE_UINT64: 4113s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4113s # break; 4113s # case G_TYPE_DOUBLE: 4113s # { 4113s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4113s # gdouble da = g_value_get_double (a); 4113s # gdouble db = g_value_get_double (b); 4113s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4113s # } 4113s # break; 4113s # case G_TYPE_STRING: 4113s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4113s # break; 4113s # case G_TYPE_VARIANT: 4113s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4113s # break; 4113s # default: 4113s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4113s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4113s # else 4113s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4113s # break; 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static void 4113s # _g_dbus_codegen_marshal_VOID__INT64 ( 4113s # GClosure *closure, 4113s # GValue *return_value G_GNUC_UNUSED, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint G_GNUC_UNUSED, 4113s # void *marshal_data) 4113s # { 4113s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 4113s # (void *data1, 4113s # gint64 arg_arg_x, 4113s # void *data2); 4113s # _GDbusCodegenMarshalVoid_Int64Func callback; 4113s # GCClosure *cc = (GCClosure*) closure; 4113s # void *data1, *data2; 4113s # 4113s # g_return_if_fail (n_param_values == 2); 4113s # 4113s # if (G_CCLOSURE_SWAP_DATA (closure)) 4113s # { 4113s # data1 = closure->data; 4113s # data2 = g_value_peek_pointer (param_values + 0); 4113s # } 4113s # else 4113s # { 4113s # data1 = g_value_peek_pointer (param_values + 0); 4113s # data2 = closure->data; 4113s # } 4113s # 4113s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 4113s # (marshal_data ? marshal_data : cc->callback); 4113s # 4113s # callback (data1, 4113s # g_marshal_value_peek_int64 (param_values + 1), 4113s # data2); 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ 4113s # * Code for interface org.project.SignalingIface 4113s # * ------------------------------------------------------------------------ 4113s # */ 4113s # 4113s # /** 4113s # * SECTION:OrgProjectSignalingIface 4113s # * @title: OrgProjectSignalingIface 4113s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4113s # * 4113s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4113s # */ 4113s # 4113s # enum 4113s # { 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4113s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 4113s # }; 4113s # 4113s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4113s # 4113s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SimpleSignal", 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "simple-signal" 4113s # }; 4113s # 4113s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "arg_x", 4113s # (gchar *) "x", 4113s # NULL 4113s # }, 4113s # FALSE 4113s # }; 4113s # 4113s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SingleArgSignalX", 4113s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 4113s # NULL 4113s # }, 4113s # "single-arg-signal-x" 4113s # }; 4113s # 4113s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "org.project.SignalingIface", 4113s # NULL, 4113s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "org-project-signaling-iface", 4113s # }; 4113s # 4113s # 4113s # /** 4113s # * org_project_signaling_iface_interface_info: 4113s # * 4113s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4113s # * 4113s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4113s # */ 4113s # GDBusInterfaceInfo * 4113s # org_project_signaling_iface_interface_info (void) 4113s # { 4113s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_override_properties: 4113s # * @klass: The class structure for a #GObject derived class. 4113s # * @property_id_begin: The property id to assign to the first overridden property. 4113s # * 4113s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4113s # * The properties are overridden in the order they are defined. 4113s # * 4113s # * Returns: The last property id. 4113s # */ 4113s # guint 4113s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4113s # { 4113s # return property_id_begin - 1; 4113s # } 4113s # 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_simple_signal ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # g_cclosure_marshal_VOID__VOID (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface: 4113s # * 4113s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceIface: 4113s # * @parent_iface: The parent interface. 4113s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4113s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 4113s # * 4113s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4113s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4113s # 4113s # static void 4113s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4113s # { 4113s # /* GObject signals for received D-Bus signals: */ 4113s # /** 4113s # * OrgProjectSignalingIface::simple-signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4113s # g_signal_new ("simple-signal", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_simple_signal, 4113s # G_TYPE_NONE, 4113s # 0); 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface::single-arg-signal-x: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_x: Argument. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 4113s # g_signal_new ("single-arg-signal-x", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 4113s # G_TYPE_NONE, 4113s # 1, G_TYPE_INT64); 4113s # 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_simple_signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * Emits the "SimpleSignal" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_simple_signal ( 4113s # OrgProjectSignalingIface *object) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_single_arg_signal_x: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_x: Argument to pass with the signal. 4113s # * 4113s # * Emits the "SingleArgSignalX" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_single_arg_signal_x ( 4113s # OrgProjectSignalingIface *object, 4113s # gint64 arg_arg_x) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxy: 4113s # * 4113s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxyClass: 4113s # * @parent_class: The parent class. 4113s # * 4113s # * Class structure for #OrgProjectSignalingIfaceProxy. 4113s # */ 4113s # 4113s # struct _OrgProjectSignalingIfaceProxyPrivate 4113s # { 4113s # GData *qdata; 4113s # }; 4113s # 4113s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #else 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #endif 4113s # static void 4113s # org_project_signaling_iface_proxy_finalize (GObject *object) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4113s # g_datalist_clear (&proxy->priv->qdata); 4113s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # const GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4113s # const gchar *sender_name G_GNUC_UNUSED, 4113s # const gchar *signal_name, 4113s # GVariant *parameters) 4113s # { 4113s # _ExtendedGDBusSignalInfo *info; 4113s # GVariantIter iter; 4113s # GVariant *child; 4113s # GValue *paramv; 4113s # gsize num_params; 4113s # gsize n; 4113s # guint signal_id; 4113s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4113s # if (info == NULL) 4113s # return; 4113s # num_params = g_variant_n_children (parameters); 4113s # paramv = g_new0 (GValue, num_params + 1); 4113s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_set_object (¶mv[0], proxy); 4113s # g_variant_iter_init (&iter, parameters); 4113s # n = 1; 4113s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4113s # { 4113s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4113s # if (arg_info->use_gvariant) 4113s # { 4113s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4113s # g_value_set_variant (¶mv[n], child); 4113s # n++; 4113s # } 4113s # else 4113s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4113s # g_variant_unref (child); 4113s # } 4113s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_signal_emitv (paramv, signal_id, 0, NULL); 4113s # for (n = 0; n < num_params + 1; n++) 4113s # g_value_unset (¶mv[n]); 4113s # g_free (paramv); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4113s # GVariant *changed_properties, 4113s # const gchar *const *invalidated_properties) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4113s # guint n; 4113s # const gchar *key; 4113s # GVariantIter *iter; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # g_variant_get (changed_properties, "a{sv}", &iter); 4113s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4113s # g_datalist_remove_data (&proxy->priv->qdata, key); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # g_variant_iter_free (iter); 4113s # for (n = 0; invalidated_properties[n] != NULL; n++) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4113s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4113s # { 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4113s # #else 4113s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4113s # #endif 4113s # 4113s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4113s # { 4113s # GObjectClass *gobject_class; 4113s # GDBusProxyClass *proxy_class; 4113s # 4113s # gobject_class = G_OBJECT_CLASS (klass); 4113s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4113s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4113s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4113s # 4113s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4113s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4113s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4113s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4113s # #endif 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new: 4113s # * @connection: A #GDBusConnection. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4113s # * @user_data: User data to pass to @callback. 4113s # * 4113s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4113s # * 4113s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4113s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_proxy_new ( 4113s # GDBusConnection *connection, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GAsyncReadyCallback callback, 4113s # gpointer user_data) 4113s # { 4113s # 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); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_finish: 4113s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_finish ( 4113s # GAsyncResult *res, 4113s # GError **error) 4113s # { 4113s # GObject *ret; 4113s # GObject *source_object; 4113s # source_object = g_async_result_get_source_object (res); 4113s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4113s # g_object_unref (source_object); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_sync: 4113s # * @connection: A #GDBusConnection. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4113s # * 4113s # * The calling thread is blocked until a reply is received. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_sync ( 4113s # GDBusConnection *connection, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GError **error) 4113s # { 4113s # GInitable *ret; 4113s # 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); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus: 4113s # * @bus_type: A #GBusType. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: A bus name (well-known or unique). 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4113s # * @user_data: User data to pass to @callback. 4113s # * 4113s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4113s # * 4113s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4113s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_proxy_new_for_bus ( 4113s # GBusType bus_type, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GAsyncReadyCallback callback, 4113s # gpointer user_data) 4113s # { 4113s # 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); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4113s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4113s # GAsyncResult *res, 4113s # GError **error) 4113s # { 4113s # GObject *ret; 4113s # GObject *source_object; 4113s # source_object = g_async_result_get_source_object (res); 4113s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4113s # g_object_unref (source_object); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4113s # * @bus_type: A #GBusType. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: A bus name (well-known or unique). 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @error: Return location for error or %NULL 4113s # * 4113s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4113s # * 4113s # * The calling thread is blocked until a reply is received. 4113s # * 4113s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4113s # GBusType bus_type, 4113s # GDBusProxyFlags flags, 4113s # const gchar *name, 4113s # const gchar *object_path, 4113s # GCancellable *cancellable, 4113s # GError **error) 4113s # { 4113s # GInitable *ret; 4113s # 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); 4113s # if (ret != NULL) 4113s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4113s # else 4113s # return NULL; 4113s # } 4113s # 4113s # 4113s # /* ------------------------------------------------------------------------ */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceSkeleton: 4113s # * 4113s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceSkeletonClass: 4113s # * @parent_class: The parent class. 4113s # * 4113s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4113s # */ 4113s # 4113s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4113s # { 4113s # GValue *properties; 4113s # GList *changed_properties; 4113s # GSource *changed_properties_idle_source; 4113s # GMainContext *context; 4113s # GMutex lock; 4113s # }; 4113s # 4113s # static void 4113s # _org_project_signaling_iface_skeleton_handle_method_call ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name, 4113s # const gchar *method_name, 4113s # GVariant *parameters, 4113s # GDBusMethodInvocation *invocation, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # _ExtendedGDBusMethodInfo *info; 4113s # GVariantIter iter; 4113s # GVariant *child; 4113s # GValue *paramv; 4113s # gsize num_params; 4113s # guint num_extra; 4113s # gsize n; 4113s # guint signal_id; 4113s # GValue return_value = G_VALUE_INIT; 4113s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4113s # g_assert (info != NULL); 4113s # num_params = g_variant_n_children (parameters); 4113s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4113s # n = 0; 4113s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_set_object (¶mv[n++], skeleton); 4113s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4113s # g_value_set_object (¶mv[n++], invocation); 4113s # if (info->pass_fdlist) 4113s # { 4113s # #ifdef G_OS_UNIX 4113s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4113s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4113s # #else 4113s # g_assert_not_reached (); 4113s # #endif 4113s # } 4113s # g_variant_iter_init (&iter, parameters); 4113s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4113s # { 4113s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4113s # if (arg_info->use_gvariant) 4113s # { 4113s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4113s # g_value_set_variant (¶mv[n], child); 4113s # n++; 4113s # } 4113s # else 4113s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4113s # g_variant_unref (child); 4113s # } 4113s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4113s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4113s # if (!g_value_get_boolean (&return_value)) 4113s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4113s # g_value_unset (&return_value); 4113s # for (n = 0; n < num_params + num_extra; n++) 4113s # g_value_unset (¶mv[n]); 4113s # g_free (paramv); 4113s # } 4113s # 4113s # static GVariant * 4113s # _org_project_signaling_iface_skeleton_handle_get_property ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name G_GNUC_UNUSED, 4113s # const gchar *property_name, 4113s # GError **error, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # GValue value = G_VALUE_INIT; 4113s # GParamSpec *pspec; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # GVariant *ret; 4113s # ret = NULL; 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4113s # g_assert (info != NULL); 4113s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4113s # if (pspec == NULL) 4113s # { 4113s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4113s # } 4113s # else 4113s # { 4113s # g_value_init (&value, pspec->value_type); 4113s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4113s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4113s # g_value_unset (&value); 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static gboolean 4113s # _org_project_signaling_iface_skeleton_handle_set_property ( 4113s # GDBusConnection *connection G_GNUC_UNUSED, 4113s # const gchar *sender G_GNUC_UNUSED, 4113s # const gchar *object_path G_GNUC_UNUSED, 4113s # const gchar *interface_name G_GNUC_UNUSED, 4113s # const gchar *property_name, 4113s # GVariant *variant, 4113s # GError **error, 4113s # gpointer user_data) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4113s # GValue value = G_VALUE_INIT; 4113s # GParamSpec *pspec; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # gboolean ret; 4113s # ret = FALSE; 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4113s # g_assert (info != NULL); 4113s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4113s # if (pspec == NULL) 4113s # { 4113s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4113s # } 4113s # else 4113s # { 4113s # if (info->use_gvariant) 4113s # g_value_set_variant (&value, variant); 4113s # else 4113s # g_dbus_gvariant_to_gvalue (variant, &value); 4113s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4113s # g_value_unset (&value); 4113s # ret = TRUE; 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4113s # { 4113s # _org_project_signaling_iface_skeleton_handle_method_call, 4113s # _org_project_signaling_iface_skeleton_handle_get_property, 4113s # _org_project_signaling_iface_skeleton_handle_set_property, 4113s # {NULL} 4113s # }; 4113s # 4113s # static GDBusInterfaceInfo * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4113s # { 4113s # return org_project_signaling_iface_interface_info (); 4113s # } 4113s # 4113s # static GDBusInterfaceVTable * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4113s # { 4113s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4113s # } 4113s # 4113s # static GVariant * 4113s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4113s # 4113s # GVariantBuilder builder; 4113s # guint n; 4113s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4113s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4113s # goto out; 4113s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4113s # { 4113s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4113s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4113s # { 4113s # GVariant *value; 4113s # 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); 4113s # if (value != NULL) 4113s # { 4113s # g_variant_take_ref (value); 4113s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4113s # g_variant_unref (value); 4113s # } 4113s # } 4113s # } 4113s # out: 4113s # return g_variant_builder_end (&builder); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # _org_project_signaling_iface_on_signal_simple_signal ( 4113s # OrgProjectSignalingIface *object) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # 4113s # GList *connections, *l; 4113s # GVariant *signal_variant; 4113s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4113s # 4113s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4113s # for (l = connections; l != NULL; l = l->next) 4113s # { 4113s # GDBusConnection *connection = l->data; 4113s # g_dbus_connection_emit_signal (connection, 4113s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4113s # signal_variant, NULL); 4113s # } 4113s # g_variant_unref (signal_variant); 4113s # g_list_free_full (connections, g_object_unref); 4113s # } 4113s # 4113s # static void 4113s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 4113s # OrgProjectSignalingIface *object, 4113s # gint64 arg_arg_x) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # 4113s # GList *connections, *l; 4113s # GVariant *signal_variant; 4113s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4113s # 4113s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 4113s # arg_arg_x)); 4113s # for (l = connections; l != NULL; l = l->next) 4113s # { 4113s # GDBusConnection *connection = l->data; 4113s # g_dbus_connection_emit_signal (connection, 4113s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 4113s # signal_variant, NULL); 4113s # } 4113s # g_variant_unref (signal_variant); 4113s # g_list_free_full (connections, g_object_unref); 4113s # } 4113s # 4113s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4113s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4113s # 4113s # #else 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4113s # 4113s # #endif 4113s # static void 4113s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4113s # { 4113s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4113s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4113s # if (skeleton->priv->changed_properties_idle_source != NULL) 4113s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4113s # g_main_context_unref (skeleton->priv->context); 4113s # g_mutex_clear (&skeleton->priv->lock); 4113s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4113s # { 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4113s # #else 4113s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4113s # #endif 4113s # 4113s # g_mutex_init (&skeleton->priv->lock); 4113s # skeleton->priv->context = g_main_context_ref_thread_default (); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4113s # { 4113s # GObjectClass *gobject_class; 4113s # GDBusInterfaceSkeletonClass *skeleton_class; 4113s # 4113s # gobject_class = G_OBJECT_CLASS (klass); 4113s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4113s # 4113s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4113s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4113s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4113s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4113s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4113s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4113s # #endif 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4113s # { 4113s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4113s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_skeleton_new: 4113s # * 4113s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4113s # * 4113s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4113s # */ 4113s # OrgProjectSignalingIface * 4113s # org_project_signaling_iface_skeleton_new (void) 4113s # { 4113s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4113s # } 4113s # /tmp/tmp74tbisad/tmpe79wlq8z.xml: 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # 4113s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmpe79wlq8z.xml', '--output', '-', '--body'] 4113s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4113s # Output: /* 4113s # * This file is generated by gdbus-codegen, do not modify it. 4113s # * 4113s # * The license of this code is the same as for the D-Bus interface description 4113s # * it was derived from. Note that it links to GLib, so must comply with the 4113s # * LGPL linking clauses. 4113s # */ 4113s # 4113s # #ifdef HAVE_CONFIG_H 4113s # # include "config.h" 4113s # #endif 4113s # 4113s # #include 4113s # #ifdef G_OS_UNIX 4113s # # include 4113s # #endif 4113s # 4113s # #ifdef G_ENABLE_DEBUG 4113s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4113s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4113s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4113s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4113s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4113s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4113s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4113s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4113s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4113s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4113s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4113s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4113s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4113s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4113s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4113s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4113s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4113s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4113s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4113s # #else /* !G_ENABLE_DEBUG */ 4113s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4113s # * Do not access GValues directly in your code. Instead, use the 4113s # * g_value_get_*() functions 4113s # */ 4113s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4113s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4113s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4113s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4113s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4113s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4113s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4113s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4113s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4113s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4113s # #endif /* !G_ENABLE_DEBUG */ 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusArgInfo parent_struct; 4113s # gboolean use_gvariant; 4113s # } _ExtendedGDBusArgInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusMethodInfo parent_struct; 4113s # const gchar *signal_name; 4113s # gboolean pass_fdlist; 4113s # } _ExtendedGDBusMethodInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusSignalInfo parent_struct; 4113s # const gchar *signal_name; 4113s # } _ExtendedGDBusSignalInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusPropertyInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # guint use_gvariant : 1; 4113s # guint emits_changed_signal : 1; 4113s # } _ExtendedGDBusPropertyInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # GDBusInterfaceInfo parent_struct; 4113s # const gchar *hyphen_name; 4113s # } _ExtendedGDBusInterfaceInfo; 4113s # 4113s # typedef struct 4113s # { 4113s # const _ExtendedGDBusPropertyInfo *info; 4113s # guint prop_id; 4113s # GValue orig_value; /* the value before the change */ 4113s # } ChangedProperty; 4113s # 4113s # static void 4113s # _changed_property_free (ChangedProperty *data) 4113s # { 4113s # g_value_unset (&data->orig_value); 4113s # g_free (data); 4113s # } 4113s # 4113s # static gboolean 4113s # _g_strv_equal0 (gchar **a, gchar **b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # guint n; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # if (g_strv_length (a) != g_strv_length (b)) 4113s # goto out; 4113s # for (n = 0; a[n] != NULL; n++) 4113s # if (g_strcmp0 (a[n], b[n]) != 0) 4113s # goto out; 4113s # ret = TRUE; 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # static gboolean 4113s # _g_variant_equal0 (GVariant *a, GVariant *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # if (a == NULL && b == NULL) 4113s # { 4113s # ret = TRUE; 4113s # goto out; 4113s # } 4113s # if (a == NULL || b == NULL) 4113s # goto out; 4113s # ret = g_variant_equal (a, b); 4113s # out: 4113s # return ret; 4113s # } 4113s # 4113s # G_GNUC_UNUSED static gboolean 4113s # _g_value_equal (const GValue *a, const GValue *b) 4113s # { 4113s # gboolean ret = FALSE; 4113s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4113s # switch (G_VALUE_TYPE (a)) 4113s # { 4113s # case G_TYPE_BOOLEAN: 4113s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4113s # break; 4113s # case G_TYPE_UCHAR: 4113s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4113s # break; 4113s # case G_TYPE_INT: 4113s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4113s # break; 4113s # case G_TYPE_UINT: 4113s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4113s # break; 4113s # case G_TYPE_INT64: 4113s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4113s # break; 4113s # case G_TYPE_UINT64: 4113s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4113s # break; 4113s # case G_TYPE_DOUBLE: 4113s # { 4113s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4113s # gdouble da = g_value_get_double (a); 4113s # gdouble db = g_value_get_double (b); 4113s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4113s # } 4113s # break; 4113s # case G_TYPE_STRING: 4113s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4113s # break; 4113s # case G_TYPE_VARIANT: 4113s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4113s # break; 4113s # default: 4113s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4113s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4113s # else 4113s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4113s # break; 4113s # } 4113s # return ret; 4113s # } 4113s # 4113s # static void 4113s # _g_dbus_codegen_marshal_VOID__UINT64 ( 4113s # GClosure *closure, 4113s # GValue *return_value G_GNUC_UNUSED, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint G_GNUC_UNUSED, 4113s # void *marshal_data) 4113s # { 4113s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 4113s # (void *data1, 4113s # guint64 arg_arg_t, 4113s # void *data2); 4113s # _GDbusCodegenMarshalVoid_Uint64Func callback; 4113s # GCClosure *cc = (GCClosure*) closure; 4113s # void *data1, *data2; 4113s # 4113s # g_return_if_fail (n_param_values == 2); 4113s # 4113s # if (G_CCLOSURE_SWAP_DATA (closure)) 4113s # { 4113s # data1 = closure->data; 4113s # data2 = g_value_peek_pointer (param_values + 0); 4113s # } 4113s # else 4113s # { 4113s # data1 = g_value_peek_pointer (param_values + 0); 4113s # data2 = closure->data; 4113s # } 4113s # 4113s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 4113s # (marshal_data ? marshal_data : cc->callback); 4113s # 4113s # callback (data1, 4113s # g_marshal_value_peek_uint64 (param_values + 1), 4113s # data2); 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ 4113s # * Code for interface org.project.SignalingIface 4113s # * ------------------------------------------------------------------------ 4113s # */ 4113s # 4113s # /** 4113s # * SECTION:OrgProjectSignalingIface 4113s # * @title: OrgProjectSignalingIface 4113s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4113s # * 4113s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4113s # */ 4113s # 4113s # enum 4113s # { 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4113s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 4113s # }; 4113s # 4113s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4113s # 4113s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SimpleSignal", 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "simple-signal" 4113s # }; 4113s # 4113s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "arg_t", 4113s # (gchar *) "t", 4113s # NULL 4113s # }, 4113s # FALSE 4113s # }; 4113s # 4113s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "SingleArgSignalT", 4113s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 4113s # NULL 4113s # }, 4113s # "single-arg-signal-t" 4113s # }; 4113s # 4113s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4113s # { 4113s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4113s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 4113s # NULL 4113s # }; 4113s # 4113s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4113s # { 4113s # { 4113s # -1, 4113s # (gchar *) "org.project.SignalingIface", 4113s # NULL, 4113s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4113s # NULL, 4113s # NULL 4113s # }, 4113s # "org-project-signaling-iface", 4113s # }; 4113s # 4113s # 4113s # /** 4113s # * org_project_signaling_iface_interface_info: 4113s # * 4113s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4113s # * 4113s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4113s # */ 4113s # GDBusInterfaceInfo * 4113s # org_project_signaling_iface_interface_info (void) 4113s # { 4113s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_override_properties: 4113s # * @klass: The class structure for a #GObject derived class. 4113s # * @property_id_begin: The property id to assign to the first overridden property. 4113s # * 4113s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4113s # * The properties are overridden in the order they are defined. 4113s # * 4113s # * Returns: The last property id. 4113s # */ 4113s # guint 4113s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4113s # { 4113s # return property_id_begin - 1; 4113s # } 4113s # 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_simple_signal ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # g_cclosure_marshal_VOID__VOID (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # inline static void 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 4113s # GClosure *closure, 4113s # GValue *return_value, 4113s # unsigned int n_param_values, 4113s # const GValue *param_values, 4113s # void *invocation_hint, 4113s # void *marshal_data) 4113s # { 4113s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 4113s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4113s # } 4113s # 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface: 4113s # * 4113s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceIface: 4113s # * @parent_iface: The parent interface. 4113s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4113s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 4113s # * 4113s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4113s # */ 4113s # 4113s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4113s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4113s # 4113s # static void 4113s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4113s # { 4113s # /* GObject signals for received D-Bus signals: */ 4113s # /** 4113s # * OrgProjectSignalingIface::simple-signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4113s # g_signal_new ("simple-signal", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_simple_signal, 4113s # G_TYPE_NONE, 4113s # 0); 4113s # 4113s # /** 4113s # * OrgProjectSignalingIface::single-arg-signal-t: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_t: Argument. 4113s # * 4113s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 4113s # * 4113s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4113s # */ 4113s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 4113s # g_signal_new ("single-arg-signal-t", 4113s # G_TYPE_FROM_INTERFACE (iface), 4113s # G_SIGNAL_RUN_LAST, 4113s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 4113s # NULL, 4113s # NULL, 4113s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 4113s # G_TYPE_NONE, 4113s # 1, G_TYPE_UINT64); 4113s # 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_simple_signal: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * 4113s # * Emits the "SimpleSignal" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_simple_signal ( 4113s # OrgProjectSignalingIface *object) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_emit_single_arg_signal_t: 4113s # * @object: A #OrgProjectSignalingIface. 4113s # * @arg_arg_t: Argument to pass with the signal. 4113s # * 4113s # * Emits the "SingleArgSignalT" D-Bus signal. 4113s # */ 4113s # void 4113s # org_project_signaling_iface_emit_single_arg_signal_t ( 4113s # OrgProjectSignalingIface *object, 4113s # guint64 arg_arg_t) 4113s # { 4113s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 4113s # } 4113s # 4113s # /* ------------------------------------------------------------------------ */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxy: 4113s # * 4113s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4113s # */ 4113s # 4113s # /** 4113s # * OrgProjectSignalingIfaceProxyClass: 4113s # * @parent_class: The parent class. 4113s # * 4113s # * Class structure for #OrgProjectSignalingIfaceProxy. 4113s # */ 4113s # 4113s # struct _OrgProjectSignalingIfaceProxyPrivate 4113s # { 4113s # GData *qdata; 4113s # }; 4113s # 4113s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #else 4113s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4113s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4113s # 4113s # #endif 4113s # static void 4113s # org_project_signaling_iface_proxy_finalize (GObject *object) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4113s # g_datalist_clear (&proxy->priv->qdata); 4113s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4113s # guint prop_id G_GNUC_UNUSED, 4113s # const GValue *value G_GNUC_UNUSED, 4113s # GParamSpec *pspec G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4113s # const gchar *sender_name G_GNUC_UNUSED, 4113s # const gchar *signal_name, 4113s # GVariant *parameters) 4113s # { 4113s # _ExtendedGDBusSignalInfo *info; 4113s # GVariantIter iter; 4113s # GVariant *child; 4113s # GValue *paramv; 4113s # gsize num_params; 4113s # gsize n; 4113s # guint signal_id; 4113s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4113s # if (info == NULL) 4113s # return; 4113s # num_params = g_variant_n_children (parameters); 4113s # paramv = g_new0 (GValue, num_params + 1); 4113s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_value_set_object (¶mv[0], proxy); 4113s # g_variant_iter_init (&iter, parameters); 4113s # n = 1; 4113s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4113s # { 4113s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4113s # if (arg_info->use_gvariant) 4113s # { 4113s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4113s # g_value_set_variant (¶mv[n], child); 4113s # n++; 4113s # } 4113s # else 4113s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4113s # g_variant_unref (child); 4113s # } 4113s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4113s # g_signal_emitv (paramv, signal_id, 0, NULL); 4113s # for (n = 0; n < num_params + 1; n++) 4113s # g_value_unset (¶mv[n]); 4113s # g_free (paramv); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4113s # GVariant *changed_properties, 4113s # const gchar *const *invalidated_properties) 4113s # { 4113s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4113s # guint n; 4113s # const gchar *key; 4113s # GVariantIter *iter; 4113s # _ExtendedGDBusPropertyInfo *info; 4113s # g_variant_get (changed_properties, "a{sv}", &iter); 4113s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4113s # g_datalist_remove_data (&proxy->priv->qdata, key); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # g_variant_iter_free (iter); 4113s # for (n = 0; invalidated_properties[n] != NULL; n++) 4113s # { 4113s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4113s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4113s # if (info != NULL) 4113s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4113s # } 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4113s # { 4113s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4113s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4113s # #else 4113s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4113s # #endif 4113s # 4113s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4113s # { 4113s # GObjectClass *gobject_class; 4113s # GDBusProxyClass *proxy_class; 4113s # 4113s # gobject_class = G_OBJECT_CLASS (klass); 4113s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4113s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4113s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4113s # 4113s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4113s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4113s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4113s # 4113s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4113s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4113s # #endif 4113s # } 4113s # 4113s # static void 4113s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4113s # { 4113s # } 4113s # 4113s # /** 4113s # * org_project_signaling_iface_proxy_new: 4113s # * @connection: A #GDBusConnection. 4113s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4113s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4113s # * @object_path: An object path. 4113s # * @cancellable: (nullable): A #GCancellable or %NULL. 4113s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4113s # * @user_data: User data to pass to @callback. 4113s # * 4114s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_sync: 4114s # * @connection: A #GDBusConnection. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_sync ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4114s # * @user_data: User data to pass to @callback. 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new_for_bus ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /* ------------------------------------------------------------------------ */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeleton: 4114s # * 4114s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeletonClass: 4114s # * @parent_class: The parent class. 4114s # * 4114s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4114s # */ 4114s # 4114s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4114s # { 4114s # GValue *properties; 4114s # GList *changed_properties; 4114s # GSource *changed_properties_idle_source; 4114s # GMainContext *context; 4114s # GMutex lock; 4114s # }; 4114s # 4114s # static void 4114s # _org_project_signaling_iface_skeleton_handle_method_call ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name, 4114s # const gchar *method_name, 4114s # GVariant *parameters, 4114s # GDBusMethodInvocation *invocation, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # _ExtendedGDBusMethodInfo *info; 4114s # GVariantIter iter; 4114s # GVariant *child; 4114s # GValue *paramv; 4114s # gsize num_params; 4114s # guint num_extra; 4114s # gsize n; 4114s # guint signal_id; 4114s # GValue return_value = G_VALUE_INIT; 4114s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4114s # g_assert (info != NULL); 4114s # num_params = g_variant_n_children (parameters); 4114s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4114s # n = 0; 4114s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_set_object (¶mv[n++], skeleton); 4114s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4114s # g_value_set_object (¶mv[n++], invocation); 4114s # if (info->pass_fdlist) 4114s # { 4114s # #ifdef G_OS_UNIX 4114s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4114s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4114s # #else 4114s # g_assert_not_reached (); 4114s # #endif 4114s # } 4114s # g_variant_iter_init (&iter, parameters); 4114s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4114s # { 4114s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4114s # if (arg_info->use_gvariant) 4114s # { 4114s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4114s # g_value_set_variant (¶mv[n], child); 4114s # n++; 4114s # } 4114s # else 4114s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4114s # g_variant_unref (child); 4114s # } 4114s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4114s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4114s # if (!g_value_get_boolean (&return_value)) 4114s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4114s # g_value_unset (&return_value); 4114s # for (n = 0; n < num_params + num_extra; n++) 4114s # g_value_unset (¶mv[n]); 4114s # g_free (paramv); 4114s # } 4114s # 4114s # static GVariant * 4114s # _org_project_signaling_iface_skeleton_handle_get_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # GVariant *ret; 4114s # ret = NULL; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # g_value_init (&value, pspec->value_type); 4114s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4114s # g_value_unset (&value); 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _org_project_signaling_iface_skeleton_handle_set_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GVariant *variant, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # gboolean ret; 4114s # ret = FALSE; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # if (info->use_gvariant) 4114s # g_value_set_variant (&value, variant); 4114s # else 4114s # g_dbus_gvariant_to_gvalue (variant, &value); 4114s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # g_value_unset (&value); 4114s # ret = TRUE; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4114s # { 4114s # _org_project_signaling_iface_skeleton_handle_method_call, 4114s # _org_project_signaling_iface_skeleton_handle_get_property, 4114s # _org_project_signaling_iface_skeleton_handle_set_property, 4114s # {NULL} 4114s # }; 4114s # 4114s # static GDBusInterfaceInfo * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return org_project_signaling_iface_interface_info (); 4114s # } 4114s # 4114s # static GDBusInterfaceVTable * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4114s # } 4114s # 4114s # static GVariant * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4114s # 4114s # GVariantBuilder builder; 4114s # guint n; 4114s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4114s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4114s # goto out; 4114s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4114s # { 4114s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4114s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4114s # { 4114s # GVariant *value; 4114s # 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); 4114s # if (value != NULL) 4114s # { 4114s # g_variant_take_ref (value); 4114s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4114s # g_variant_unref (value); 4114s # } 4114s # } 4114s # } 4114s # out: 4114s # return g_variant_builder_end (&builder); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_simple_signal ( 4114s # OrgProjectSignalingIface *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 4114s # OrgProjectSignalingIface *object, 4114s # guint64 arg_arg_t) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 4114s # arg_arg_t)); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #else 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #endif 4114s # static void 4114s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4114s # if (skeleton->priv->changed_properties_idle_source != NULL) 4114s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4114s # g_main_context_unref (skeleton->priv->context); 4114s # g_mutex_clear (&skeleton->priv->lock); 4114s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4114s # { 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4114s # #else 4114s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4114s # #endif 4114s # 4114s # g_mutex_init (&skeleton->priv->lock); 4114s # skeleton->priv->context = g_main_context_ref_thread_default (); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4114s # { 4114s # GObjectClass *gobject_class; 4114s # GDBusInterfaceSkeletonClass *skeleton_class; 4114s # 4114s # gobject_class = G_OBJECT_CLASS (klass); 4114s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4114s # 4114s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4114s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4114s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4114s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4114s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4114s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4114s # #endif 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4114s # { 4114s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4114s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_skeleton_new: 4114s # * 4114s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_skeleton_new (void) 4114s # { 4114s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4114s # } 4114s # /tmp/tmp74tbisad/tmp860js5gc.xml: 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmp860js5gc.xml', '--output', '-', '--body'] 4114s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4114s # Output: /* 4114s # * This file is generated by gdbus-codegen, do not modify it. 4114s # * 4114s # * The license of this code is the same as for the D-Bus interface description 4114s # * it was derived from. Note that it links to GLib, so must comply with the 4114s # * LGPL linking clauses. 4114s # */ 4114s # 4114s # #ifdef HAVE_CONFIG_H 4114s # # include "config.h" 4114s # #endif 4114s # 4114s # #include 4114s # #ifdef G_OS_UNIX 4114s # # include 4114s # #endif 4114s # 4114s # #ifdef G_ENABLE_DEBUG 4114s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4114s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4114s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4114s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4114s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4114s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4114s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4114s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4114s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4114s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4114s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4114s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4114s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4114s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4114s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4114s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4114s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4114s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4114s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4114s # #else /* !G_ENABLE_DEBUG */ 4114s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4114s # * Do not access GValues directly in your code. Instead, use the 4114s # * g_value_get_*() functions 4114s # */ 4114s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4114s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4114s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4114s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4114s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4114s # #endif /* !G_ENABLE_DEBUG */ 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusArgInfo parent_struct; 4114s # gboolean use_gvariant; 4114s # } _ExtendedGDBusArgInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusMethodInfo parent_struct; 4114s # const gchar *signal_name; 4114s # gboolean pass_fdlist; 4114s # } _ExtendedGDBusMethodInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusSignalInfo parent_struct; 4114s # const gchar *signal_name; 4114s # } _ExtendedGDBusSignalInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusPropertyInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # guint use_gvariant : 1; 4114s # guint emits_changed_signal : 1; 4114s # } _ExtendedGDBusPropertyInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusInterfaceInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # } _ExtendedGDBusInterfaceInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # const _ExtendedGDBusPropertyInfo *info; 4114s # guint prop_id; 4114s # GValue orig_value; /* the value before the change */ 4114s # } ChangedProperty; 4114s # 4114s # static void 4114s # _changed_property_free (ChangedProperty *data) 4114s # { 4114s # g_value_unset (&data->orig_value); 4114s # g_free (data); 4114s # } 4114s # 4114s # static gboolean 4114s # _g_strv_equal0 (gchar **a, gchar **b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # guint n; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # if (g_strv_length (a) != g_strv_length (b)) 4114s # goto out; 4114s # for (n = 0; a[n] != NULL; n++) 4114s # if (g_strcmp0 (a[n], b[n]) != 0) 4114s # goto out; 4114s # ret = TRUE; 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _g_variant_equal0 (GVariant *a, GVariant *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # ret = g_variant_equal (a, b); 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # G_GNUC_UNUSED static gboolean 4114s # _g_value_equal (const GValue *a, const GValue *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4114s # switch (G_VALUE_TYPE (a)) 4114s # { 4114s # case G_TYPE_BOOLEAN: 4114s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4114s # break; 4114s # case G_TYPE_UCHAR: 4114s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4114s # break; 4114s # case G_TYPE_INT: 4114s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4114s # break; 4114s # case G_TYPE_UINT: 4114s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4114s # break; 4114s # case G_TYPE_INT64: 4114s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4114s # break; 4114s # case G_TYPE_UINT64: 4114s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4114s # break; 4114s # case G_TYPE_DOUBLE: 4114s # { 4114s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4114s # gdouble da = g_value_get_double (a); 4114s # gdouble db = g_value_get_double (b); 4114s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4114s # } 4114s # break; 4114s # case G_TYPE_STRING: 4114s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4114s # break; 4114s # case G_TYPE_VARIANT: 4114s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4114s # break; 4114s # default: 4114s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4114s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4114s # else 4114s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4114s # break; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # /* ------------------------------------------------------------------------ 4114s # * Code for interface org.project.SignalingIface 4114s # * ------------------------------------------------------------------------ 4114s # */ 4114s # 4114s # /** 4114s # * SECTION:OrgProjectSignalingIface 4114s # * @title: OrgProjectSignalingIface 4114s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4114s # * 4114s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4114s # */ 4114s # 4114s # enum 4114s # { 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4114s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 4114s # }; 4114s # 4114s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4114s # 4114s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SimpleSignal", 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "simple-signal" 4114s # }; 4114s # 4114s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "arg_d", 4114s # (gchar *) "d", 4114s # NULL 4114s # }, 4114s # FALSE 4114s # }; 4114s # 4114s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SingleArgSignalD", 4114s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 4114s # NULL 4114s # }, 4114s # "single-arg-signal-d" 4114s # }; 4114s # 4114s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "org.project.SignalingIface", 4114s # NULL, 4114s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "org-project-signaling-iface", 4114s # }; 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_interface_info: 4114s # * 4114s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4114s # * 4114s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4114s # */ 4114s # GDBusInterfaceInfo * 4114s # org_project_signaling_iface_interface_info (void) 4114s # { 4114s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_override_properties: 4114s # * @klass: The class structure for a #GObject derived class. 4114s # * @property_id_begin: The property id to assign to the first overridden property. 4114s # * 4114s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4114s # * The properties are overridden in the order they are defined. 4114s # * 4114s # * Returns: The last property id. 4114s # */ 4114s # guint 4114s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4114s # { 4114s # return property_id_begin - 1; 4114s # } 4114s # 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_simple_signal ( 4114s # GClosure *closure, 4114s # GValue *return_value, 4114s # unsigned int n_param_values, 4114s # const GValue *param_values, 4114s # void *invocation_hint, 4114s # void *marshal_data) 4114s # { 4114s # g_cclosure_marshal_VOID__VOID (closure, 4114s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4114s # } 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 4114s # GClosure *closure, 4114s # GValue *return_value, 4114s # unsigned int n_param_values, 4114s # const GValue *param_values, 4114s # void *invocation_hint, 4114s # void *marshal_data) 4114s # { 4114s # g_cclosure_marshal_VOID__DOUBLE (closure, 4114s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4114s # } 4114s # 4114s # 4114s # /** 4114s # * OrgProjectSignalingIface: 4114s # * 4114s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceIface: 4114s # * @parent_iface: The parent interface. 4114s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4114s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 4114s # * 4114s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4114s # */ 4114s # 4114s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4114s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4114s # 4114s # static void 4114s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4114s # { 4114s # /* GObject signals for received D-Bus signals: */ 4114s # /** 4114s # * OrgProjectSignalingIface::simple-signal: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * 4114s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4114s # * 4114s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4114s # */ 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4114s # g_signal_new ("simple-signal", 4114s # G_TYPE_FROM_INTERFACE (iface), 4114s # G_SIGNAL_RUN_LAST, 4114s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4114s # NULL, 4114s # NULL, 4114s # org_project_signaling_iface_signal_marshal_simple_signal, 4114s # G_TYPE_NONE, 4114s # 0); 4114s # 4114s # /** 4114s # * OrgProjectSignalingIface::single-arg-signal-d: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * @arg_arg_d: Argument. 4114s # * 4114s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 4114s # * 4114s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4114s # */ 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 4114s # g_signal_new ("single-arg-signal-d", 4114s # G_TYPE_FROM_INTERFACE (iface), 4114s # G_SIGNAL_RUN_LAST, 4114s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 4114s # NULL, 4114s # NULL, 4114s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 4114s # G_TYPE_NONE, 4114s # 1, G_TYPE_DOUBLE); 4114s # 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_emit_simple_signal: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * 4114s # * Emits the "SimpleSignal" D-Bus signal. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_emit_simple_signal ( 4114s # OrgProjectSignalingIface *object) 4114s # { 4114s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_emit_single_arg_signal_d: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * @arg_arg_d: Argument to pass with the signal. 4114s # * 4114s # * Emits the "SingleArgSignalD" D-Bus signal. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_emit_single_arg_signal_d ( 4114s # OrgProjectSignalingIface *object, 4114s # gdouble arg_arg_d) 4114s # { 4114s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 4114s # } 4114s # 4114s # /* ------------------------------------------------------------------------ */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceProxy: 4114s # * 4114s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceProxyClass: 4114s # * @parent_class: The parent class. 4114s # * 4114s # * Class structure for #OrgProjectSignalingIfaceProxy. 4114s # */ 4114s # 4114s # struct _OrgProjectSignalingIfaceProxyPrivate 4114s # { 4114s # GData *qdata; 4114s # }; 4114s # 4114s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4114s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4114s # 4114s # #else 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4114s # 4114s # #endif 4114s # static void 4114s # org_project_signaling_iface_proxy_finalize (GObject *object) 4114s # { 4114s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4114s # g_datalist_clear (&proxy->priv->qdata); 4114s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4114s # guint prop_id G_GNUC_UNUSED, 4114s # GValue *value G_GNUC_UNUSED, 4114s # GParamSpec *pspec G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4114s # guint prop_id G_GNUC_UNUSED, 4114s # const GValue *value G_GNUC_UNUSED, 4114s # GParamSpec *pspec G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4114s # const gchar *sender_name G_GNUC_UNUSED, 4114s # const gchar *signal_name, 4114s # GVariant *parameters) 4114s # { 4114s # _ExtendedGDBusSignalInfo *info; 4114s # GVariantIter iter; 4114s # GVariant *child; 4114s # GValue *paramv; 4114s # gsize num_params; 4114s # gsize n; 4114s # guint signal_id; 4114s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4114s # if (info == NULL) 4114s # return; 4114s # num_params = g_variant_n_children (parameters); 4114s # paramv = g_new0 (GValue, num_params + 1); 4114s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_set_object (¶mv[0], proxy); 4114s # g_variant_iter_init (&iter, parameters); 4114s # n = 1; 4114s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4114s # { 4114s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4114s # if (arg_info->use_gvariant) 4114s # { 4114s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4114s # g_value_set_variant (¶mv[n], child); 4114s # n++; 4114s # } 4114s # else 4114s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4114s # g_variant_unref (child); 4114s # } 4114s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_signal_emitv (paramv, signal_id, 0, NULL); 4114s # for (n = 0; n < num_params + 1; n++) 4114s # g_value_unset (¶mv[n]); 4114s # g_free (paramv); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4114s # GVariant *changed_properties, 4114s # const gchar *const *invalidated_properties) 4114s # { 4114s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4114s # guint n; 4114s # const gchar *key; 4114s # GVariantIter *iter; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # g_variant_get (changed_properties, "a{sv}", &iter); 4114s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4114s # { 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4114s # g_datalist_remove_data (&proxy->priv->qdata, key); 4114s # if (info != NULL) 4114s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4114s # } 4114s # g_variant_iter_free (iter); 4114s # for (n = 0; invalidated_properties[n] != NULL; n++) 4114s # { 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4114s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4114s # if (info != NULL) 4114s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4114s # } 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4114s # { 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4114s # #else 4114s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4114s # #endif 4114s # 4114s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4114s # { 4114s # GObjectClass *gobject_class; 4114s # GDBusProxyClass *proxy_class; 4114s # 4114s # gobject_class = G_OBJECT_CLASS (klass); 4114s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4114s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4114s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4114s # 4114s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4114s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4114s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4114s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4114s # #endif 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new: 4114s # * @connection: A #GDBusConnection. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4114s # * @user_data: User data to pass to @callback. 4114s # * 4114s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_sync: 4114s # * @connection: A #GDBusConnection. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_sync ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4114s # * @user_data: User data to pass to @callback. 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new_for_bus ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /* ------------------------------------------------------------------------ */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeleton: 4114s # * 4114s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeletonClass: 4114s # * @parent_class: The parent class. 4114s # * 4114s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4114s # */ 4114s # 4114s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4114s # { 4114s # GValue *properties; 4114s # GList *changed_properties; 4114s # GSource *changed_properties_idle_source; 4114s # GMainContext *context; 4114s # GMutex lock; 4114s # }; 4114s # 4114s # static void 4114s # _org_project_signaling_iface_skeleton_handle_method_call ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name, 4114s # const gchar *method_name, 4114s # GVariant *parameters, 4114s # GDBusMethodInvocation *invocation, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # _ExtendedGDBusMethodInfo *info; 4114s # GVariantIter iter; 4114s # GVariant *child; 4114s # GValue *paramv; 4114s # gsize num_params; 4114s # guint num_extra; 4114s # gsize n; 4114s # guint signal_id; 4114s # GValue return_value = G_VALUE_INIT; 4114s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4114s # g_assert (info != NULL); 4114s # num_params = g_variant_n_children (parameters); 4114s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4114s # n = 0; 4114s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_set_object (¶mv[n++], skeleton); 4114s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4114s # g_value_set_object (¶mv[n++], invocation); 4114s # if (info->pass_fdlist) 4114s # { 4114s # #ifdef G_OS_UNIX 4114s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4114s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4114s # #else 4114s # g_assert_not_reached (); 4114s # #endif 4114s # } 4114s # g_variant_iter_init (&iter, parameters); 4114s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4114s # { 4114s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4114s # if (arg_info->use_gvariant) 4114s # { 4114s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4114s # g_value_set_variant (¶mv[n], child); 4114s # n++; 4114s # } 4114s # else 4114s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4114s # g_variant_unref (child); 4114s # } 4114s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4114s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4114s # if (!g_value_get_boolean (&return_value)) 4114s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4114s # g_value_unset (&return_value); 4114s # for (n = 0; n < num_params + num_extra; n++) 4114s # g_value_unset (¶mv[n]); 4114s # g_free (paramv); 4114s # } 4114s # 4114s # static GVariant * 4114s # _org_project_signaling_iface_skeleton_handle_get_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # GVariant *ret; 4114s # ret = NULL; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # g_value_init (&value, pspec->value_type); 4114s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4114s # g_value_unset (&value); 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _org_project_signaling_iface_skeleton_handle_set_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GVariant *variant, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # gboolean ret; 4114s # ret = FALSE; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # if (info->use_gvariant) 4114s # g_value_set_variant (&value, variant); 4114s # else 4114s # g_dbus_gvariant_to_gvalue (variant, &value); 4114s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # g_value_unset (&value); 4114s # ret = TRUE; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4114s # { 4114s # _org_project_signaling_iface_skeleton_handle_method_call, 4114s # _org_project_signaling_iface_skeleton_handle_get_property, 4114s # _org_project_signaling_iface_skeleton_handle_set_property, 4114s # {NULL} 4114s # }; 4114s # 4114s # static GDBusInterfaceInfo * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return org_project_signaling_iface_interface_info (); 4114s # } 4114s # 4114s # static GDBusInterfaceVTable * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4114s # } 4114s # 4114s # static GVariant * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4114s # 4114s # GVariantBuilder builder; 4114s # guint n; 4114s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4114s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4114s # goto out; 4114s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4114s # { 4114s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4114s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4114s # { 4114s # GVariant *value; 4114s # 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); 4114s # if (value != NULL) 4114s # { 4114s # g_variant_take_ref (value); 4114s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4114s # g_variant_unref (value); 4114s # } 4114s # } 4114s # } 4114s # out: 4114s # return g_variant_builder_end (&builder); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_simple_signal ( 4114s # OrgProjectSignalingIface *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 4114s # OrgProjectSignalingIface *object, 4114s # gdouble arg_arg_d) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 4114s # arg_arg_d)); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #else 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #endif 4114s # static void 4114s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4114s # if (skeleton->priv->changed_properties_idle_source != NULL) 4114s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4114s # g_main_context_unref (skeleton->priv->context); 4114s # g_mutex_clear (&skeleton->priv->lock); 4114s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4114s # { 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4114s # #else 4114s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4114s # #endif 4114s # 4114s # g_mutex_init (&skeleton->priv->lock); 4114s # skeleton->priv->context = g_main_context_ref_thread_default (); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4114s # { 4114s # GObjectClass *gobject_class; 4114s # GDBusInterfaceSkeletonClass *skeleton_class; 4114s # 4114s # gobject_class = G_OBJECT_CLASS (klass); 4114s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4114s # 4114s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4114s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4114s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4114s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4114s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4114s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4114s # #endif 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4114s # { 4114s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4114s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_skeleton_new: 4114s # * 4114s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_skeleton_new (void) 4114s # { 4114s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4114s # } 4114s # /tmp/tmp74tbisad/tmpozl_d4ep.xml: 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmpozl_d4ep.xml', '--output', '-', '--body'] 4114s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4114s # Output: /* 4114s # * This file is generated by gdbus-codegen, do not modify it. 4114s # * 4114s # * The license of this code is the same as for the D-Bus interface description 4114s # * it was derived from. Note that it links to GLib, so must comply with the 4114s # * LGPL linking clauses. 4114s # */ 4114s # 4114s # #ifdef HAVE_CONFIG_H 4114s # # include "config.h" 4114s # #endif 4114s # 4114s # #include 4114s # #ifdef G_OS_UNIX 4114s # # include 4114s # #endif 4114s # 4114s # #ifdef G_ENABLE_DEBUG 4114s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4114s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4114s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4114s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4114s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4114s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4114s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4114s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4114s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4114s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4114s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4114s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4114s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4114s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4114s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4114s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4114s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4114s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4114s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4114s # #else /* !G_ENABLE_DEBUG */ 4114s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4114s # * Do not access GValues directly in your code. Instead, use the 4114s # * g_value_get_*() functions 4114s # */ 4114s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4114s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4114s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4114s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4114s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4114s # #endif /* !G_ENABLE_DEBUG */ 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusArgInfo parent_struct; 4114s # gboolean use_gvariant; 4114s # } _ExtendedGDBusArgInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusMethodInfo parent_struct; 4114s # const gchar *signal_name; 4114s # gboolean pass_fdlist; 4114s # } _ExtendedGDBusMethodInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusSignalInfo parent_struct; 4114s # const gchar *signal_name; 4114s # } _ExtendedGDBusSignalInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusPropertyInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # guint use_gvariant : 1; 4114s # guint emits_changed_signal : 1; 4114s # } _ExtendedGDBusPropertyInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusInterfaceInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # } _ExtendedGDBusInterfaceInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # const _ExtendedGDBusPropertyInfo *info; 4114s # guint prop_id; 4114s # GValue orig_value; /* the value before the change */ 4114s # } ChangedProperty; 4114s # 4114s # static void 4114s # _changed_property_free (ChangedProperty *data) 4114s # { 4114s # g_value_unset (&data->orig_value); 4114s # g_free (data); 4114s # } 4114s # 4114s # static gboolean 4114s # _g_strv_equal0 (gchar **a, gchar **b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # guint n; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # if (g_strv_length (a) != g_strv_length (b)) 4114s # goto out; 4114s # for (n = 0; a[n] != NULL; n++) 4114s # if (g_strcmp0 (a[n], b[n]) != 0) 4114s # goto out; 4114s # ret = TRUE; 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _g_variant_equal0 (GVariant *a, GVariant *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # ret = g_variant_equal (a, b); 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # G_GNUC_UNUSED static gboolean 4114s # _g_value_equal (const GValue *a, const GValue *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4114s # switch (G_VALUE_TYPE (a)) 4114s # { 4114s # case G_TYPE_BOOLEAN: 4114s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4114s # break; 4114s # case G_TYPE_UCHAR: 4114s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4114s # break; 4114s # case G_TYPE_INT: 4114s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4114s # break; 4114s # case G_TYPE_UINT: 4114s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4114s # break; 4114s # case G_TYPE_INT64: 4114s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4114s # break; 4114s # case G_TYPE_UINT64: 4114s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4114s # break; 4114s # case G_TYPE_DOUBLE: 4114s # { 4114s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4114s # gdouble da = g_value_get_double (a); 4114s # gdouble db = g_value_get_double (b); 4114s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4114s # } 4114s # break; 4114s # case G_TYPE_STRING: 4114s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4114s # break; 4114s # case G_TYPE_VARIANT: 4114s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4114s # break; 4114s # default: 4114s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4114s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4114s # else 4114s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4114s # break; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # /* ------------------------------------------------------------------------ 4114s # * Code for interface org.project.SignalingIface 4114s # * ------------------------------------------------------------------------ 4114s # */ 4114s # 4114s # /** 4114s # * SECTION:OrgProjectSignalingIface 4114s # * @title: OrgProjectSignalingIface 4114s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4114s # * 4114s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4114s # */ 4114s # 4114s # enum 4114s # { 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4114s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 4114s # }; 4114s # 4114s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4114s # 4114s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SimpleSignal", 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "simple-signal" 4114s # }; 4114s # 4114s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "arg_s", 4114s # (gchar *) "s", 4114s # NULL 4114s # }, 4114s # FALSE 4114s # }; 4114s # 4114s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SingleArgSignalS", 4114s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 4114s # NULL 4114s # }, 4114s # "single-arg-signal-s" 4114s # }; 4114s # 4114s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "org.project.SignalingIface", 4114s # NULL, 4114s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "org-project-signaling-iface", 4114s # }; 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_interface_info: 4114s # * 4114s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4114s # * 4114s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4114s # */ 4114s # GDBusInterfaceInfo * 4114s # org_project_signaling_iface_interface_info (void) 4114s # { 4114s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_override_properties: 4114s # * @klass: The class structure for a #GObject derived class. 4114s # * @property_id_begin: The property id to assign to the first overridden property. 4114s # * 4114s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4114s # * The properties are overridden in the order they are defined. 4114s # * 4114s # * Returns: The last property id. 4114s # */ 4114s # guint 4114s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4114s # { 4114s # return property_id_begin - 1; 4114s # } 4114s # 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_simple_signal ( 4114s # GClosure *closure, 4114s # GValue *return_value, 4114s # unsigned int n_param_values, 4114s # const GValue *param_values, 4114s # void *invocation_hint, 4114s # void *marshal_data) 4114s # { 4114s # g_cclosure_marshal_VOID__VOID (closure, 4114s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4114s # } 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 4114s # GClosure *closure, 4114s # GValue *return_value, 4114s # unsigned int n_param_values, 4114s # const GValue *param_values, 4114s # void *invocation_hint, 4114s # void *marshal_data) 4114s # { 4114s # g_cclosure_marshal_VOID__STRING (closure, 4114s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4114s # } 4114s # 4114s # 4114s # /** 4114s # * OrgProjectSignalingIface: 4114s # * 4114s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceIface: 4114s # * @parent_iface: The parent interface. 4114s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4114s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 4114s # * 4114s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4114s # */ 4114s # 4114s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4114s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4114s # 4114s # static void 4114s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4114s # { 4114s # /* GObject signals for received D-Bus signals: */ 4114s # /** 4114s # * OrgProjectSignalingIface::simple-signal: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * 4114s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4114s # * 4114s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4114s # */ 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4114s # g_signal_new ("simple-signal", 4114s # G_TYPE_FROM_INTERFACE (iface), 4114s # G_SIGNAL_RUN_LAST, 4114s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4114s # NULL, 4114s # NULL, 4114s # org_project_signaling_iface_signal_marshal_simple_signal, 4114s # G_TYPE_NONE, 4114s # 0); 4114s # 4114s # /** 4114s # * OrgProjectSignalingIface::single-arg-signal-s: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * @arg_arg_s: Argument. 4114s # * 4114s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 4114s # * 4114s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4114s # */ 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 4114s # g_signal_new ("single-arg-signal-s", 4114s # G_TYPE_FROM_INTERFACE (iface), 4114s # G_SIGNAL_RUN_LAST, 4114s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 4114s # NULL, 4114s # NULL, 4114s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 4114s # G_TYPE_NONE, 4114s # 1, G_TYPE_STRING); 4114s # 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_emit_simple_signal: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * 4114s # * Emits the "SimpleSignal" D-Bus signal. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_emit_simple_signal ( 4114s # OrgProjectSignalingIface *object) 4114s # { 4114s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_emit_single_arg_signal_s: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * @arg_arg_s: Argument to pass with the signal. 4114s # * 4114s # * Emits the "SingleArgSignalS" D-Bus signal. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_emit_single_arg_signal_s ( 4114s # OrgProjectSignalingIface *object, 4114s # const gchar *arg_arg_s) 4114s # { 4114s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 4114s # } 4114s # 4114s # /* ------------------------------------------------------------------------ */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceProxy: 4114s # * 4114s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceProxyClass: 4114s # * @parent_class: The parent class. 4114s # * 4114s # * Class structure for #OrgProjectSignalingIfaceProxy. 4114s # */ 4114s # 4114s # struct _OrgProjectSignalingIfaceProxyPrivate 4114s # { 4114s # GData *qdata; 4114s # }; 4114s # 4114s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4114s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4114s # 4114s # #else 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4114s # 4114s # #endif 4114s # static void 4114s # org_project_signaling_iface_proxy_finalize (GObject *object) 4114s # { 4114s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4114s # g_datalist_clear (&proxy->priv->qdata); 4114s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4114s # guint prop_id G_GNUC_UNUSED, 4114s # GValue *value G_GNUC_UNUSED, 4114s # GParamSpec *pspec G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4114s # guint prop_id G_GNUC_UNUSED, 4114s # const GValue *value G_GNUC_UNUSED, 4114s # GParamSpec *pspec G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4114s # const gchar *sender_name G_GNUC_UNUSED, 4114s # const gchar *signal_name, 4114s # GVariant *parameters) 4114s # { 4114s # _ExtendedGDBusSignalInfo *info; 4114s # GVariantIter iter; 4114s # GVariant *child; 4114s # GValue *paramv; 4114s # gsize num_params; 4114s # gsize n; 4114s # guint signal_id; 4114s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4114s # if (info == NULL) 4114s # return; 4114s # num_params = g_variant_n_children (parameters); 4114s # paramv = g_new0 (GValue, num_params + 1); 4114s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_set_object (¶mv[0], proxy); 4114s # g_variant_iter_init (&iter, parameters); 4114s # n = 1; 4114s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4114s # { 4114s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4114s # if (arg_info->use_gvariant) 4114s # { 4114s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4114s # g_value_set_variant (¶mv[n], child); 4114s # n++; 4114s # } 4114s # else 4114s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4114s # g_variant_unref (child); 4114s # } 4114s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_signal_emitv (paramv, signal_id, 0, NULL); 4114s # for (n = 0; n < num_params + 1; n++) 4114s # g_value_unset (¶mv[n]); 4114s # g_free (paramv); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4114s # GVariant *changed_properties, 4114s # const gchar *const *invalidated_properties) 4114s # { 4114s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4114s # guint n; 4114s # const gchar *key; 4114s # GVariantIter *iter; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # g_variant_get (changed_properties, "a{sv}", &iter); 4114s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4114s # { 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4114s # g_datalist_remove_data (&proxy->priv->qdata, key); 4114s # if (info != NULL) 4114s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4114s # } 4114s # g_variant_iter_free (iter); 4114s # for (n = 0; invalidated_properties[n] != NULL; n++) 4114s # { 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4114s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4114s # if (info != NULL) 4114s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4114s # } 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4114s # { 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4114s # #else 4114s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4114s # #endif 4114s # 4114s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4114s # { 4114s # GObjectClass *gobject_class; 4114s # GDBusProxyClass *proxy_class; 4114s # 4114s # gobject_class = G_OBJECT_CLASS (klass); 4114s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4114s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4114s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4114s # 4114s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4114s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4114s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4114s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4114s # #endif 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new: 4114s # * @connection: A #GDBusConnection. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4114s # * @user_data: User data to pass to @callback. 4114s # * 4114s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_sync: 4114s # * @connection: A #GDBusConnection. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_sync ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4114s # * @user_data: User data to pass to @callback. 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new_for_bus ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /* ------------------------------------------------------------------------ */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeleton: 4114s # * 4114s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeletonClass: 4114s # * @parent_class: The parent class. 4114s # * 4114s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4114s # */ 4114s # 4114s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4114s # { 4114s # GValue *properties; 4114s # GList *changed_properties; 4114s # GSource *changed_properties_idle_source; 4114s # GMainContext *context; 4114s # GMutex lock; 4114s # }; 4114s # 4114s # static void 4114s # _org_project_signaling_iface_skeleton_handle_method_call ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name, 4114s # const gchar *method_name, 4114s # GVariant *parameters, 4114s # GDBusMethodInvocation *invocation, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # _ExtendedGDBusMethodInfo *info; 4114s # GVariantIter iter; 4114s # GVariant *child; 4114s # GValue *paramv; 4114s # gsize num_params; 4114s # guint num_extra; 4114s # gsize n; 4114s # guint signal_id; 4114s # GValue return_value = G_VALUE_INIT; 4114s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4114s # g_assert (info != NULL); 4114s # num_params = g_variant_n_children (parameters); 4114s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4114s # n = 0; 4114s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_set_object (¶mv[n++], skeleton); 4114s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4114s # g_value_set_object (¶mv[n++], invocation); 4114s # if (info->pass_fdlist) 4114s # { 4114s # #ifdef G_OS_UNIX 4114s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4114s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4114s # #else 4114s # g_assert_not_reached (); 4114s # #endif 4114s # } 4114s # g_variant_iter_init (&iter, parameters); 4114s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4114s # { 4114s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4114s # if (arg_info->use_gvariant) 4114s # { 4114s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4114s # g_value_set_variant (¶mv[n], child); 4114s # n++; 4114s # } 4114s # else 4114s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4114s # g_variant_unref (child); 4114s # } 4114s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4114s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4114s # if (!g_value_get_boolean (&return_value)) 4114s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4114s # g_value_unset (&return_value); 4114s # for (n = 0; n < num_params + num_extra; n++) 4114s # g_value_unset (¶mv[n]); 4114s # g_free (paramv); 4114s # } 4114s # 4114s # static GVariant * 4114s # _org_project_signaling_iface_skeleton_handle_get_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # GVariant *ret; 4114s # ret = NULL; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # g_value_init (&value, pspec->value_type); 4114s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4114s # g_value_unset (&value); 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _org_project_signaling_iface_skeleton_handle_set_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GVariant *variant, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # gboolean ret; 4114s # ret = FALSE; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # if (info->use_gvariant) 4114s # g_value_set_variant (&value, variant); 4114s # else 4114s # g_dbus_gvariant_to_gvalue (variant, &value); 4114s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # g_value_unset (&value); 4114s # ret = TRUE; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4114s # { 4114s # _org_project_signaling_iface_skeleton_handle_method_call, 4114s # _org_project_signaling_iface_skeleton_handle_get_property, 4114s # _org_project_signaling_iface_skeleton_handle_set_property, 4114s # {NULL} 4114s # }; 4114s # 4114s # static GDBusInterfaceInfo * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return org_project_signaling_iface_interface_info (); 4114s # } 4114s # 4114s # static GDBusInterfaceVTable * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4114s # } 4114s # 4114s # static GVariant * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4114s # 4114s # GVariantBuilder builder; 4114s # guint n; 4114s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4114s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4114s # goto out; 4114s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4114s # { 4114s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4114s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4114s # { 4114s # GVariant *value; 4114s # 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); 4114s # if (value != NULL) 4114s # { 4114s # g_variant_take_ref (value); 4114s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4114s # g_variant_unref (value); 4114s # } 4114s # } 4114s # } 4114s # out: 4114s # return g_variant_builder_end (&builder); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_simple_signal ( 4114s # OrgProjectSignalingIface *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 4114s # OrgProjectSignalingIface *object, 4114s # const gchar *arg_arg_s) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 4114s # arg_arg_s)); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #else 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #endif 4114s # static void 4114s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4114s # if (skeleton->priv->changed_properties_idle_source != NULL) 4114s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4114s # g_main_context_unref (skeleton->priv->context); 4114s # g_mutex_clear (&skeleton->priv->lock); 4114s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4114s # { 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4114s # #else 4114s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4114s # #endif 4114s # 4114s # g_mutex_init (&skeleton->priv->lock); 4114s # skeleton->priv->context = g_main_context_ref_thread_default (); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4114s # { 4114s # GObjectClass *gobject_class; 4114s # GDBusInterfaceSkeletonClass *skeleton_class; 4114s # 4114s # gobject_class = G_OBJECT_CLASS (klass); 4114s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4114s # 4114s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4114s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4114s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4114s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4114s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4114s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4114s # #endif 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4114s # { 4114s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4114s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_skeleton_new: 4114s # * 4114s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_skeleton_new (void) 4114s # { 4114s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4114s # } 4114s # /tmp/tmp74tbisad/tmpd1q7umpt.xml: 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmpd1q7umpt.xml', '--output', '-', '--body'] 4114s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4114s # Output: /* 4114s # * This file is generated by gdbus-codegen, do not modify it. 4114s # * 4114s # * The license of this code is the same as for the D-Bus interface description 4114s # * it was derived from. Note that it links to GLib, so must comply with the 4114s # * LGPL linking clauses. 4114s # */ 4114s # 4114s # #ifdef HAVE_CONFIG_H 4114s # # include "config.h" 4114s # #endif 4114s # 4114s # #include 4114s # #ifdef G_OS_UNIX 4114s # # include 4114s # #endif 4114s # 4114s # #ifdef G_ENABLE_DEBUG 4114s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4114s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4114s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4114s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4114s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4114s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4114s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4114s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4114s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4114s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4114s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4114s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4114s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4114s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4114s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4114s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4114s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4114s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4114s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4114s # #else /* !G_ENABLE_DEBUG */ 4114s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4114s # * Do not access GValues directly in your code. Instead, use the 4114s # * g_value_get_*() functions 4114s # */ 4114s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4114s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4114s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4114s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4114s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4114s # #endif /* !G_ENABLE_DEBUG */ 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusArgInfo parent_struct; 4114s # gboolean use_gvariant; 4114s # } _ExtendedGDBusArgInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusMethodInfo parent_struct; 4114s # const gchar *signal_name; 4114s # gboolean pass_fdlist; 4114s # } _ExtendedGDBusMethodInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusSignalInfo parent_struct; 4114s # const gchar *signal_name; 4114s # } _ExtendedGDBusSignalInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusPropertyInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # guint use_gvariant : 1; 4114s # guint emits_changed_signal : 1; 4114s # } _ExtendedGDBusPropertyInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusInterfaceInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # } _ExtendedGDBusInterfaceInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # const _ExtendedGDBusPropertyInfo *info; 4114s # guint prop_id; 4114s # GValue orig_value; /* the value before the change */ 4114s # } ChangedProperty; 4114s # 4114s # static void 4114s # _changed_property_free (ChangedProperty *data) 4114s # { 4114s # g_value_unset (&data->orig_value); 4114s # g_free (data); 4114s # } 4114s # 4114s # static gboolean 4114s # _g_strv_equal0 (gchar **a, gchar **b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # guint n; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # if (g_strv_length (a) != g_strv_length (b)) 4114s # goto out; 4114s # for (n = 0; a[n] != NULL; n++) 4114s # if (g_strcmp0 (a[n], b[n]) != 0) 4114s # goto out; 4114s # ret = TRUE; 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _g_variant_equal0 (GVariant *a, GVariant *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # ret = g_variant_equal (a, b); 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # G_GNUC_UNUSED static gboolean 4114s # _g_value_equal (const GValue *a, const GValue *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4114s # switch (G_VALUE_TYPE (a)) 4114s # { 4114s # case G_TYPE_BOOLEAN: 4114s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4114s # break; 4114s # case G_TYPE_UCHAR: 4114s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4114s # break; 4114s # case G_TYPE_INT: 4114s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4114s # break; 4114s # case G_TYPE_UINT: 4114s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4114s # break; 4114s # case G_TYPE_INT64: 4114s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4114s # break; 4114s # case G_TYPE_UINT64: 4114s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4114s # break; 4114s # case G_TYPE_DOUBLE: 4114s # { 4114s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4114s # gdouble da = g_value_get_double (a); 4114s # gdouble db = g_value_get_double (b); 4114s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4114s # } 4114s # break; 4114s # case G_TYPE_STRING: 4114s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4114s # break; 4114s # case G_TYPE_VARIANT: 4114s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4114s # break; 4114s # default: 4114s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4114s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4114s # else 4114s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4114s # break; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # /* ------------------------------------------------------------------------ 4114s # * Code for interface org.project.SignalingIface 4114s # * ------------------------------------------------------------------------ 4114s # */ 4114s # 4114s # /** 4114s # * SECTION:OrgProjectSignalingIface 4114s # * @title: OrgProjectSignalingIface 4114s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4114s # * 4114s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4114s # */ 4114s # 4114s # enum 4114s # { 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4114s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 4114s # }; 4114s # 4114s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4114s # 4114s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SimpleSignal", 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "simple-signal" 4114s # }; 4114s # 4114s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "arg_o", 4114s # (gchar *) "o", 4114s # NULL 4114s # }, 4114s # FALSE 4114s # }; 4114s # 4114s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SingleArgSignalO", 4114s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 4114s # NULL 4114s # }, 4114s # "single-arg-signal-o" 4114s # }; 4114s # 4114s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "org.project.SignalingIface", 4114s # NULL, 4114s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "org-project-signaling-iface", 4114s # }; 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_interface_info: 4114s # * 4114s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4114s # * 4114s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4114s # */ 4114s # GDBusInterfaceInfo * 4114s # org_project_signaling_iface_interface_info (void) 4114s # { 4114s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_override_properties: 4114s # * @klass: The class structure for a #GObject derived class. 4114s # * @property_id_begin: The property id to assign to the first overridden property. 4114s # * 4114s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4114s # * The properties are overridden in the order they are defined. 4114s # * 4114s # * Returns: The last property id. 4114s # */ 4114s # guint 4114s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4114s # { 4114s # return property_id_begin - 1; 4114s # } 4114s # 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_simple_signal ( 4114s # GClosure *closure, 4114s # GValue *return_value, 4114s # unsigned int n_param_values, 4114s # const GValue *param_values, 4114s # void *invocation_hint, 4114s # void *marshal_data) 4114s # { 4114s # g_cclosure_marshal_VOID__VOID (closure, 4114s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4114s # } 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 4114s # GClosure *closure, 4114s # GValue *return_value, 4114s # unsigned int n_param_values, 4114s # const GValue *param_values, 4114s # void *invocation_hint, 4114s # void *marshal_data) 4114s # { 4114s # g_cclosure_marshal_VOID__STRING (closure, 4114s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4114s # } 4114s # 4114s # 4114s # /** 4114s # * OrgProjectSignalingIface: 4114s # * 4114s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceIface: 4114s # * @parent_iface: The parent interface. 4114s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4114s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 4114s # * 4114s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4114s # */ 4114s # 4114s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4114s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4114s # 4114s # static void 4114s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4114s # { 4114s # /* GObject signals for received D-Bus signals: */ 4114s # /** 4114s # * OrgProjectSignalingIface::simple-signal: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * 4114s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4114s # * 4114s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4114s # */ 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4114s # g_signal_new ("simple-signal", 4114s # G_TYPE_FROM_INTERFACE (iface), 4114s # G_SIGNAL_RUN_LAST, 4114s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4114s # NULL, 4114s # NULL, 4114s # org_project_signaling_iface_signal_marshal_simple_signal, 4114s # G_TYPE_NONE, 4114s # 0); 4114s # 4114s # /** 4114s # * OrgProjectSignalingIface::single-arg-signal-o: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * @arg_arg_o: Argument. 4114s # * 4114s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 4114s # * 4114s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4114s # */ 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 4114s # g_signal_new ("single-arg-signal-o", 4114s # G_TYPE_FROM_INTERFACE (iface), 4114s # G_SIGNAL_RUN_LAST, 4114s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 4114s # NULL, 4114s # NULL, 4114s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 4114s # G_TYPE_NONE, 4114s # 1, G_TYPE_STRING); 4114s # 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_emit_simple_signal: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * 4114s # * Emits the "SimpleSignal" D-Bus signal. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_emit_simple_signal ( 4114s # OrgProjectSignalingIface *object) 4114s # { 4114s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_emit_single_arg_signal_o: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * @arg_arg_o: Argument to pass with the signal. 4114s # * 4114s # * Emits the "SingleArgSignalO" D-Bus signal. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_emit_single_arg_signal_o ( 4114s # OrgProjectSignalingIface *object, 4114s # const gchar *arg_arg_o) 4114s # { 4114s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 4114s # } 4114s # 4114s # /* ------------------------------------------------------------------------ */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceProxy: 4114s # * 4114s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceProxyClass: 4114s # * @parent_class: The parent class. 4114s # * 4114s # * Class structure for #OrgProjectSignalingIfaceProxy. 4114s # */ 4114s # 4114s # struct _OrgProjectSignalingIfaceProxyPrivate 4114s # { 4114s # GData *qdata; 4114s # }; 4114s # 4114s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4114s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4114s # 4114s # #else 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4114s # 4114s # #endif 4114s # static void 4114s # org_project_signaling_iface_proxy_finalize (GObject *object) 4114s # { 4114s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4114s # g_datalist_clear (&proxy->priv->qdata); 4114s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4114s # guint prop_id G_GNUC_UNUSED, 4114s # GValue *value G_GNUC_UNUSED, 4114s # GParamSpec *pspec G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4114s # guint prop_id G_GNUC_UNUSED, 4114s # const GValue *value G_GNUC_UNUSED, 4114s # GParamSpec *pspec G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4114s # const gchar *sender_name G_GNUC_UNUSED, 4114s # const gchar *signal_name, 4114s # GVariant *parameters) 4114s # { 4114s # _ExtendedGDBusSignalInfo *info; 4114s # GVariantIter iter; 4114s # GVariant *child; 4114s # GValue *paramv; 4114s # gsize num_params; 4114s # gsize n; 4114s # guint signal_id; 4114s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4114s # if (info == NULL) 4114s # return; 4114s # num_params = g_variant_n_children (parameters); 4114s # paramv = g_new0 (GValue, num_params + 1); 4114s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_set_object (¶mv[0], proxy); 4114s # g_variant_iter_init (&iter, parameters); 4114s # n = 1; 4114s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4114s # { 4114s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4114s # if (arg_info->use_gvariant) 4114s # { 4114s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4114s # g_value_set_variant (¶mv[n], child); 4114s # n++; 4114s # } 4114s # else 4114s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4114s # g_variant_unref (child); 4114s # } 4114s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_signal_emitv (paramv, signal_id, 0, NULL); 4114s # for (n = 0; n < num_params + 1; n++) 4114s # g_value_unset (¶mv[n]); 4114s # g_free (paramv); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4114s # GVariant *changed_properties, 4114s # const gchar *const *invalidated_properties) 4114s # { 4114s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4114s # guint n; 4114s # const gchar *key; 4114s # GVariantIter *iter; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # g_variant_get (changed_properties, "a{sv}", &iter); 4114s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4114s # { 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4114s # g_datalist_remove_data (&proxy->priv->qdata, key); 4114s # if (info != NULL) 4114s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4114s # } 4114s # g_variant_iter_free (iter); 4114s # for (n = 0; invalidated_properties[n] != NULL; n++) 4114s # { 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4114s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4114s # if (info != NULL) 4114s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4114s # } 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4114s # { 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4114s # #else 4114s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4114s # #endif 4114s # 4114s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4114s # { 4114s # GObjectClass *gobject_class; 4114s # GDBusProxyClass *proxy_class; 4114s # 4114s # gobject_class = G_OBJECT_CLASS (klass); 4114s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4114s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4114s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4114s # 4114s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4114s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4114s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4114s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4114s # #endif 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new: 4114s # * @connection: A #GDBusConnection. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4114s # * @user_data: User data to pass to @callback. 4114s # * 4114s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_sync: 4114s # * @connection: A #GDBusConnection. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_sync ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4114s # * @user_data: User data to pass to @callback. 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new_for_bus ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /* ------------------------------------------------------------------------ */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeleton: 4114s # * 4114s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeletonClass: 4114s # * @parent_class: The parent class. 4114s # * 4114s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4114s # */ 4114s # 4114s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4114s # { 4114s # GValue *properties; 4114s # GList *changed_properties; 4114s # GSource *changed_properties_idle_source; 4114s # GMainContext *context; 4114s # GMutex lock; 4114s # }; 4114s # 4114s # static void 4114s # _org_project_signaling_iface_skeleton_handle_method_call ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name, 4114s # const gchar *method_name, 4114s # GVariant *parameters, 4114s # GDBusMethodInvocation *invocation, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # _ExtendedGDBusMethodInfo *info; 4114s # GVariantIter iter; 4114s # GVariant *child; 4114s # GValue *paramv; 4114s # gsize num_params; 4114s # guint num_extra; 4114s # gsize n; 4114s # guint signal_id; 4114s # GValue return_value = G_VALUE_INIT; 4114s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4114s # g_assert (info != NULL); 4114s # num_params = g_variant_n_children (parameters); 4114s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4114s # n = 0; 4114s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_set_object (¶mv[n++], skeleton); 4114s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4114s # g_value_set_object (¶mv[n++], invocation); 4114s # if (info->pass_fdlist) 4114s # { 4114s # #ifdef G_OS_UNIX 4114s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4114s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4114s # #else 4114s # g_assert_not_reached (); 4114s # #endif 4114s # } 4114s # g_variant_iter_init (&iter, parameters); 4114s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4114s # { 4114s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4114s # if (arg_info->use_gvariant) 4114s # { 4114s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4114s # g_value_set_variant (¶mv[n], child); 4114s # n++; 4114s # } 4114s # else 4114s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4114s # g_variant_unref (child); 4114s # } 4114s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4114s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4114s # if (!g_value_get_boolean (&return_value)) 4114s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4114s # g_value_unset (&return_value); 4114s # for (n = 0; n < num_params + num_extra; n++) 4114s # g_value_unset (¶mv[n]); 4114s # g_free (paramv); 4114s # } 4114s # 4114s # static GVariant * 4114s # _org_project_signaling_iface_skeleton_handle_get_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # GVariant *ret; 4114s # ret = NULL; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # g_value_init (&value, pspec->value_type); 4114s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4114s # g_value_unset (&value); 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _org_project_signaling_iface_skeleton_handle_set_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GVariant *variant, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # gboolean ret; 4114s # ret = FALSE; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # if (info->use_gvariant) 4114s # g_value_set_variant (&value, variant); 4114s # else 4114s # g_dbus_gvariant_to_gvalue (variant, &value); 4114s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # g_value_unset (&value); 4114s # ret = TRUE; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4114s # { 4114s # _org_project_signaling_iface_skeleton_handle_method_call, 4114s # _org_project_signaling_iface_skeleton_handle_get_property, 4114s # _org_project_signaling_iface_skeleton_handle_set_property, 4114s # {NULL} 4114s # }; 4114s # 4114s # static GDBusInterfaceInfo * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return org_project_signaling_iface_interface_info (); 4114s # } 4114s # 4114s # static GDBusInterfaceVTable * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4114s # } 4114s # 4114s # static GVariant * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4114s # 4114s # GVariantBuilder builder; 4114s # guint n; 4114s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4114s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4114s # goto out; 4114s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4114s # { 4114s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4114s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4114s # { 4114s # GVariant *value; 4114s # 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); 4114s # if (value != NULL) 4114s # { 4114s # g_variant_take_ref (value); 4114s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4114s # g_variant_unref (value); 4114s # } 4114s # } 4114s # } 4114s # out: 4114s # return g_variant_builder_end (&builder); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_simple_signal ( 4114s # OrgProjectSignalingIface *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 4114s # OrgProjectSignalingIface *object, 4114s # const gchar *arg_arg_o) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 4114s # arg_arg_o)); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #else 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #endif 4114s # static void 4114s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4114s # if (skeleton->priv->changed_properties_idle_source != NULL) 4114s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4114s # g_main_context_unref (skeleton->priv->context); 4114s # g_mutex_clear (&skeleton->priv->lock); 4114s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4114s # { 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4114s # #else 4114s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4114s # #endif 4114s # 4114s # g_mutex_init (&skeleton->priv->lock); 4114s # skeleton->priv->context = g_main_context_ref_thread_default (); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4114s # { 4114s # GObjectClass *gobject_class; 4114s # GDBusInterfaceSkeletonClass *skeleton_class; 4114s # 4114s # gobject_class = G_OBJECT_CLASS (klass); 4114s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4114s # 4114s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4114s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4114s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4114s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4114s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4114s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4114s # #endif 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4114s # { 4114s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4114s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_skeleton_new: 4114s # * 4114s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_skeleton_new (void) 4114s # { 4114s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4114s # } 4114s # /tmp/tmp74tbisad/tmpxk7e4iwb.xml: 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmpxk7e4iwb.xml', '--output', '-', '--body'] 4114s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4114s # Output: /* 4114s # * This file is generated by gdbus-codegen, do not modify it. 4114s # * 4114s # * The license of this code is the same as for the D-Bus interface description 4114s # * it was derived from. Note that it links to GLib, so must comply with the 4114s # * LGPL linking clauses. 4114s # */ 4114s # 4114s # #ifdef HAVE_CONFIG_H 4114s # # include "config.h" 4114s # #endif 4114s # 4114s # #include 4114s # #ifdef G_OS_UNIX 4114s # # include 4114s # #endif 4114s # 4114s # #ifdef G_ENABLE_DEBUG 4114s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4114s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4114s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4114s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4114s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4114s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4114s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4114s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4114s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4114s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4114s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4114s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4114s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4114s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4114s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4114s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4114s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4114s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4114s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4114s # #else /* !G_ENABLE_DEBUG */ 4114s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4114s # * Do not access GValues directly in your code. Instead, use the 4114s # * g_value_get_*() functions 4114s # */ 4114s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4114s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4114s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4114s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4114s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4114s # #endif /* !G_ENABLE_DEBUG */ 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusArgInfo parent_struct; 4114s # gboolean use_gvariant; 4114s # } _ExtendedGDBusArgInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusMethodInfo parent_struct; 4114s # const gchar *signal_name; 4114s # gboolean pass_fdlist; 4114s # } _ExtendedGDBusMethodInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusSignalInfo parent_struct; 4114s # const gchar *signal_name; 4114s # } _ExtendedGDBusSignalInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusPropertyInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # guint use_gvariant : 1; 4114s # guint emits_changed_signal : 1; 4114s # } _ExtendedGDBusPropertyInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusInterfaceInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # } _ExtendedGDBusInterfaceInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # const _ExtendedGDBusPropertyInfo *info; 4114s # guint prop_id; 4114s # GValue orig_value; /* the value before the change */ 4114s # } ChangedProperty; 4114s # 4114s # static void 4114s # _changed_property_free (ChangedProperty *data) 4114s # { 4114s # g_value_unset (&data->orig_value); 4114s # g_free (data); 4114s # } 4114s # 4114s # static gboolean 4114s # _g_strv_equal0 (gchar **a, gchar **b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # guint n; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # if (g_strv_length (a) != g_strv_length (b)) 4114s # goto out; 4114s # for (n = 0; a[n] != NULL; n++) 4114s # if (g_strcmp0 (a[n], b[n]) != 0) 4114s # goto out; 4114s # ret = TRUE; 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _g_variant_equal0 (GVariant *a, GVariant *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # ret = g_variant_equal (a, b); 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # G_GNUC_UNUSED static gboolean 4114s # _g_value_equal (const GValue *a, const GValue *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4114s # switch (G_VALUE_TYPE (a)) 4114s # { 4114s # case G_TYPE_BOOLEAN: 4114s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4114s # break; 4114s # case G_TYPE_UCHAR: 4114s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4114s # break; 4114s # case G_TYPE_INT: 4114s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4114s # break; 4114s # case G_TYPE_UINT: 4114s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4114s # break; 4114s # case G_TYPE_INT64: 4114s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4114s # break; 4114s # case G_TYPE_UINT64: 4114s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4114s # break; 4114s # case G_TYPE_DOUBLE: 4114s # { 4114s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4114s # gdouble da = g_value_get_double (a); 4114s # gdouble db = g_value_get_double (b); 4114s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4114s # } 4114s # break; 4114s # case G_TYPE_STRING: 4114s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4114s # break; 4114s # case G_TYPE_VARIANT: 4114s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4114s # break; 4114s # default: 4114s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4114s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4114s # else 4114s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4114s # break; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # /* ------------------------------------------------------------------------ 4114s # * Code for interface org.project.SignalingIface 4114s # * ------------------------------------------------------------------------ 4114s # */ 4114s # 4114s # /** 4114s # * SECTION:OrgProjectSignalingIface 4114s # * @title: OrgProjectSignalingIface 4114s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4114s # * 4114s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4114s # */ 4114s # 4114s # enum 4114s # { 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4114s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 4114s # }; 4114s # 4114s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4114s # 4114s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SimpleSignal", 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "simple-signal" 4114s # }; 4114s # 4114s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "arg_g", 4114s # (gchar *) "g", 4114s # NULL 4114s # }, 4114s # FALSE 4114s # }; 4114s # 4114s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SingleArgSignalG", 4114s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 4114s # NULL 4114s # }, 4114s # "single-arg-signal-g" 4114s # }; 4114s # 4114s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "org.project.SignalingIface", 4114s # NULL, 4114s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "org-project-signaling-iface", 4114s # }; 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_interface_info: 4114s # * 4114s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4114s # * 4114s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4114s # */ 4114s # GDBusInterfaceInfo * 4114s # org_project_signaling_iface_interface_info (void) 4114s # { 4114s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_override_properties: 4114s # * @klass: The class structure for a #GObject derived class. 4114s # * @property_id_begin: The property id to assign to the first overridden property. 4114s # * 4114s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4114s # * The properties are overridden in the order they are defined. 4114s # * 4114s # * Returns: The last property id. 4114s # */ 4114s # guint 4114s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4114s # { 4114s # return property_id_begin - 1; 4114s # } 4114s # 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_simple_signal ( 4114s # GClosure *closure, 4114s # GValue *return_value, 4114s # unsigned int n_param_values, 4114s # const GValue *param_values, 4114s # void *invocation_hint, 4114s # void *marshal_data) 4114s # { 4114s # g_cclosure_marshal_VOID__VOID (closure, 4114s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4114s # } 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 4114s # GClosure *closure, 4114s # GValue *return_value, 4114s # unsigned int n_param_values, 4114s # const GValue *param_values, 4114s # void *invocation_hint, 4114s # void *marshal_data) 4114s # { 4114s # g_cclosure_marshal_VOID__STRING (closure, 4114s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4114s # } 4114s # 4114s # 4114s # /** 4114s # * OrgProjectSignalingIface: 4114s # * 4114s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceIface: 4114s # * @parent_iface: The parent interface. 4114s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4114s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 4114s # * 4114s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4114s # */ 4114s # 4114s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4114s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4114s # 4114s # static void 4114s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4114s # { 4114s # /* GObject signals for received D-Bus signals: */ 4114s # /** 4114s # * OrgProjectSignalingIface::simple-signal: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * 4114s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4114s # * 4114s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4114s # */ 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4114s # g_signal_new ("simple-signal", 4114s # G_TYPE_FROM_INTERFACE (iface), 4114s # G_SIGNAL_RUN_LAST, 4114s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4114s # NULL, 4114s # NULL, 4114s # org_project_signaling_iface_signal_marshal_simple_signal, 4114s # G_TYPE_NONE, 4114s # 0); 4114s # 4114s # /** 4114s # * OrgProjectSignalingIface::single-arg-signal-g: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * @arg_arg_g: Argument. 4114s # * 4114s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 4114s # * 4114s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4114s # */ 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 4114s # g_signal_new ("single-arg-signal-g", 4114s # G_TYPE_FROM_INTERFACE (iface), 4114s # G_SIGNAL_RUN_LAST, 4114s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 4114s # NULL, 4114s # NULL, 4114s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 4114s # G_TYPE_NONE, 4114s # 1, G_TYPE_STRING); 4114s # 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_emit_simple_signal: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * 4114s # * Emits the "SimpleSignal" D-Bus signal. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_emit_simple_signal ( 4114s # OrgProjectSignalingIface *object) 4114s # { 4114s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_emit_single_arg_signal_g: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * @arg_arg_g: Argument to pass with the signal. 4114s # * 4114s # * Emits the "SingleArgSignalG" D-Bus signal. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_emit_single_arg_signal_g ( 4114s # OrgProjectSignalingIface *object, 4114s # const gchar *arg_arg_g) 4114s # { 4114s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 4114s # } 4114s # 4114s # /* ------------------------------------------------------------------------ */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceProxy: 4114s # * 4114s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceProxyClass: 4114s # * @parent_class: The parent class. 4114s # * 4114s # * Class structure for #OrgProjectSignalingIfaceProxy. 4114s # */ 4114s # 4114s # struct _OrgProjectSignalingIfaceProxyPrivate 4114s # { 4114s # GData *qdata; 4114s # }; 4114s # 4114s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4114s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4114s # 4114s # #else 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4114s # 4114s # #endif 4114s # static void 4114s # org_project_signaling_iface_proxy_finalize (GObject *object) 4114s # { 4114s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4114s # g_datalist_clear (&proxy->priv->qdata); 4114s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4114s # guint prop_id G_GNUC_UNUSED, 4114s # GValue *value G_GNUC_UNUSED, 4114s # GParamSpec *pspec G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4114s # guint prop_id G_GNUC_UNUSED, 4114s # const GValue *value G_GNUC_UNUSED, 4114s # GParamSpec *pspec G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4114s # const gchar *sender_name G_GNUC_UNUSED, 4114s # const gchar *signal_name, 4114s # GVariant *parameters) 4114s # { 4114s # _ExtendedGDBusSignalInfo *info; 4114s # GVariantIter iter; 4114s # GVariant *child; 4114s # GValue *paramv; 4114s # gsize num_params; 4114s # gsize n; 4114s # guint signal_id; 4114s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4114s # if (info == NULL) 4114s # return; 4114s # num_params = g_variant_n_children (parameters); 4114s # paramv = g_new0 (GValue, num_params + 1); 4114s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_set_object (¶mv[0], proxy); 4114s # g_variant_iter_init (&iter, parameters); 4114s # n = 1; 4114s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4114s # { 4114s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4114s # if (arg_info->use_gvariant) 4114s # { 4114s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4114s # g_value_set_variant (¶mv[n], child); 4114s # n++; 4114s # } 4114s # else 4114s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4114s # g_variant_unref (child); 4114s # } 4114s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_signal_emitv (paramv, signal_id, 0, NULL); 4114s # for (n = 0; n < num_params + 1; n++) 4114s # g_value_unset (¶mv[n]); 4114s # g_free (paramv); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4114s # GVariant *changed_properties, 4114s # const gchar *const *invalidated_properties) 4114s # { 4114s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4114s # guint n; 4114s # const gchar *key; 4114s # GVariantIter *iter; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # g_variant_get (changed_properties, "a{sv}", &iter); 4114s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4114s # { 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4114s # g_datalist_remove_data (&proxy->priv->qdata, key); 4114s # if (info != NULL) 4114s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4114s # } 4114s # g_variant_iter_free (iter); 4114s # for (n = 0; invalidated_properties[n] != NULL; n++) 4114s # { 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4114s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4114s # if (info != NULL) 4114s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4114s # } 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4114s # { 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4114s # #else 4114s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4114s # #endif 4114s # 4114s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4114s # { 4114s # GObjectClass *gobject_class; 4114s # GDBusProxyClass *proxy_class; 4114s # 4114s # gobject_class = G_OBJECT_CLASS (klass); 4114s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4114s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4114s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4114s # 4114s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4114s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4114s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4114s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4114s # #endif 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new: 4114s # * @connection: A #GDBusConnection. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4114s # * @user_data: User data to pass to @callback. 4114s # * 4114s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_sync: 4114s # * @connection: A #GDBusConnection. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_sync ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4114s # * @user_data: User data to pass to @callback. 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new_for_bus ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /* ------------------------------------------------------------------------ */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeleton: 4114s # * 4114s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeletonClass: 4114s # * @parent_class: The parent class. 4114s # * 4114s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4114s # */ 4114s # 4114s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4114s # { 4114s # GValue *properties; 4114s # GList *changed_properties; 4114s # GSource *changed_properties_idle_source; 4114s # GMainContext *context; 4114s # GMutex lock; 4114s # }; 4114s # 4114s # static void 4114s # _org_project_signaling_iface_skeleton_handle_method_call ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name, 4114s # const gchar *method_name, 4114s # GVariant *parameters, 4114s # GDBusMethodInvocation *invocation, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # _ExtendedGDBusMethodInfo *info; 4114s # GVariantIter iter; 4114s # GVariant *child; 4114s # GValue *paramv; 4114s # gsize num_params; 4114s # guint num_extra; 4114s # gsize n; 4114s # guint signal_id; 4114s # GValue return_value = G_VALUE_INIT; 4114s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4114s # g_assert (info != NULL); 4114s # num_params = g_variant_n_children (parameters); 4114s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4114s # n = 0; 4114s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_set_object (¶mv[n++], skeleton); 4114s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4114s # g_value_set_object (¶mv[n++], invocation); 4114s # if (info->pass_fdlist) 4114s # { 4114s # #ifdef G_OS_UNIX 4114s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4114s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4114s # #else 4114s # g_assert_not_reached (); 4114s # #endif 4114s # } 4114s # g_variant_iter_init (&iter, parameters); 4114s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4114s # { 4114s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4114s # if (arg_info->use_gvariant) 4114s # { 4114s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4114s # g_value_set_variant (¶mv[n], child); 4114s # n++; 4114s # } 4114s # else 4114s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4114s # g_variant_unref (child); 4114s # } 4114s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4114s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4114s # if (!g_value_get_boolean (&return_value)) 4114s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4114s # g_value_unset (&return_value); 4114s # for (n = 0; n < num_params + num_extra; n++) 4114s # g_value_unset (¶mv[n]); 4114s # g_free (paramv); 4114s # } 4114s # 4114s # static GVariant * 4114s # _org_project_signaling_iface_skeleton_handle_get_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # GVariant *ret; 4114s # ret = NULL; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # g_value_init (&value, pspec->value_type); 4114s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4114s # g_value_unset (&value); 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _org_project_signaling_iface_skeleton_handle_set_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GVariant *variant, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # gboolean ret; 4114s # ret = FALSE; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # if (info->use_gvariant) 4114s # g_value_set_variant (&value, variant); 4114s # else 4114s # g_dbus_gvariant_to_gvalue (variant, &value); 4114s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # g_value_unset (&value); 4114s # ret = TRUE; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4114s # { 4114s # _org_project_signaling_iface_skeleton_handle_method_call, 4114s # _org_project_signaling_iface_skeleton_handle_get_property, 4114s # _org_project_signaling_iface_skeleton_handle_set_property, 4114s # {NULL} 4114s # }; 4114s # 4114s # static GDBusInterfaceInfo * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return org_project_signaling_iface_interface_info (); 4114s # } 4114s # 4114s # static GDBusInterfaceVTable * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4114s # } 4114s # 4114s # static GVariant * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4114s # 4114s # GVariantBuilder builder; 4114s # guint n; 4114s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4114s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4114s # goto out; 4114s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4114s # { 4114s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4114s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4114s # { 4114s # GVariant *value; 4114s # 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); 4114s # if (value != NULL) 4114s # { 4114s # g_variant_take_ref (value); 4114s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4114s # g_variant_unref (value); 4114s # } 4114s # } 4114s # } 4114s # out: 4114s # return g_variant_builder_end (&builder); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_simple_signal ( 4114s # OrgProjectSignalingIface *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 4114s # OrgProjectSignalingIface *object, 4114s # const gchar *arg_arg_g) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 4114s # arg_arg_g)); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #else 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #endif 4114s # static void 4114s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4114s # if (skeleton->priv->changed_properties_idle_source != NULL) 4114s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4114s # g_main_context_unref (skeleton->priv->context); 4114s # g_mutex_clear (&skeleton->priv->lock); 4114s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4114s # { 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4114s # #else 4114s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4114s # #endif 4114s # 4114s # g_mutex_init (&skeleton->priv->lock); 4114s # skeleton->priv->context = g_main_context_ref_thread_default (); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4114s # { 4114s # GObjectClass *gobject_class; 4114s # GDBusInterfaceSkeletonClass *skeleton_class; 4114s # 4114s # gobject_class = G_OBJECT_CLASS (klass); 4114s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4114s # 4114s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4114s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4114s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4114s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4114s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4114s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4114s # #endif 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4114s # { 4114s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4114s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_skeleton_new: 4114s # * 4114s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_skeleton_new (void) 4114s # { 4114s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4114s # } 4114s # /tmp/tmp74tbisad/tmpwn20wj9m.xml: 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmpwn20wj9m.xml', '--output', '-', '--body'] 4114s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4114s # Output: /* 4114s # * This file is generated by gdbus-codegen, do not modify it. 4114s # * 4114s # * The license of this code is the same as for the D-Bus interface description 4114s # * it was derived from. Note that it links to GLib, so must comply with the 4114s # * LGPL linking clauses. 4114s # */ 4114s # 4114s # #ifdef HAVE_CONFIG_H 4114s # # include "config.h" 4114s # #endif 4114s # 4114s # #include 4114s # #ifdef G_OS_UNIX 4114s # # include 4114s # #endif 4114s # 4114s # #ifdef G_ENABLE_DEBUG 4114s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4114s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4114s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4114s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4114s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4114s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4114s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4114s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4114s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4114s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4114s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4114s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4114s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4114s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4114s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4114s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4114s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4114s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4114s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4114s # #else /* !G_ENABLE_DEBUG */ 4114s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4114s # * Do not access GValues directly in your code. Instead, use the 4114s # * g_value_get_*() functions 4114s # */ 4114s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4114s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4114s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4114s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4114s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4114s # #endif /* !G_ENABLE_DEBUG */ 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusArgInfo parent_struct; 4114s # gboolean use_gvariant; 4114s # } _ExtendedGDBusArgInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusMethodInfo parent_struct; 4114s # const gchar *signal_name; 4114s # gboolean pass_fdlist; 4114s # } _ExtendedGDBusMethodInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusSignalInfo parent_struct; 4114s # const gchar *signal_name; 4114s # } _ExtendedGDBusSignalInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusPropertyInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # guint use_gvariant : 1; 4114s # guint emits_changed_signal : 1; 4114s # } _ExtendedGDBusPropertyInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusInterfaceInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # } _ExtendedGDBusInterfaceInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # const _ExtendedGDBusPropertyInfo *info; 4114s # guint prop_id; 4114s # GValue orig_value; /* the value before the change */ 4114s # } ChangedProperty; 4114s # 4114s # static void 4114s # _changed_property_free (ChangedProperty *data) 4114s # { 4114s # g_value_unset (&data->orig_value); 4114s # g_free (data); 4114s # } 4114s # 4114s # static gboolean 4114s # _g_strv_equal0 (gchar **a, gchar **b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # guint n; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # if (g_strv_length (a) != g_strv_length (b)) 4114s # goto out; 4114s # for (n = 0; a[n] != NULL; n++) 4114s # if (g_strcmp0 (a[n], b[n]) != 0) 4114s # goto out; 4114s # ret = TRUE; 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _g_variant_equal0 (GVariant *a, GVariant *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # ret = g_variant_equal (a, b); 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # G_GNUC_UNUSED static gboolean 4114s # _g_value_equal (const GValue *a, const GValue *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4114s # switch (G_VALUE_TYPE (a)) 4114s # { 4114s # case G_TYPE_BOOLEAN: 4114s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4114s # break; 4114s # case G_TYPE_UCHAR: 4114s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4114s # break; 4114s # case G_TYPE_INT: 4114s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4114s # break; 4114s # case G_TYPE_UINT: 4114s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4114s # break; 4114s # case G_TYPE_INT64: 4114s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4114s # break; 4114s # case G_TYPE_UINT64: 4114s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4114s # break; 4114s # case G_TYPE_DOUBLE: 4114s # { 4114s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4114s # gdouble da = g_value_get_double (a); 4114s # gdouble db = g_value_get_double (b); 4114s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4114s # } 4114s # break; 4114s # case G_TYPE_STRING: 4114s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4114s # break; 4114s # case G_TYPE_VARIANT: 4114s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4114s # break; 4114s # default: 4114s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4114s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4114s # else 4114s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4114s # break; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # /* ------------------------------------------------------------------------ 4114s # * Code for interface org.project.SignalingIface 4114s # * ------------------------------------------------------------------------ 4114s # */ 4114s # 4114s # /** 4114s # * SECTION:OrgProjectSignalingIface 4114s # * @title: OrgProjectSignalingIface 4114s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4114s # * 4114s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4114s # */ 4114s # 4114s # enum 4114s # { 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4114s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 4114s # }; 4114s # 4114s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4114s # 4114s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SimpleSignal", 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "simple-signal" 4114s # }; 4114s # 4114s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "arg_h", 4114s # (gchar *) "h", 4114s # NULL 4114s # }, 4114s # FALSE 4114s # }; 4114s # 4114s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SingleArgSignalH", 4114s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 4114s # NULL 4114s # }, 4114s # "single-arg-signal-h" 4114s # }; 4114s # 4114s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "org.project.SignalingIface", 4114s # NULL, 4114s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "org-project-signaling-iface", 4114s # }; 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_interface_info: 4114s # * 4114s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4114s # * 4114s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4114s # */ 4114s # GDBusInterfaceInfo * 4114s # org_project_signaling_iface_interface_info (void) 4114s # { 4114s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_override_properties: 4114s # * @klass: The class structure for a #GObject derived class. 4114s # * @property_id_begin: The property id to assign to the first overridden property. 4114s # * 4114s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4114s # * The properties are overridden in the order they are defined. 4114s # * 4114s # * Returns: The last property id. 4114s # */ 4114s # guint 4114s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4114s # { 4114s # return property_id_begin - 1; 4114s # } 4114s # 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_simple_signal ( 4114s # GClosure *closure, 4114s # GValue *return_value, 4114s # unsigned int n_param_values, 4114s # const GValue *param_values, 4114s # void *invocation_hint, 4114s # void *marshal_data) 4114s # { 4114s # g_cclosure_marshal_VOID__VOID (closure, 4114s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4114s # } 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 4114s # GClosure *closure, 4114s # GValue *return_value, 4114s # unsigned int n_param_values, 4114s # const GValue *param_values, 4114s # void *invocation_hint, 4114s # void *marshal_data) 4114s # { 4114s # g_cclosure_marshal_VOID__VARIANT (closure, 4114s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4114s # } 4114s # 4114s # 4114s # /** 4114s # * OrgProjectSignalingIface: 4114s # * 4114s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceIface: 4114s # * @parent_iface: The parent interface. 4114s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4114s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 4114s # * 4114s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4114s # */ 4114s # 4114s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4114s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4114s # 4114s # static void 4114s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4114s # { 4114s # /* GObject signals for received D-Bus signals: */ 4114s # /** 4114s # * OrgProjectSignalingIface::simple-signal: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * 4114s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4114s # * 4114s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4114s # */ 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4114s # g_signal_new ("simple-signal", 4114s # G_TYPE_FROM_INTERFACE (iface), 4114s # G_SIGNAL_RUN_LAST, 4114s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4114s # NULL, 4114s # NULL, 4114s # org_project_signaling_iface_signal_marshal_simple_signal, 4114s # G_TYPE_NONE, 4114s # 0); 4114s # 4114s # /** 4114s # * OrgProjectSignalingIface::single-arg-signal-h: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * @arg_arg_h: Argument. 4114s # * 4114s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 4114s # * 4114s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4114s # */ 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 4114s # g_signal_new ("single-arg-signal-h", 4114s # G_TYPE_FROM_INTERFACE (iface), 4114s # G_SIGNAL_RUN_LAST, 4114s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 4114s # NULL, 4114s # NULL, 4114s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 4114s # G_TYPE_NONE, 4114s # 1, G_TYPE_VARIANT); 4114s # 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_emit_simple_signal: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * 4114s # * Emits the "SimpleSignal" D-Bus signal. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_emit_simple_signal ( 4114s # OrgProjectSignalingIface *object) 4114s # { 4114s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_emit_single_arg_signal_h: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * @arg_arg_h: Argument to pass with the signal. 4114s # * 4114s # * Emits the "SingleArgSignalH" D-Bus signal. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_emit_single_arg_signal_h ( 4114s # OrgProjectSignalingIface *object, 4114s # GVariant *arg_arg_h) 4114s # { 4114s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 4114s # } 4114s # 4114s # /* ------------------------------------------------------------------------ */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceProxy: 4114s # * 4114s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceProxyClass: 4114s # * @parent_class: The parent class. 4114s # * 4114s # * Class structure for #OrgProjectSignalingIfaceProxy. 4114s # */ 4114s # 4114s # struct _OrgProjectSignalingIfaceProxyPrivate 4114s # { 4114s # GData *qdata; 4114s # }; 4114s # 4114s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4114s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4114s # 4114s # #else 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4114s # 4114s # #endif 4114s # static void 4114s # org_project_signaling_iface_proxy_finalize (GObject *object) 4114s # { 4114s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4114s # g_datalist_clear (&proxy->priv->qdata); 4114s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4114s # guint prop_id G_GNUC_UNUSED, 4114s # GValue *value G_GNUC_UNUSED, 4114s # GParamSpec *pspec G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4114s # guint prop_id G_GNUC_UNUSED, 4114s # const GValue *value G_GNUC_UNUSED, 4114s # GParamSpec *pspec G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4114s # const gchar *sender_name G_GNUC_UNUSED, 4114s # const gchar *signal_name, 4114s # GVariant *parameters) 4114s # { 4114s # _ExtendedGDBusSignalInfo *info; 4114s # GVariantIter iter; 4114s # GVariant *child; 4114s # GValue *paramv; 4114s # gsize num_params; 4114s # gsize n; 4114s # guint signal_id; 4114s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4114s # if (info == NULL) 4114s # return; 4114s # num_params = g_variant_n_children (parameters); 4114s # paramv = g_new0 (GValue, num_params + 1); 4114s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_set_object (¶mv[0], proxy); 4114s # g_variant_iter_init (&iter, parameters); 4114s # n = 1; 4114s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4114s # { 4114s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4114s # if (arg_info->use_gvariant) 4114s # { 4114s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4114s # g_value_set_variant (¶mv[n], child); 4114s # n++; 4114s # } 4114s # else 4114s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4114s # g_variant_unref (child); 4114s # } 4114s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_signal_emitv (paramv, signal_id, 0, NULL); 4114s # for (n = 0; n < num_params + 1; n++) 4114s # g_value_unset (¶mv[n]); 4114s # g_free (paramv); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4114s # GVariant *changed_properties, 4114s # const gchar *const *invalidated_properties) 4114s # { 4114s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4114s # guint n; 4114s # const gchar *key; 4114s # GVariantIter *iter; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # g_variant_get (changed_properties, "a{sv}", &iter); 4114s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4114s # { 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4114s # g_datalist_remove_data (&proxy->priv->qdata, key); 4114s # if (info != NULL) 4114s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4114s # } 4114s # g_variant_iter_free (iter); 4114s # for (n = 0; invalidated_properties[n] != NULL; n++) 4114s # { 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4114s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4114s # if (info != NULL) 4114s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4114s # } 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4114s # { 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4114s # #else 4114s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4114s # #endif 4114s # 4114s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4114s # { 4114s # GObjectClass *gobject_class; 4114s # GDBusProxyClass *proxy_class; 4114s # 4114s # gobject_class = G_OBJECT_CLASS (klass); 4114s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4114s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4114s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4114s # 4114s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4114s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4114s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4114s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4114s # #endif 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new: 4114s # * @connection: A #GDBusConnection. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4114s # * @user_data: User data to pass to @callback. 4114s # * 4114s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_sync: 4114s # * @connection: A #GDBusConnection. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_sync ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4114s # * @user_data: User data to pass to @callback. 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new_for_bus ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /* ------------------------------------------------------------------------ */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeleton: 4114s # * 4114s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeletonClass: 4114s # * @parent_class: The parent class. 4114s # * 4114s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4114s # */ 4114s # 4114s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4114s # { 4114s # GValue *properties; 4114s # GList *changed_properties; 4114s # GSource *changed_properties_idle_source; 4114s # GMainContext *context; 4114s # GMutex lock; 4114s # }; 4114s # 4114s # static void 4114s # _org_project_signaling_iface_skeleton_handle_method_call ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name, 4114s # const gchar *method_name, 4114s # GVariant *parameters, 4114s # GDBusMethodInvocation *invocation, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # _ExtendedGDBusMethodInfo *info; 4114s # GVariantIter iter; 4114s # GVariant *child; 4114s # GValue *paramv; 4114s # gsize num_params; 4114s # guint num_extra; 4114s # gsize n; 4114s # guint signal_id; 4114s # GValue return_value = G_VALUE_INIT; 4114s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4114s # g_assert (info != NULL); 4114s # num_params = g_variant_n_children (parameters); 4114s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4114s # n = 0; 4114s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_set_object (¶mv[n++], skeleton); 4114s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4114s # g_value_set_object (¶mv[n++], invocation); 4114s # if (info->pass_fdlist) 4114s # { 4114s # #ifdef G_OS_UNIX 4114s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4114s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4114s # #else 4114s # g_assert_not_reached (); 4114s # #endif 4114s # } 4114s # g_variant_iter_init (&iter, parameters); 4114s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4114s # { 4114s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4114s # if (arg_info->use_gvariant) 4114s # { 4114s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4114s # g_value_set_variant (¶mv[n], child); 4114s # n++; 4114s # } 4114s # else 4114s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4114s # g_variant_unref (child); 4114s # } 4114s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4114s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4114s # if (!g_value_get_boolean (&return_value)) 4114s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4114s # g_value_unset (&return_value); 4114s # for (n = 0; n < num_params + num_extra; n++) 4114s # g_value_unset (¶mv[n]); 4114s # g_free (paramv); 4114s # } 4114s # 4114s # static GVariant * 4114s # _org_project_signaling_iface_skeleton_handle_get_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # GVariant *ret; 4114s # ret = NULL; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # g_value_init (&value, pspec->value_type); 4114s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4114s # g_value_unset (&value); 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _org_project_signaling_iface_skeleton_handle_set_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GVariant *variant, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # gboolean ret; 4114s # ret = FALSE; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # if (info->use_gvariant) 4114s # g_value_set_variant (&value, variant); 4114s # else 4114s # g_dbus_gvariant_to_gvalue (variant, &value); 4114s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # g_value_unset (&value); 4114s # ret = TRUE; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4114s # { 4114s # _org_project_signaling_iface_skeleton_handle_method_call, 4114s # _org_project_signaling_iface_skeleton_handle_get_property, 4114s # _org_project_signaling_iface_skeleton_handle_set_property, 4114s # {NULL} 4114s # }; 4114s # 4114s # static GDBusInterfaceInfo * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return org_project_signaling_iface_interface_info (); 4114s # } 4114s # 4114s # static GDBusInterfaceVTable * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4114s # } 4114s # 4114s # static GVariant * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4114s # 4114s # GVariantBuilder builder; 4114s # guint n; 4114s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4114s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4114s # goto out; 4114s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4114s # { 4114s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4114s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4114s # { 4114s # GVariant *value; 4114s # 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); 4114s # if (value != NULL) 4114s # { 4114s # g_variant_take_ref (value); 4114s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4114s # g_variant_unref (value); 4114s # } 4114s # } 4114s # } 4114s # out: 4114s # return g_variant_builder_end (&builder); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_simple_signal ( 4114s # OrgProjectSignalingIface *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 4114s # OrgProjectSignalingIface *object, 4114s # GVariant *arg_arg_h) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 4114s # arg_arg_h)); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #else 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #endif 4114s # static void 4114s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4114s # if (skeleton->priv->changed_properties_idle_source != NULL) 4114s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4114s # g_main_context_unref (skeleton->priv->context); 4114s # g_mutex_clear (&skeleton->priv->lock); 4114s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4114s # { 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4114s # #else 4114s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4114s # #endif 4114s # 4114s # g_mutex_init (&skeleton->priv->lock); 4114s # skeleton->priv->context = g_main_context_ref_thread_default (); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4114s # { 4114s # GObjectClass *gobject_class; 4114s # GDBusInterfaceSkeletonClass *skeleton_class; 4114s # 4114s # gobject_class = G_OBJECT_CLASS (klass); 4114s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4114s # 4114s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4114s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4114s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4114s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4114s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4114s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4114s # #endif 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4114s # { 4114s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4114s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_skeleton_new: 4114s # * 4114s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_skeleton_new (void) 4114s # { 4114s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4114s # } 4114s # /tmp/tmp74tbisad/tmp8guy6zf6.xml: 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmp8guy6zf6.xml', '--output', '-', '--body'] 4114s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4114s # Output: /* 4114s # * This file is generated by gdbus-codegen, do not modify it. 4114s # * 4114s # * The license of this code is the same as for the D-Bus interface description 4114s # * it was derived from. Note that it links to GLib, so must comply with the 4114s # * LGPL linking clauses. 4114s # */ 4114s # 4114s # #ifdef HAVE_CONFIG_H 4114s # # include "config.h" 4114s # #endif 4114s # 4114s # #include 4114s # #ifdef G_OS_UNIX 4114s # # include 4114s # #endif 4114s # 4114s # #ifdef G_ENABLE_DEBUG 4114s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4114s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4114s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4114s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4114s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4114s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4114s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4114s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4114s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4114s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4114s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4114s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4114s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4114s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4114s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4114s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4114s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4114s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4114s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4114s # #else /* !G_ENABLE_DEBUG */ 4114s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4114s # * Do not access GValues directly in your code. Instead, use the 4114s # * g_value_get_*() functions 4114s # */ 4114s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4114s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4114s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4114s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4114s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4114s # #endif /* !G_ENABLE_DEBUG */ 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusArgInfo parent_struct; 4114s # gboolean use_gvariant; 4114s # } _ExtendedGDBusArgInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusMethodInfo parent_struct; 4114s # const gchar *signal_name; 4114s # gboolean pass_fdlist; 4114s # } _ExtendedGDBusMethodInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusSignalInfo parent_struct; 4114s # const gchar *signal_name; 4114s # } _ExtendedGDBusSignalInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusPropertyInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # guint use_gvariant : 1; 4114s # guint emits_changed_signal : 1; 4114s # } _ExtendedGDBusPropertyInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusInterfaceInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # } _ExtendedGDBusInterfaceInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # const _ExtendedGDBusPropertyInfo *info; 4114s # guint prop_id; 4114s # GValue orig_value; /* the value before the change */ 4114s # } ChangedProperty; 4114s # 4114s # static void 4114s # _changed_property_free (ChangedProperty *data) 4114s # { 4114s # g_value_unset (&data->orig_value); 4114s # g_free (data); 4114s # } 4114s # 4114s # static gboolean 4114s # _g_strv_equal0 (gchar **a, gchar **b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # guint n; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # if (g_strv_length (a) != g_strv_length (b)) 4114s # goto out; 4114s # for (n = 0; a[n] != NULL; n++) 4114s # if (g_strcmp0 (a[n], b[n]) != 0) 4114s # goto out; 4114s # ret = TRUE; 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _g_variant_equal0 (GVariant *a, GVariant *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # ret = g_variant_equal (a, b); 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # G_GNUC_UNUSED static gboolean 4114s # _g_value_equal (const GValue *a, const GValue *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4114s # switch (G_VALUE_TYPE (a)) 4114s # { 4114s # case G_TYPE_BOOLEAN: 4114s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4114s # break; 4114s # case G_TYPE_UCHAR: 4114s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4114s # break; 4114s # case G_TYPE_INT: 4114s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4114s # break; 4114s # case G_TYPE_UINT: 4114s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4114s # break; 4114s # case G_TYPE_INT64: 4114s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4114s # break; 4114s # case G_TYPE_UINT64: 4114s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4114s # break; 4114s # case G_TYPE_DOUBLE: 4114s # { 4114s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4114s # gdouble da = g_value_get_double (a); 4114s # gdouble db = g_value_get_double (b); 4114s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4114s # } 4114s # break; 4114s # case G_TYPE_STRING: 4114s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4114s # break; 4114s # case G_TYPE_VARIANT: 4114s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4114s # break; 4114s # default: 4114s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4114s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4114s # else 4114s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4114s # break; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # /* ------------------------------------------------------------------------ 4114s # * Code for interface org.project.SignalingIface 4114s # * ------------------------------------------------------------------------ 4114s # */ 4114s # 4114s # /** 4114s # * SECTION:OrgProjectSignalingIface 4114s # * @title: OrgProjectSignalingIface 4114s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4114s # * 4114s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4114s # */ 4114s # 4114s # enum 4114s # { 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4114s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 4114s # }; 4114s # 4114s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4114s # 4114s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SimpleSignal", 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "simple-signal" 4114s # }; 4114s # 4114s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "arg_ay", 4114s # (gchar *) "ay", 4114s # NULL 4114s # }, 4114s # FALSE 4114s # }; 4114s # 4114s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SingleArgSignalAy", 4114s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 4114s # NULL 4114s # }, 4114s # "single-arg-signal-ay" 4114s # }; 4114s # 4114s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "org.project.SignalingIface", 4114s # NULL, 4114s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "org-project-signaling-iface", 4114s # }; 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_interface_info: 4114s # * 4114s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4114s # * 4114s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4114s # */ 4114s # GDBusInterfaceInfo * 4114s # org_project_signaling_iface_interface_info (void) 4114s # { 4114s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_override_properties: 4114s # * @klass: The class structure for a #GObject derived class. 4114s # * @property_id_begin: The property id to assign to the first overridden property. 4114s # * 4114s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4114s # * The properties are overridden in the order they are defined. 4114s # * 4114s # * Returns: The last property id. 4114s # */ 4114s # guint 4114s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4114s # { 4114s # return property_id_begin - 1; 4114s # } 4114s # 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_simple_signal ( 4114s # GClosure *closure, 4114s # GValue *return_value, 4114s # unsigned int n_param_values, 4114s # const GValue *param_values, 4114s # void *invocation_hint, 4114s # void *marshal_data) 4114s # { 4114s # g_cclosure_marshal_VOID__VOID (closure, 4114s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4114s # } 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 4114s # GClosure *closure, 4114s # GValue *return_value, 4114s # unsigned int n_param_values, 4114s # const GValue *param_values, 4114s # void *invocation_hint, 4114s # void *marshal_data) 4114s # { 4114s # g_cclosure_marshal_VOID__STRING (closure, 4114s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4114s # } 4114s # 4114s # 4114s # /** 4114s # * OrgProjectSignalingIface: 4114s # * 4114s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceIface: 4114s # * @parent_iface: The parent interface. 4114s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4114s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 4114s # * 4114s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4114s # */ 4114s # 4114s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4114s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4114s # 4114s # static void 4114s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4114s # { 4114s # /* GObject signals for received D-Bus signals: */ 4114s # /** 4114s # * OrgProjectSignalingIface::simple-signal: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * 4114s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4114s # * 4114s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4114s # */ 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4114s # g_signal_new ("simple-signal", 4114s # G_TYPE_FROM_INTERFACE (iface), 4114s # G_SIGNAL_RUN_LAST, 4114s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4114s # NULL, 4114s # NULL, 4114s # org_project_signaling_iface_signal_marshal_simple_signal, 4114s # G_TYPE_NONE, 4114s # 0); 4114s # 4114s # /** 4114s # * OrgProjectSignalingIface::single-arg-signal-ay: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * @arg_arg_ay: Argument. 4114s # * 4114s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 4114s # * 4114s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4114s # */ 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 4114s # g_signal_new ("single-arg-signal-ay", 4114s # G_TYPE_FROM_INTERFACE (iface), 4114s # G_SIGNAL_RUN_LAST, 4114s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 4114s # NULL, 4114s # NULL, 4114s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 4114s # G_TYPE_NONE, 4114s # 1, G_TYPE_STRING); 4114s # 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_emit_simple_signal: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * 4114s # * Emits the "SimpleSignal" D-Bus signal. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_emit_simple_signal ( 4114s # OrgProjectSignalingIface *object) 4114s # { 4114s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_emit_single_arg_signal_ay: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * @arg_arg_ay: Argument to pass with the signal. 4114s # * 4114s # * Emits the "SingleArgSignalAy" D-Bus signal. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_emit_single_arg_signal_ay ( 4114s # OrgProjectSignalingIface *object, 4114s # const gchar *arg_arg_ay) 4114s # { 4114s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 4114s # } 4114s # 4114s # /* ------------------------------------------------------------------------ */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceProxy: 4114s # * 4114s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceProxyClass: 4114s # * @parent_class: The parent class. 4114s # * 4114s # * Class structure for #OrgProjectSignalingIfaceProxy. 4114s # */ 4114s # 4114s # struct _OrgProjectSignalingIfaceProxyPrivate 4114s # { 4114s # GData *qdata; 4114s # }; 4114s # 4114s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4114s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4114s # 4114s # #else 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4114s # 4114s # #endif 4114s # static void 4114s # org_project_signaling_iface_proxy_finalize (GObject *object) 4114s # { 4114s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4114s # g_datalist_clear (&proxy->priv->qdata); 4114s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4114s # guint prop_id G_GNUC_UNUSED, 4114s # GValue *value G_GNUC_UNUSED, 4114s # GParamSpec *pspec G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4114s # guint prop_id G_GNUC_UNUSED, 4114s # const GValue *value G_GNUC_UNUSED, 4114s # GParamSpec *pspec G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4114s # const gchar *sender_name G_GNUC_UNUSED, 4114s # const gchar *signal_name, 4114s # GVariant *parameters) 4114s # { 4114s # _ExtendedGDBusSignalInfo *info; 4114s # GVariantIter iter; 4114s # GVariant *child; 4114s # GValue *paramv; 4114s # gsize num_params; 4114s # gsize n; 4114s # guint signal_id; 4114s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4114s # if (info == NULL) 4114s # return; 4114s # num_params = g_variant_n_children (parameters); 4114s # paramv = g_new0 (GValue, num_params + 1); 4114s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_set_object (¶mv[0], proxy); 4114s # g_variant_iter_init (&iter, parameters); 4114s # n = 1; 4114s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4114s # { 4114s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4114s # if (arg_info->use_gvariant) 4114s # { 4114s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4114s # g_value_set_variant (¶mv[n], child); 4114s # n++; 4114s # } 4114s # else 4114s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4114s # g_variant_unref (child); 4114s # } 4114s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_signal_emitv (paramv, signal_id, 0, NULL); 4114s # for (n = 0; n < num_params + 1; n++) 4114s # g_value_unset (¶mv[n]); 4114s # g_free (paramv); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4114s # GVariant *changed_properties, 4114s # const gchar *const *invalidated_properties) 4114s # { 4114s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4114s # guint n; 4114s # const gchar *key; 4114s # GVariantIter *iter; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # g_variant_get (changed_properties, "a{sv}", &iter); 4114s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4114s # { 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4114s # g_datalist_remove_data (&proxy->priv->qdata, key); 4114s # if (info != NULL) 4114s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4114s # } 4114s # g_variant_iter_free (iter); 4114s # for (n = 0; invalidated_properties[n] != NULL; n++) 4114s # { 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4114s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4114s # if (info != NULL) 4114s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4114s # } 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4114s # { 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4114s # #else 4114s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4114s # #endif 4114s # 4114s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4114s # { 4114s # GObjectClass *gobject_class; 4114s # GDBusProxyClass *proxy_class; 4114s # 4114s # gobject_class = G_OBJECT_CLASS (klass); 4114s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4114s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4114s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4114s # 4114s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4114s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4114s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4114s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4114s # #endif 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new: 4114s # * @connection: A #GDBusConnection. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4114s # * @user_data: User data to pass to @callback. 4114s # * 4114s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_sync: 4114s # * @connection: A #GDBusConnection. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_sync ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4114s # * @user_data: User data to pass to @callback. 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new_for_bus ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /* ------------------------------------------------------------------------ */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeleton: 4114s # * 4114s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeletonClass: 4114s # * @parent_class: The parent class. 4114s # * 4114s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4114s # */ 4114s # 4114s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4114s # { 4114s # GValue *properties; 4114s # GList *changed_properties; 4114s # GSource *changed_properties_idle_source; 4114s # GMainContext *context; 4114s # GMutex lock; 4114s # }; 4114s # 4114s # static void 4114s # _org_project_signaling_iface_skeleton_handle_method_call ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name, 4114s # const gchar *method_name, 4114s # GVariant *parameters, 4114s # GDBusMethodInvocation *invocation, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # _ExtendedGDBusMethodInfo *info; 4114s # GVariantIter iter; 4114s # GVariant *child; 4114s # GValue *paramv; 4114s # gsize num_params; 4114s # guint num_extra; 4114s # gsize n; 4114s # guint signal_id; 4114s # GValue return_value = G_VALUE_INIT; 4114s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4114s # g_assert (info != NULL); 4114s # num_params = g_variant_n_children (parameters); 4114s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4114s # n = 0; 4114s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_set_object (¶mv[n++], skeleton); 4114s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4114s # g_value_set_object (¶mv[n++], invocation); 4114s # if (info->pass_fdlist) 4114s # { 4114s # #ifdef G_OS_UNIX 4114s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4114s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4114s # #else 4114s # g_assert_not_reached (); 4114s # #endif 4114s # } 4114s # g_variant_iter_init (&iter, parameters); 4114s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4114s # { 4114s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4114s # if (arg_info->use_gvariant) 4114s # { 4114s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4114s # g_value_set_variant (¶mv[n], child); 4114s # n++; 4114s # } 4114s # else 4114s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4114s # g_variant_unref (child); 4114s # } 4114s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4114s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4114s # if (!g_value_get_boolean (&return_value)) 4114s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4114s # g_value_unset (&return_value); 4114s # for (n = 0; n < num_params + num_extra; n++) 4114s # g_value_unset (¶mv[n]); 4114s # g_free (paramv); 4114s # } 4114s # 4114s # static GVariant * 4114s # _org_project_signaling_iface_skeleton_handle_get_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # GVariant *ret; 4114s # ret = NULL; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # g_value_init (&value, pspec->value_type); 4114s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4114s # g_value_unset (&value); 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _org_project_signaling_iface_skeleton_handle_set_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GVariant *variant, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # gboolean ret; 4114s # ret = FALSE; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # if (info->use_gvariant) 4114s # g_value_set_variant (&value, variant); 4114s # else 4114s # g_dbus_gvariant_to_gvalue (variant, &value); 4114s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # g_value_unset (&value); 4114s # ret = TRUE; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4114s # { 4114s # _org_project_signaling_iface_skeleton_handle_method_call, 4114s # _org_project_signaling_iface_skeleton_handle_get_property, 4114s # _org_project_signaling_iface_skeleton_handle_set_property, 4114s # {NULL} 4114s # }; 4114s # 4114s # static GDBusInterfaceInfo * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return org_project_signaling_iface_interface_info (); 4114s # } 4114s # 4114s # static GDBusInterfaceVTable * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4114s # } 4114s # 4114s # static GVariant * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4114s # 4114s # GVariantBuilder builder; 4114s # guint n; 4114s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4114s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4114s # goto out; 4114s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4114s # { 4114s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4114s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4114s # { 4114s # GVariant *value; 4114s # 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); 4114s # if (value != NULL) 4114s # { 4114s # g_variant_take_ref (value); 4114s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4114s # g_variant_unref (value); 4114s # } 4114s # } 4114s # } 4114s # out: 4114s # return g_variant_builder_end (&builder); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_simple_signal ( 4114s # OrgProjectSignalingIface *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 4114s # OrgProjectSignalingIface *object, 4114s # const gchar *arg_arg_ay) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 4114s # arg_arg_ay)); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #else 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #endif 4114s # static void 4114s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4114s # if (skeleton->priv->changed_properties_idle_source != NULL) 4114s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4114s # g_main_context_unref (skeleton->priv->context); 4114s # g_mutex_clear (&skeleton->priv->lock); 4114s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4114s # { 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4114s # #else 4114s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4114s # #endif 4114s # 4114s # g_mutex_init (&skeleton->priv->lock); 4114s # skeleton->priv->context = g_main_context_ref_thread_default (); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4114s # { 4114s # GObjectClass *gobject_class; 4114s # GDBusInterfaceSkeletonClass *skeleton_class; 4114s # 4114s # gobject_class = G_OBJECT_CLASS (klass); 4114s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4114s # 4114s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4114s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4114s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4114s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4114s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4114s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4114s # #endif 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4114s # { 4114s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4114s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_skeleton_new: 4114s # * 4114s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_skeleton_new (void) 4114s # { 4114s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4114s # } 4114s # /tmp/tmp74tbisad/tmp0r6fzxj2.xml: 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmp0r6fzxj2.xml', '--output', '-', '--body'] 4114s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4114s # Output: /* 4114s # * This file is generated by gdbus-codegen, do not modify it. 4114s # * 4114s # * The license of this code is the same as for the D-Bus interface description 4114s # * it was derived from. Note that it links to GLib, so must comply with the 4114s # * LGPL linking clauses. 4114s # */ 4114s # 4114s # #ifdef HAVE_CONFIG_H 4114s # # include "config.h" 4114s # #endif 4114s # 4114s # #include 4114s # #ifdef G_OS_UNIX 4114s # # include 4114s # #endif 4114s # 4114s # #ifdef G_ENABLE_DEBUG 4114s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4114s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4114s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4114s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4114s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4114s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4114s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4114s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4114s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4114s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4114s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4114s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4114s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4114s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4114s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4114s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4114s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4114s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4114s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4114s # #else /* !G_ENABLE_DEBUG */ 4114s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4114s # * Do not access GValues directly in your code. Instead, use the 4114s # * g_value_get_*() functions 4114s # */ 4114s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4114s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4114s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4114s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4114s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4114s # #endif /* !G_ENABLE_DEBUG */ 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusArgInfo parent_struct; 4114s # gboolean use_gvariant; 4114s # } _ExtendedGDBusArgInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusMethodInfo parent_struct; 4114s # const gchar *signal_name; 4114s # gboolean pass_fdlist; 4114s # } _ExtendedGDBusMethodInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusSignalInfo parent_struct; 4114s # const gchar *signal_name; 4114s # } _ExtendedGDBusSignalInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusPropertyInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # guint use_gvariant : 1; 4114s # guint emits_changed_signal : 1; 4114s # } _ExtendedGDBusPropertyInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusInterfaceInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # } _ExtendedGDBusInterfaceInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # const _ExtendedGDBusPropertyInfo *info; 4114s # guint prop_id; 4114s # GValue orig_value; /* the value before the change */ 4114s # } ChangedProperty; 4114s # 4114s # static void 4114s # _changed_property_free (ChangedProperty *data) 4114s # { 4114s # g_value_unset (&data->orig_value); 4114s # g_free (data); 4114s # } 4114s # 4114s # static gboolean 4114s # _g_strv_equal0 (gchar **a, gchar **b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # guint n; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # if (g_strv_length (a) != g_strv_length (b)) 4114s # goto out; 4114s # for (n = 0; a[n] != NULL; n++) 4114s # if (g_strcmp0 (a[n], b[n]) != 0) 4114s # goto out; 4114s # ret = TRUE; 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _g_variant_equal0 (GVariant *a, GVariant *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # ret = g_variant_equal (a, b); 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # G_GNUC_UNUSED static gboolean 4114s # _g_value_equal (const GValue *a, const GValue *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4114s # switch (G_VALUE_TYPE (a)) 4114s # { 4114s # case G_TYPE_BOOLEAN: 4114s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4114s # break; 4114s # case G_TYPE_UCHAR: 4114s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4114s # break; 4114s # case G_TYPE_INT: 4114s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4114s # break; 4114s # case G_TYPE_UINT: 4114s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4114s # break; 4114s # case G_TYPE_INT64: 4114s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4114s # break; 4114s # case G_TYPE_UINT64: 4114s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4114s # break; 4114s # case G_TYPE_DOUBLE: 4114s # { 4114s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4114s # gdouble da = g_value_get_double (a); 4114s # gdouble db = g_value_get_double (b); 4114s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4114s # } 4114s # break; 4114s # case G_TYPE_STRING: 4114s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4114s # break; 4114s # case G_TYPE_VARIANT: 4114s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4114s # break; 4114s # default: 4114s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4114s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4114s # else 4114s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4114s # break; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # /* ------------------------------------------------------------------------ 4114s # * Code for interface org.project.SignalingIface 4114s # * ------------------------------------------------------------------------ 4114s # */ 4114s # 4114s # /** 4114s # * SECTION:OrgProjectSignalingIface 4114s # * @title: OrgProjectSignalingIface 4114s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4114s # * 4114s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4114s # */ 4114s # 4114s # enum 4114s # { 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4114s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 4114s # }; 4114s # 4114s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4114s # 4114s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SimpleSignal", 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "simple-signal" 4114s # }; 4114s # 4114s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "arg_as", 4114s # (gchar *) "as", 4114s # NULL 4114s # }, 4114s # FALSE 4114s # }; 4114s # 4114s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SingleArgSignalAs", 4114s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 4114s # NULL 4114s # }, 4114s # "single-arg-signal-as" 4114s # }; 4114s # 4114s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "org.project.SignalingIface", 4114s # NULL, 4114s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "org-project-signaling-iface", 4114s # }; 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_interface_info: 4114s # * 4114s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4114s # * 4114s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4114s # */ 4114s # GDBusInterfaceInfo * 4114s # org_project_signaling_iface_interface_info (void) 4114s # { 4114s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_override_properties: 4114s # * @klass: The class structure for a #GObject derived class. 4114s # * @property_id_begin: The property id to assign to the first overridden property. 4114s # * 4114s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4114s # * The properties are overridden in the order they are defined. 4114s # * 4114s # * Returns: The last property id. 4114s # */ 4114s # guint 4114s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4114s # { 4114s # return property_id_begin - 1; 4114s # } 4114s # 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_simple_signal ( 4114s # GClosure *closure, 4114s # GValue *return_value, 4114s # unsigned int n_param_values, 4114s # const GValue *param_values, 4114s # void *invocation_hint, 4114s # void *marshal_data) 4114s # { 4114s # g_cclosure_marshal_VOID__VOID (closure, 4114s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4114s # } 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 4114s # GClosure *closure, 4114s # GValue *return_value, 4114s # unsigned int n_param_values, 4114s # const GValue *param_values, 4114s # void *invocation_hint, 4114s # void *marshal_data) 4114s # { 4114s # g_cclosure_marshal_VOID__BOXED (closure, 4114s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4114s # } 4114s # 4114s # 4114s # /** 4114s # * OrgProjectSignalingIface: 4114s # * 4114s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceIface: 4114s # * @parent_iface: The parent interface. 4114s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4114s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 4114s # * 4114s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4114s # */ 4114s # 4114s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4114s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4114s # 4114s # static void 4114s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4114s # { 4114s # /* GObject signals for received D-Bus signals: */ 4114s # /** 4114s # * OrgProjectSignalingIface::simple-signal: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * 4114s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4114s # * 4114s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4114s # */ 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4114s # g_signal_new ("simple-signal", 4114s # G_TYPE_FROM_INTERFACE (iface), 4114s # G_SIGNAL_RUN_LAST, 4114s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4114s # NULL, 4114s # NULL, 4114s # org_project_signaling_iface_signal_marshal_simple_signal, 4114s # G_TYPE_NONE, 4114s # 0); 4114s # 4114s # /** 4114s # * OrgProjectSignalingIface::single-arg-signal-as: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * @arg_arg_as: Argument. 4114s # * 4114s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 4114s # * 4114s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4114s # */ 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 4114s # g_signal_new ("single-arg-signal-as", 4114s # G_TYPE_FROM_INTERFACE (iface), 4114s # G_SIGNAL_RUN_LAST, 4114s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 4114s # NULL, 4114s # NULL, 4114s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 4114s # G_TYPE_NONE, 4114s # 1, G_TYPE_STRV); 4114s # 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_emit_simple_signal: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * 4114s # * Emits the "SimpleSignal" D-Bus signal. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_emit_simple_signal ( 4114s # OrgProjectSignalingIface *object) 4114s # { 4114s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_emit_single_arg_signal_as: 4114s # * @object: A #OrgProjectSignalingIface. 4114s # * @arg_arg_as: Argument to pass with the signal. 4114s # * 4114s # * Emits the "SingleArgSignalAs" D-Bus signal. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_emit_single_arg_signal_as ( 4114s # OrgProjectSignalingIface *object, 4114s # const gchar *const *arg_arg_as) 4114s # { 4114s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 4114s # } 4114s # 4114s # /* ------------------------------------------------------------------------ */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceProxy: 4114s # * 4114s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceProxyClass: 4114s # * @parent_class: The parent class. 4114s # * 4114s # * Class structure for #OrgProjectSignalingIfaceProxy. 4114s # */ 4114s # 4114s # struct _OrgProjectSignalingIfaceProxyPrivate 4114s # { 4114s # GData *qdata; 4114s # }; 4114s # 4114s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4114s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4114s # 4114s # #else 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4114s # 4114s # #endif 4114s # static void 4114s # org_project_signaling_iface_proxy_finalize (GObject *object) 4114s # { 4114s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4114s # g_datalist_clear (&proxy->priv->qdata); 4114s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4114s # guint prop_id G_GNUC_UNUSED, 4114s # GValue *value G_GNUC_UNUSED, 4114s # GParamSpec *pspec G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4114s # guint prop_id G_GNUC_UNUSED, 4114s # const GValue *value G_GNUC_UNUSED, 4114s # GParamSpec *pspec G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4114s # const gchar *sender_name G_GNUC_UNUSED, 4114s # const gchar *signal_name, 4114s # GVariant *parameters) 4114s # { 4114s # _ExtendedGDBusSignalInfo *info; 4114s # GVariantIter iter; 4114s # GVariant *child; 4114s # GValue *paramv; 4114s # gsize num_params; 4114s # gsize n; 4114s # guint signal_id; 4114s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4114s # if (info == NULL) 4114s # return; 4114s # num_params = g_variant_n_children (parameters); 4114s # paramv = g_new0 (GValue, num_params + 1); 4114s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_set_object (¶mv[0], proxy); 4114s # g_variant_iter_init (&iter, parameters); 4114s # n = 1; 4114s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4114s # { 4114s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4114s # if (arg_info->use_gvariant) 4114s # { 4114s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4114s # g_value_set_variant (¶mv[n], child); 4114s # n++; 4114s # } 4114s # else 4114s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4114s # g_variant_unref (child); 4114s # } 4114s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_signal_emitv (paramv, signal_id, 0, NULL); 4114s # for (n = 0; n < num_params + 1; n++) 4114s # g_value_unset (¶mv[n]); 4114s # g_free (paramv); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4114s # GVariant *changed_properties, 4114s # const gchar *const *invalidated_properties) 4114s # { 4114s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4114s # guint n; 4114s # const gchar *key; 4114s # GVariantIter *iter; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # g_variant_get (changed_properties, "a{sv}", &iter); 4114s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4114s # { 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4114s # g_datalist_remove_data (&proxy->priv->qdata, key); 4114s # if (info != NULL) 4114s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4114s # } 4114s # g_variant_iter_free (iter); 4114s # for (n = 0; invalidated_properties[n] != NULL; n++) 4114s # { 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4114s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4114s # if (info != NULL) 4114s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4114s # } 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4114s # { 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4114s # #else 4114s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4114s # #endif 4114s # 4114s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4114s # { 4114s # GObjectClass *gobject_class; 4114s # GDBusProxyClass *proxy_class; 4114s # 4114s # gobject_class = G_OBJECT_CLASS (klass); 4114s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4114s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4114s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4114s # 4114s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4114s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4114s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4114s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4114s # #endif 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new: 4114s # * @connection: A #GDBusConnection. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4114s # * @user_data: User data to pass to @callback. 4114s # * 4114s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_sync: 4114s # * @connection: A #GDBusConnection. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_sync ( 4114s # GDBusConnection *connection, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4114s # * @user_data: User data to pass to @callback. 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4114s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4114s # */ 4114s # void 4114s # org_project_signaling_iface_proxy_new_for_bus ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GAsyncReadyCallback callback, 4114s # gpointer user_data) 4114s # { 4114s # 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); 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4114s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4114s # GAsyncResult *res, 4114s # GError **error) 4114s # { 4114s # GObject *ret; 4114s # GObject *source_object; 4114s # source_object = g_async_result_get_source_object (res); 4114s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4114s # g_object_unref (source_object); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4114s # * @bus_type: A #GBusType. 4114s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4114s # * @name: A bus name (well-known or unique). 4114s # * @object_path: An object path. 4114s # * @cancellable: (nullable): A #GCancellable or %NULL. 4114s # * @error: Return location for error or %NULL 4114s # * 4114s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4114s # * 4114s # * The calling thread is blocked until a reply is received. 4114s # * 4114s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4114s # GBusType bus_type, 4114s # GDBusProxyFlags flags, 4114s # const gchar *name, 4114s # const gchar *object_path, 4114s # GCancellable *cancellable, 4114s # GError **error) 4114s # { 4114s # GInitable *ret; 4114s # 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); 4114s # if (ret != NULL) 4114s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4114s # else 4114s # return NULL; 4114s # } 4114s # 4114s # 4114s # /* ------------------------------------------------------------------------ */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeleton: 4114s # * 4114s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4114s # */ 4114s # 4114s # /** 4114s # * OrgProjectSignalingIfaceSkeletonClass: 4114s # * @parent_class: The parent class. 4114s # * 4114s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4114s # */ 4114s # 4114s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4114s # { 4114s # GValue *properties; 4114s # GList *changed_properties; 4114s # GSource *changed_properties_idle_source; 4114s # GMainContext *context; 4114s # GMutex lock; 4114s # }; 4114s # 4114s # static void 4114s # _org_project_signaling_iface_skeleton_handle_method_call ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name, 4114s # const gchar *method_name, 4114s # GVariant *parameters, 4114s # GDBusMethodInvocation *invocation, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # _ExtendedGDBusMethodInfo *info; 4114s # GVariantIter iter; 4114s # GVariant *child; 4114s # GValue *paramv; 4114s # gsize num_params; 4114s # guint num_extra; 4114s # gsize n; 4114s # guint signal_id; 4114s # GValue return_value = G_VALUE_INIT; 4114s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4114s # g_assert (info != NULL); 4114s # num_params = g_variant_n_children (parameters); 4114s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4114s # n = 0; 4114s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_set_object (¶mv[n++], skeleton); 4114s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4114s # g_value_set_object (¶mv[n++], invocation); 4114s # if (info->pass_fdlist) 4114s # { 4114s # #ifdef G_OS_UNIX 4114s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4114s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4114s # #else 4114s # g_assert_not_reached (); 4114s # #endif 4114s # } 4114s # g_variant_iter_init (&iter, parameters); 4114s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4114s # { 4114s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4114s # if (arg_info->use_gvariant) 4114s # { 4114s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4114s # g_value_set_variant (¶mv[n], child); 4114s # n++; 4114s # } 4114s # else 4114s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4114s # g_variant_unref (child); 4114s # } 4114s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4114s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4114s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4114s # if (!g_value_get_boolean (&return_value)) 4114s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4114s # g_value_unset (&return_value); 4114s # for (n = 0; n < num_params + num_extra; n++) 4114s # g_value_unset (¶mv[n]); 4114s # g_free (paramv); 4114s # } 4114s # 4114s # static GVariant * 4114s # _org_project_signaling_iface_skeleton_handle_get_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # GVariant *ret; 4114s # ret = NULL; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # g_value_init (&value, pspec->value_type); 4114s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4114s # g_value_unset (&value); 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _org_project_signaling_iface_skeleton_handle_set_property ( 4114s # GDBusConnection *connection G_GNUC_UNUSED, 4114s # const gchar *sender G_GNUC_UNUSED, 4114s # const gchar *object_path G_GNUC_UNUSED, 4114s # const gchar *interface_name G_GNUC_UNUSED, 4114s # const gchar *property_name, 4114s # GVariant *variant, 4114s # GError **error, 4114s # gpointer user_data) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4114s # GValue value = G_VALUE_INIT; 4114s # GParamSpec *pspec; 4114s # _ExtendedGDBusPropertyInfo *info; 4114s # gboolean ret; 4114s # ret = FALSE; 4114s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4114s # g_assert (info != NULL); 4114s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4114s # if (pspec == NULL) 4114s # { 4114s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4114s # } 4114s # else 4114s # { 4114s # if (info->use_gvariant) 4114s # g_value_set_variant (&value, variant); 4114s # else 4114s # g_dbus_gvariant_to_gvalue (variant, &value); 4114s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4114s # g_value_unset (&value); 4114s # ret = TRUE; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4114s # { 4114s # _org_project_signaling_iface_skeleton_handle_method_call, 4114s # _org_project_signaling_iface_skeleton_handle_get_property, 4114s # _org_project_signaling_iface_skeleton_handle_set_property, 4114s # {NULL} 4114s # }; 4114s # 4114s # static GDBusInterfaceInfo * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return org_project_signaling_iface_interface_info (); 4114s # } 4114s # 4114s # static GDBusInterfaceVTable * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4114s # { 4114s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4114s # } 4114s # 4114s # static GVariant * 4114s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4114s # 4114s # GVariantBuilder builder; 4114s # guint n; 4114s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4114s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4114s # goto out; 4114s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4114s # { 4114s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4114s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4114s # { 4114s # GVariant *value; 4114s # 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); 4114s # if (value != NULL) 4114s # { 4114s # g_variant_take_ref (value); 4114s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4114s # g_variant_unref (value); 4114s # } 4114s # } 4114s # } 4114s # out: 4114s # return g_variant_builder_end (&builder); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4114s # { 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_simple_signal ( 4114s # OrgProjectSignalingIface *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void 4114s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 4114s # OrgProjectSignalingIface *object, 4114s # const gchar *const *arg_arg_as) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # 4114s # GList *connections, *l; 4114s # GVariant *signal_variant; 4114s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4114s # 4114s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 4114s # arg_arg_as)); 4114s # for (l = connections; l != NULL; l = l->next) 4114s # { 4114s # GDBusConnection *connection = l->data; 4114s # g_dbus_connection_emit_signal (connection, 4114s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 4114s # signal_variant, NULL); 4114s # } 4114s # g_variant_unref (signal_variant); 4114s # g_list_free_full (connections, g_object_unref); 4114s # } 4114s # 4114s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #else 4114s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4114s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4114s # 4114s # #endif 4114s # static void 4114s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4114s # { 4114s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4114s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4114s # if (skeleton->priv->changed_properties_idle_source != NULL) 4114s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4114s # g_main_context_unref (skeleton->priv->context); 4114s # g_mutex_clear (&skeleton->priv->lock); 4114s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4114s # { 4114s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4114s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4114s # #else 4114s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4114s # #endif 4114s # 4114s # g_mutex_init (&skeleton->priv->lock); 4114s # skeleton->priv->context = g_main_context_ref_thread_default (); 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4114s # { 4114s # GObjectClass *gobject_class; 4114s # GDBusInterfaceSkeletonClass *skeleton_class; 4114s # 4114s # gobject_class = G_OBJECT_CLASS (klass); 4114s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4114s # 4114s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4114s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4114s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4114s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4114s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4114s # 4114s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4114s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4114s # #endif 4114s # } 4114s # 4114s # static void 4114s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4114s # { 4114s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4114s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_skeleton_new: 4114s # * 4114s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4114s # * 4114s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4114s # */ 4114s # OrgProjectSignalingIface * 4114s # org_project_signaling_iface_skeleton_new (void) 4114s # { 4114s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4114s # } 4114s # /tmp/tmp74tbisad/tmpkaqs_st0.xml: 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # 4114s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmpkaqs_st0.xml', '--output', '-', '--body'] 4114s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4114s # Output: /* 4114s # * This file is generated by gdbus-codegen, do not modify it. 4114s # * 4114s # * The license of this code is the same as for the D-Bus interface description 4114s # * it was derived from. Note that it links to GLib, so must comply with the 4114s # * LGPL linking clauses. 4114s # */ 4114s # 4114s # #ifdef HAVE_CONFIG_H 4114s # # include "config.h" 4114s # #endif 4114s # 4114s # #include 4114s # #ifdef G_OS_UNIX 4114s # # include 4114s # #endif 4114s # 4114s # #ifdef G_ENABLE_DEBUG 4114s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4114s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4114s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4114s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4114s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4114s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4114s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4114s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4114s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4114s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4114s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4114s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4114s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4114s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4114s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4114s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4114s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4114s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4114s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4114s # #else /* !G_ENABLE_DEBUG */ 4114s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4114s # * Do not access GValues directly in your code. Instead, use the 4114s # * g_value_get_*() functions 4114s # */ 4114s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4114s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4114s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4114s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4114s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4114s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4114s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4114s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4114s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4114s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4114s # #endif /* !G_ENABLE_DEBUG */ 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusArgInfo parent_struct; 4114s # gboolean use_gvariant; 4114s # } _ExtendedGDBusArgInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusMethodInfo parent_struct; 4114s # const gchar *signal_name; 4114s # gboolean pass_fdlist; 4114s # } _ExtendedGDBusMethodInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusSignalInfo parent_struct; 4114s # const gchar *signal_name; 4114s # } _ExtendedGDBusSignalInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusPropertyInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # guint use_gvariant : 1; 4114s # guint emits_changed_signal : 1; 4114s # } _ExtendedGDBusPropertyInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # GDBusInterfaceInfo parent_struct; 4114s # const gchar *hyphen_name; 4114s # } _ExtendedGDBusInterfaceInfo; 4114s # 4114s # typedef struct 4114s # { 4114s # const _ExtendedGDBusPropertyInfo *info; 4114s # guint prop_id; 4114s # GValue orig_value; /* the value before the change */ 4114s # } ChangedProperty; 4114s # 4114s # static void 4114s # _changed_property_free (ChangedProperty *data) 4114s # { 4114s # g_value_unset (&data->orig_value); 4114s # g_free (data); 4114s # } 4114s # 4114s # static gboolean 4114s # _g_strv_equal0 (gchar **a, gchar **b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # guint n; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # if (g_strv_length (a) != g_strv_length (b)) 4114s # goto out; 4114s # for (n = 0; a[n] != NULL; n++) 4114s # if (g_strcmp0 (a[n], b[n]) != 0) 4114s # goto out; 4114s # ret = TRUE; 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # static gboolean 4114s # _g_variant_equal0 (GVariant *a, GVariant *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # if (a == NULL && b == NULL) 4114s # { 4114s # ret = TRUE; 4114s # goto out; 4114s # } 4114s # if (a == NULL || b == NULL) 4114s # goto out; 4114s # ret = g_variant_equal (a, b); 4114s # out: 4114s # return ret; 4114s # } 4114s # 4114s # G_GNUC_UNUSED static gboolean 4114s # _g_value_equal (const GValue *a, const GValue *b) 4114s # { 4114s # gboolean ret = FALSE; 4114s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4114s # switch (G_VALUE_TYPE (a)) 4114s # { 4114s # case G_TYPE_BOOLEAN: 4114s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4114s # break; 4114s # case G_TYPE_UCHAR: 4114s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4114s # break; 4114s # case G_TYPE_INT: 4114s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4114s # break; 4114s # case G_TYPE_UINT: 4114s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4114s # break; 4114s # case G_TYPE_INT64: 4114s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4114s # break; 4114s # case G_TYPE_UINT64: 4114s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4114s # break; 4114s # case G_TYPE_DOUBLE: 4114s # { 4114s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4114s # gdouble da = g_value_get_double (a); 4114s # gdouble db = g_value_get_double (b); 4114s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4114s # } 4114s # break; 4114s # case G_TYPE_STRING: 4114s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4114s # break; 4114s # case G_TYPE_VARIANT: 4114s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4114s # break; 4114s # default: 4114s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4114s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4114s # else 4114s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4114s # break; 4114s # } 4114s # return ret; 4114s # } 4114s # 4114s # /* ------------------------------------------------------------------------ 4114s # * Code for interface org.project.SignalingIface 4114s # * ------------------------------------------------------------------------ 4114s # */ 4114s # 4114s # /** 4114s # * SECTION:OrgProjectSignalingIface 4114s # * @title: OrgProjectSignalingIface 4114s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4114s # * 4114s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4114s # */ 4114s # 4114s # enum 4114s # { 4114s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4114s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 4114s # }; 4114s # 4114s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4114s # 4114s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SimpleSignal", 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "simple-signal" 4114s # }; 4114s # 4114s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "arg_ao", 4114s # (gchar *) "ao", 4114s # NULL 4114s # }, 4114s # FALSE 4114s # }; 4114s # 4114s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "SingleArgSignalAo", 4114s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 4114s # NULL 4114s # }, 4114s # "single-arg-signal-ao" 4114s # }; 4114s # 4114s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4114s # { 4114s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4114s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 4114s # NULL 4114s # }; 4114s # 4114s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4114s # { 4114s # { 4114s # -1, 4114s # (gchar *) "org.project.SignalingIface", 4114s # NULL, 4114s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4114s # NULL, 4114s # NULL 4114s # }, 4114s # "org-project-signaling-iface", 4114s # }; 4114s # 4114s # 4114s # /** 4114s # * org_project_signaling_iface_interface_info: 4114s # * 4114s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4114s # * 4114s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4114s # */ 4114s # GDBusInterfaceInfo * 4114s # org_project_signaling_iface_interface_info (void) 4114s # { 4114s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4114s # } 4114s # 4114s # /** 4114s # * org_project_signaling_iface_override_properties: 4114s # * @klass: The class structure for a #GObject derived class. 4114s # * @property_id_begin: The property id to assign to the first overridden property. 4114s # * 4114s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4114s # * The properties are overridden in the order they are defined. 4114s # * 4114s # * Returns: The last property id. 4114s # */ 4114s # guint 4114s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4114s # { 4114s # return property_id_begin - 1; 4114s # } 4114s # 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_simple_signal ( 4114s # GClosure *closure, 4114s # GValue *return_value, 4114s # unsigned int n_param_values, 4114s # const GValue *param_values, 4114s # void *invocation_hint, 4114s # void *marshal_data) 4114s # { 4114s # g_cclosure_marshal_VOID__VOID (closure, 4114s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4114s # } 4114s # 4114s # inline static void 4114s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 4115s # GClosure *closure, 4115s # GValue *return_value, 4115s # unsigned int n_param_values, 4115s # const GValue *param_values, 4115s # void *invocation_hint, 4115s # void *marshal_data) 4115s # { 4115s # g_cclosure_marshal_VOID__BOXED (closure, 4115s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4115s # } 4115s # 4115s # 4115s # /** 4115s # * OrgProjectSignalingIface: 4115s # * 4115s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4115s # */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceIface: 4115s # * @parent_iface: The parent interface. 4115s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4115s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 4115s # * 4115s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4115s # */ 4115s # 4115s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4115s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4115s # 4115s # static void 4115s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4115s # { 4115s # /* GObject signals for received D-Bus signals: */ 4115s # /** 4115s # * OrgProjectSignalingIface::simple-signal: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * 4115s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4115s # * 4115s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4115s # */ 4115s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4115s # g_signal_new ("simple-signal", 4115s # G_TYPE_FROM_INTERFACE (iface), 4115s # G_SIGNAL_RUN_LAST, 4115s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4115s # NULL, 4115s # NULL, 4115s # org_project_signaling_iface_signal_marshal_simple_signal, 4115s # G_TYPE_NONE, 4115s # 0); 4115s # 4115s # /** 4115s # * OrgProjectSignalingIface::single-arg-signal-ao: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * @arg_arg_ao: Argument. 4115s # * 4115s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 4115s # * 4115s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4115s # */ 4115s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 4115s # g_signal_new ("single-arg-signal-ao", 4115s # G_TYPE_FROM_INTERFACE (iface), 4115s # G_SIGNAL_RUN_LAST, 4115s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 4115s # NULL, 4115s # NULL, 4115s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 4115s # G_TYPE_NONE, 4115s # 1, G_TYPE_STRV); 4115s # 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_emit_simple_signal: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * 4115s # * Emits the "SimpleSignal" D-Bus signal. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_emit_simple_signal ( 4115s # OrgProjectSignalingIface *object) 4115s # { 4115s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_emit_single_arg_signal_ao: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * @arg_arg_ao: Argument to pass with the signal. 4115s # * 4115s # * Emits the "SingleArgSignalAo" D-Bus signal. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_emit_single_arg_signal_ao ( 4115s # OrgProjectSignalingIface *object, 4115s # const gchar *const *arg_arg_ao) 4115s # { 4115s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 4115s # } 4115s # 4115s # /* ------------------------------------------------------------------------ */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceProxy: 4115s # * 4115s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4115s # */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceProxyClass: 4115s # * @parent_class: The parent class. 4115s # * 4115s # * Class structure for #OrgProjectSignalingIfaceProxy. 4115s # */ 4115s # 4115s # struct _OrgProjectSignalingIfaceProxyPrivate 4115s # { 4115s # GData *qdata; 4115s # }; 4115s # 4115s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4115s # 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4115s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4115s # 4115s # #else 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4115s # 4115s # #endif 4115s # static void 4115s # org_project_signaling_iface_proxy_finalize (GObject *object) 4115s # { 4115s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4115s # g_datalist_clear (&proxy->priv->qdata); 4115s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4115s # guint prop_id G_GNUC_UNUSED, 4115s # GValue *value G_GNUC_UNUSED, 4115s # GParamSpec *pspec G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4115s # guint prop_id G_GNUC_UNUSED, 4115s # const GValue *value G_GNUC_UNUSED, 4115s # GParamSpec *pspec G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4115s # const gchar *sender_name G_GNUC_UNUSED, 4115s # const gchar *signal_name, 4115s # GVariant *parameters) 4115s # { 4115s # _ExtendedGDBusSignalInfo *info; 4115s # GVariantIter iter; 4115s # GVariant *child; 4115s # GValue *paramv; 4115s # gsize num_params; 4115s # gsize n; 4115s # guint signal_id; 4115s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4115s # if (info == NULL) 4115s # return; 4115s # num_params = g_variant_n_children (parameters); 4115s # paramv = g_new0 (GValue, num_params + 1); 4115s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_value_set_object (¶mv[0], proxy); 4115s # g_variant_iter_init (&iter, parameters); 4115s # n = 1; 4115s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4115s # { 4115s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4115s # if (arg_info->use_gvariant) 4115s # { 4115s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4115s # g_value_set_variant (¶mv[n], child); 4115s # n++; 4115s # } 4115s # else 4115s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4115s # g_variant_unref (child); 4115s # } 4115s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_signal_emitv (paramv, signal_id, 0, NULL); 4115s # for (n = 0; n < num_params + 1; n++) 4115s # g_value_unset (¶mv[n]); 4115s # g_free (paramv); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4115s # GVariant *changed_properties, 4115s # const gchar *const *invalidated_properties) 4115s # { 4115s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4115s # guint n; 4115s # const gchar *key; 4115s # GVariantIter *iter; 4115s # _ExtendedGDBusPropertyInfo *info; 4115s # g_variant_get (changed_properties, "a{sv}", &iter); 4115s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4115s # { 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4115s # g_datalist_remove_data (&proxy->priv->qdata, key); 4115s # if (info != NULL) 4115s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4115s # } 4115s # g_variant_iter_free (iter); 4115s # for (n = 0; invalidated_properties[n] != NULL; n++) 4115s # { 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4115s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4115s # if (info != NULL) 4115s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4115s # } 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4115s # { 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4115s # #else 4115s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4115s # #endif 4115s # 4115s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4115s # { 4115s # GObjectClass *gobject_class; 4115s # GDBusProxyClass *proxy_class; 4115s # 4115s # gobject_class = G_OBJECT_CLASS (klass); 4115s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4115s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4115s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4115s # 4115s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4115s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4115s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4115s # 4115s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4115s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4115s # #endif 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new: 4115s # * @connection: A #GDBusConnection. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4115s # * @user_data: User data to pass to @callback. 4115s # * 4115s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4115s # * 4115s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4115s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_proxy_new ( 4115s # GDBusConnection *connection, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GAsyncReadyCallback callback, 4115s # gpointer user_data) 4115s # { 4115s # 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); 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_finish: 4115s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_finish ( 4115s # GAsyncResult *res, 4115s # GError **error) 4115s # { 4115s # GObject *ret; 4115s # GObject *source_object; 4115s # source_object = g_async_result_get_source_object (res); 4115s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4115s # g_object_unref (source_object); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_sync: 4115s # * @connection: A #GDBusConnection. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4115s # * 4115s # * The calling thread is blocked until a reply is received. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_sync ( 4115s # GDBusConnection *connection, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GError **error) 4115s # { 4115s # GInitable *ret; 4115s # 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); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_for_bus: 4115s # * @bus_type: A #GBusType. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: A bus name (well-known or unique). 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4115s # * @user_data: User data to pass to @callback. 4115s # * 4115s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4115s # * 4115s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4115s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_proxy_new_for_bus ( 4115s # GBusType bus_type, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GAsyncReadyCallback callback, 4115s # gpointer user_data) 4115s # { 4115s # 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); 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4115s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4115s # GAsyncResult *res, 4115s # GError **error) 4115s # { 4115s # GObject *ret; 4115s # GObject *source_object; 4115s # source_object = g_async_result_get_source_object (res); 4115s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4115s # g_object_unref (source_object); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4115s # * @bus_type: A #GBusType. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: A bus name (well-known or unique). 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4115s # * 4115s # * The calling thread is blocked until a reply is received. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4115s # GBusType bus_type, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GError **error) 4115s # { 4115s # GInitable *ret; 4115s # 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); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # 4115s # /* ------------------------------------------------------------------------ */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceSkeleton: 4115s # * 4115s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4115s # */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceSkeletonClass: 4115s # * @parent_class: The parent class. 4115s # * 4115s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4115s # */ 4115s # 4115s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4115s # { 4115s # GValue *properties; 4115s # GList *changed_properties; 4115s # GSource *changed_properties_idle_source; 4115s # GMainContext *context; 4115s # GMutex lock; 4115s # }; 4115s # 4115s # static void 4115s # _org_project_signaling_iface_skeleton_handle_method_call ( 4115s # GDBusConnection *connection G_GNUC_UNUSED, 4115s # const gchar *sender G_GNUC_UNUSED, 4115s # const gchar *object_path G_GNUC_UNUSED, 4115s # const gchar *interface_name, 4115s # const gchar *method_name, 4115s # GVariant *parameters, 4115s # GDBusMethodInvocation *invocation, 4115s # gpointer user_data) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4115s # _ExtendedGDBusMethodInfo *info; 4115s # GVariantIter iter; 4115s # GVariant *child; 4115s # GValue *paramv; 4115s # gsize num_params; 4115s # guint num_extra; 4115s # gsize n; 4115s # guint signal_id; 4115s # GValue return_value = G_VALUE_INIT; 4115s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4115s # g_assert (info != NULL); 4115s # num_params = g_variant_n_children (parameters); 4115s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4115s # n = 0; 4115s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_value_set_object (¶mv[n++], skeleton); 4115s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4115s # g_value_set_object (¶mv[n++], invocation); 4115s # if (info->pass_fdlist) 4115s # { 4115s # #ifdef G_OS_UNIX 4115s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4115s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4115s # #else 4115s # g_assert_not_reached (); 4115s # #endif 4115s # } 4115s # g_variant_iter_init (&iter, parameters); 4115s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4115s # { 4115s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4115s # if (arg_info->use_gvariant) 4115s # { 4115s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4115s # g_value_set_variant (¶mv[n], child); 4115s # n++; 4115s # } 4115s # else 4115s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4115s # g_variant_unref (child); 4115s # } 4115s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4115s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4115s # if (!g_value_get_boolean (&return_value)) 4115s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4115s # g_value_unset (&return_value); 4115s # for (n = 0; n < num_params + num_extra; n++) 4115s # g_value_unset (¶mv[n]); 4115s # g_free (paramv); 4115s # } 4115s # 4115s # static GVariant * 4115s # _org_project_signaling_iface_skeleton_handle_get_property ( 4115s # GDBusConnection *connection G_GNUC_UNUSED, 4115s # const gchar *sender G_GNUC_UNUSED, 4115s # const gchar *object_path G_GNUC_UNUSED, 4115s # const gchar *interface_name G_GNUC_UNUSED, 4115s # const gchar *property_name, 4115s # GError **error, 4115s # gpointer user_data) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4115s # GValue value = G_VALUE_INIT; 4115s # GParamSpec *pspec; 4115s # _ExtendedGDBusPropertyInfo *info; 4115s # GVariant *ret; 4115s # ret = NULL; 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4115s # g_assert (info != NULL); 4115s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4115s # if (pspec == NULL) 4115s # { 4115s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4115s # } 4115s # else 4115s # { 4115s # g_value_init (&value, pspec->value_type); 4115s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4115s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4115s # g_value_unset (&value); 4115s # } 4115s # return ret; 4115s # } 4115s # 4115s # static gboolean 4115s # _org_project_signaling_iface_skeleton_handle_set_property ( 4115s # GDBusConnection *connection G_GNUC_UNUSED, 4115s # const gchar *sender G_GNUC_UNUSED, 4115s # const gchar *object_path G_GNUC_UNUSED, 4115s # const gchar *interface_name G_GNUC_UNUSED, 4115s # const gchar *property_name, 4115s # GVariant *variant, 4115s # GError **error, 4115s # gpointer user_data) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4115s # GValue value = G_VALUE_INIT; 4115s # GParamSpec *pspec; 4115s # _ExtendedGDBusPropertyInfo *info; 4115s # gboolean ret; 4115s # ret = FALSE; 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4115s # g_assert (info != NULL); 4115s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4115s # if (pspec == NULL) 4115s # { 4115s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4115s # } 4115s # else 4115s # { 4115s # if (info->use_gvariant) 4115s # g_value_set_variant (&value, variant); 4115s # else 4115s # g_dbus_gvariant_to_gvalue (variant, &value); 4115s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4115s # g_value_unset (&value); 4115s # ret = TRUE; 4115s # } 4115s # return ret; 4115s # } 4115s # 4115s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4115s # { 4115s # _org_project_signaling_iface_skeleton_handle_method_call, 4115s # _org_project_signaling_iface_skeleton_handle_get_property, 4115s # _org_project_signaling_iface_skeleton_handle_set_property, 4115s # {NULL} 4115s # }; 4115s # 4115s # static GDBusInterfaceInfo * 4115s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4115s # { 4115s # return org_project_signaling_iface_interface_info (); 4115s # } 4115s # 4115s # static GDBusInterfaceVTable * 4115s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4115s # { 4115s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4115s # } 4115s # 4115s # static GVariant * 4115s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4115s # 4115s # GVariantBuilder builder; 4115s # guint n; 4115s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4115s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4115s # goto out; 4115s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4115s # { 4115s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4115s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4115s # { 4115s # GVariant *value; 4115s # 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); 4115s # if (value != NULL) 4115s # { 4115s # g_variant_take_ref (value); 4115s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4115s # g_variant_unref (value); 4115s # } 4115s # } 4115s # } 4115s # out: 4115s # return g_variant_builder_end (&builder); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # static void 4115s # _org_project_signaling_iface_on_signal_simple_signal ( 4115s # OrgProjectSignalingIface *object) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4115s # 4115s # GList *connections, *l; 4115s # GVariant *signal_variant; 4115s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4115s # 4115s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4115s # for (l = connections; l != NULL; l = l->next) 4115s # { 4115s # GDBusConnection *connection = l->data; 4115s # g_dbus_connection_emit_signal (connection, 4115s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4115s # signal_variant, NULL); 4115s # } 4115s # g_variant_unref (signal_variant); 4115s # g_list_free_full (connections, g_object_unref); 4115s # } 4115s # 4115s # static void 4115s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 4115s # OrgProjectSignalingIface *object, 4115s # const gchar *const *arg_arg_ao) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4115s # 4115s # GList *connections, *l; 4115s # GVariant *signal_variant; 4115s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4115s # 4115s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 4115s # arg_arg_ao)); 4115s # for (l = connections; l != NULL; l = l->next) 4115s # { 4115s # GDBusConnection *connection = l->data; 4115s # g_dbus_connection_emit_signal (connection, 4115s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 4115s # signal_variant, NULL); 4115s # } 4115s # g_variant_unref (signal_variant); 4115s # g_list_free_full (connections, g_object_unref); 4115s # } 4115s # 4115s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4115s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4115s # 4115s # #else 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4115s # 4115s # #endif 4115s # static void 4115s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4115s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4115s # if (skeleton->priv->changed_properties_idle_source != NULL) 4115s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4115s # g_main_context_unref (skeleton->priv->context); 4115s # g_mutex_clear (&skeleton->priv->lock); 4115s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4115s # { 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4115s # #else 4115s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4115s # #endif 4115s # 4115s # g_mutex_init (&skeleton->priv->lock); 4115s # skeleton->priv->context = g_main_context_ref_thread_default (); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4115s # { 4115s # GObjectClass *gobject_class; 4115s # GDBusInterfaceSkeletonClass *skeleton_class; 4115s # 4115s # gobject_class = G_OBJECT_CLASS (klass); 4115s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4115s # 4115s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4115s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4115s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4115s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4115s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4115s # 4115s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4115s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4115s # #endif 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4115s # { 4115s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4115s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_skeleton_new: 4115s # * 4115s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_skeleton_new (void) 4115s # { 4115s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4115s # } 4115s # /tmp/tmp74tbisad/tmp9jje71ec.xml: 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmp9jje71ec.xml', '--output', '-', '--body'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s # Output: /* 4115s # * This file is generated by gdbus-codegen, do not modify it. 4115s # * 4115s # * The license of this code is the same as for the D-Bus interface description 4115s # * it was derived from. Note that it links to GLib, so must comply with the 4115s # * LGPL linking clauses. 4115s # */ 4115s # 4115s # #ifdef HAVE_CONFIG_H 4115s # # include "config.h" 4115s # #endif 4115s # 4115s # #include 4115s # #ifdef G_OS_UNIX 4115s # # include 4115s # #endif 4115s # 4115s # #ifdef G_ENABLE_DEBUG 4115s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4115s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4115s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4115s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4115s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4115s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4115s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4115s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4115s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4115s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4115s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4115s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4115s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4115s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4115s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4115s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4115s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4115s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4115s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4115s # #else /* !G_ENABLE_DEBUG */ 4115s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4115s # * Do not access GValues directly in your code. Instead, use the 4115s # * g_value_get_*() functions 4115s # */ 4115s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4115s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4115s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4115s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4115s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4115s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4115s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4115s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4115s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4115s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4115s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4115s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4115s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4115s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4115s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4115s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4115s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4115s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4115s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4115s # #endif /* !G_ENABLE_DEBUG */ 4115s # 4115s # typedef struct 4115s # { 4115s # GDBusArgInfo parent_struct; 4115s # gboolean use_gvariant; 4115s # } _ExtendedGDBusArgInfo; 4115s # 4115s # typedef struct 4115s # { 4115s # GDBusMethodInfo parent_struct; 4115s # const gchar *signal_name; 4115s # gboolean pass_fdlist; 4115s # } _ExtendedGDBusMethodInfo; 4115s # 4115s # typedef struct 4115s # { 4115s # GDBusSignalInfo parent_struct; 4115s # const gchar *signal_name; 4115s # } _ExtendedGDBusSignalInfo; 4115s # 4115s # typedef struct 4115s # { 4115s # GDBusPropertyInfo parent_struct; 4115s # const gchar *hyphen_name; 4115s # guint use_gvariant : 1; 4115s # guint emits_changed_signal : 1; 4115s # } _ExtendedGDBusPropertyInfo; 4115s # 4115s # typedef struct 4115s # { 4115s # GDBusInterfaceInfo parent_struct; 4115s # const gchar *hyphen_name; 4115s # } _ExtendedGDBusInterfaceInfo; 4115s # 4115s # typedef struct 4115s # { 4115s # const _ExtendedGDBusPropertyInfo *info; 4115s # guint prop_id; 4115s # GValue orig_value; /* the value before the change */ 4115s # } ChangedProperty; 4115s # 4115s # static void 4115s # _changed_property_free (ChangedProperty *data) 4115s # { 4115s # g_value_unset (&data->orig_value); 4115s # g_free (data); 4115s # } 4115s # 4115s # static gboolean 4115s # _g_strv_equal0 (gchar **a, gchar **b) 4115s # { 4115s # gboolean ret = FALSE; 4115s # guint n; 4115s # if (a == NULL && b == NULL) 4115s # { 4115s # ret = TRUE; 4115s # goto out; 4115s # } 4115s # if (a == NULL || b == NULL) 4115s # goto out; 4115s # if (g_strv_length (a) != g_strv_length (b)) 4115s # goto out; 4115s # for (n = 0; a[n] != NULL; n++) 4115s # if (g_strcmp0 (a[n], b[n]) != 0) 4115s # goto out; 4115s # ret = TRUE; 4115s # out: 4115s # return ret; 4115s # } 4115s # 4115s # static gboolean 4115s # _g_variant_equal0 (GVariant *a, GVariant *b) 4115s # { 4115s # gboolean ret = FALSE; 4115s # if (a == NULL && b == NULL) 4115s # { 4115s # ret = TRUE; 4115s # goto out; 4115s # } 4115s # if (a == NULL || b == NULL) 4115s # goto out; 4115s # ret = g_variant_equal (a, b); 4115s # out: 4115s # return ret; 4115s # } 4115s # 4115s # G_GNUC_UNUSED static gboolean 4115s # _g_value_equal (const GValue *a, const GValue *b) 4115s # { 4115s # gboolean ret = FALSE; 4115s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4115s # switch (G_VALUE_TYPE (a)) 4115s # { 4115s # case G_TYPE_BOOLEAN: 4115s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4115s # break; 4115s # case G_TYPE_UCHAR: 4115s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4115s # break; 4115s # case G_TYPE_INT: 4115s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4115s # break; 4115s # case G_TYPE_UINT: 4115s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4115s # break; 4115s # case G_TYPE_INT64: 4115s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4115s # break; 4115s # case G_TYPE_UINT64: 4115s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4115s # break; 4115s # case G_TYPE_DOUBLE: 4115s # { 4115s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4115s # gdouble da = g_value_get_double (a); 4115s # gdouble db = g_value_get_double (b); 4115s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4115s # } 4115s # break; 4115s # case G_TYPE_STRING: 4115s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4115s # break; 4115s # case G_TYPE_VARIANT: 4115s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4115s # break; 4115s # default: 4115s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4115s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4115s # else 4115s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4115s # break; 4115s # } 4115s # return ret; 4115s # } 4115s # 4115s # /* ------------------------------------------------------------------------ 4115s # * Code for interface org.project.SignalingIface 4115s # * ------------------------------------------------------------------------ 4115s # */ 4115s # 4115s # /** 4115s # * SECTION:OrgProjectSignalingIface 4115s # * @title: OrgProjectSignalingIface 4115s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4115s # * 4115s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4115s # */ 4115s # 4115s # enum 4115s # { 4115s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4115s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 4115s # }; 4115s # 4115s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4115s # 4115s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4115s # 4115s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "SimpleSignal", 4115s # NULL, 4115s # NULL 4115s # }, 4115s # "simple-signal" 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "arg_aay", 4115s # (gchar *) "aay", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 4115s # { 4115s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 4115s # NULL 4115s # }; 4115s # 4115s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "SingleArgSignalAay", 4115s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 4115s # NULL 4115s # }, 4115s # "single-arg-signal-aay" 4115s # }; 4115s # 4115s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4115s # { 4115s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 4115s # NULL 4115s # }; 4115s # 4115s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "org.project.SignalingIface", 4115s # NULL, 4115s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4115s # NULL, 4115s # NULL 4115s # }, 4115s # "org-project-signaling-iface", 4115s # }; 4115s # 4115s # 4115s # /** 4115s # * org_project_signaling_iface_interface_info: 4115s # * 4115s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4115s # * 4115s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4115s # */ 4115s # GDBusInterfaceInfo * 4115s # org_project_signaling_iface_interface_info (void) 4115s # { 4115s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_override_properties: 4115s # * @klass: The class structure for a #GObject derived class. 4115s # * @property_id_begin: The property id to assign to the first overridden property. 4115s # * 4115s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4115s # * The properties are overridden in the order they are defined. 4115s # * 4115s # * Returns: The last property id. 4115s # */ 4115s # guint 4115s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4115s # { 4115s # return property_id_begin - 1; 4115s # } 4115s # 4115s # 4115s # inline static void 4115s # org_project_signaling_iface_signal_marshal_simple_signal ( 4115s # GClosure *closure, 4115s # GValue *return_value, 4115s # unsigned int n_param_values, 4115s # const GValue *param_values, 4115s # void *invocation_hint, 4115s # void *marshal_data) 4115s # { 4115s # g_cclosure_marshal_VOID__VOID (closure, 4115s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4115s # } 4115s # 4115s # inline static void 4115s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 4115s # GClosure *closure, 4115s # GValue *return_value, 4115s # unsigned int n_param_values, 4115s # const GValue *param_values, 4115s # void *invocation_hint, 4115s # void *marshal_data) 4115s # { 4115s # g_cclosure_marshal_VOID__BOXED (closure, 4115s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4115s # } 4115s # 4115s # 4115s # /** 4115s # * OrgProjectSignalingIface: 4115s # * 4115s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4115s # */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceIface: 4115s # * @parent_iface: The parent interface. 4115s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4115s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 4115s # * 4115s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4115s # */ 4115s # 4115s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4115s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4115s # 4115s # static void 4115s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4115s # { 4115s # /* GObject signals for received D-Bus signals: */ 4115s # /** 4115s # * OrgProjectSignalingIface::simple-signal: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * 4115s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4115s # * 4115s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4115s # */ 4115s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4115s # g_signal_new ("simple-signal", 4115s # G_TYPE_FROM_INTERFACE (iface), 4115s # G_SIGNAL_RUN_LAST, 4115s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4115s # NULL, 4115s # NULL, 4115s # org_project_signaling_iface_signal_marshal_simple_signal, 4115s # G_TYPE_NONE, 4115s # 0); 4115s # 4115s # /** 4115s # * OrgProjectSignalingIface::single-arg-signal-aay: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * @arg_arg_aay: Argument. 4115s # * 4115s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 4115s # * 4115s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4115s # */ 4115s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 4115s # g_signal_new ("single-arg-signal-aay", 4115s # G_TYPE_FROM_INTERFACE (iface), 4115s # G_SIGNAL_RUN_LAST, 4115s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 4115s # NULL, 4115s # NULL, 4115s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 4115s # G_TYPE_NONE, 4115s # 1, G_TYPE_STRV); 4115s # 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_emit_simple_signal: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * 4115s # * Emits the "SimpleSignal" D-Bus signal. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_emit_simple_signal ( 4115s # OrgProjectSignalingIface *object) 4115s # { 4115s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_emit_single_arg_signal_aay: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * @arg_arg_aay: Argument to pass with the signal. 4115s # * 4115s # * Emits the "SingleArgSignalAay" D-Bus signal. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_emit_single_arg_signal_aay ( 4115s # OrgProjectSignalingIface *object, 4115s # const gchar *const *arg_arg_aay) 4115s # { 4115s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 4115s # } 4115s # 4115s # /* ------------------------------------------------------------------------ */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceProxy: 4115s # * 4115s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4115s # */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceProxyClass: 4115s # * @parent_class: The parent class. 4115s # * 4115s # * Class structure for #OrgProjectSignalingIfaceProxy. 4115s # */ 4115s # 4115s # struct _OrgProjectSignalingIfaceProxyPrivate 4115s # { 4115s # GData *qdata; 4115s # }; 4115s # 4115s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4115s # 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4115s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4115s # 4115s # #else 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4115s # 4115s # #endif 4115s # static void 4115s # org_project_signaling_iface_proxy_finalize (GObject *object) 4115s # { 4115s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4115s # g_datalist_clear (&proxy->priv->qdata); 4115s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4115s # guint prop_id G_GNUC_UNUSED, 4115s # GValue *value G_GNUC_UNUSED, 4115s # GParamSpec *pspec G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4115s # guint prop_id G_GNUC_UNUSED, 4115s # const GValue *value G_GNUC_UNUSED, 4115s # GParamSpec *pspec G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4115s # const gchar *sender_name G_GNUC_UNUSED, 4115s # const gchar *signal_name, 4115s # GVariant *parameters) 4115s # { 4115s # _ExtendedGDBusSignalInfo *info; 4115s # GVariantIter iter; 4115s # GVariant *child; 4115s # GValue *paramv; 4115s # gsize num_params; 4115s # gsize n; 4115s # guint signal_id; 4115s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4115s # if (info == NULL) 4115s # return; 4115s # num_params = g_variant_n_children (parameters); 4115s # paramv = g_new0 (GValue, num_params + 1); 4115s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_value_set_object (¶mv[0], proxy); 4115s # g_variant_iter_init (&iter, parameters); 4115s # n = 1; 4115s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4115s # { 4115s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4115s # if (arg_info->use_gvariant) 4115s # { 4115s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4115s # g_value_set_variant (¶mv[n], child); 4115s # n++; 4115s # } 4115s # else 4115s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4115s # g_variant_unref (child); 4115s # } 4115s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_signal_emitv (paramv, signal_id, 0, NULL); 4115s # for (n = 0; n < num_params + 1; n++) 4115s # g_value_unset (¶mv[n]); 4115s # g_free (paramv); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4115s # GVariant *changed_properties, 4115s # const gchar *const *invalidated_properties) 4115s # { 4115s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4115s # guint n; 4115s # const gchar *key; 4115s # GVariantIter *iter; 4115s # _ExtendedGDBusPropertyInfo *info; 4115s # g_variant_get (changed_properties, "a{sv}", &iter); 4115s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4115s # { 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4115s # g_datalist_remove_data (&proxy->priv->qdata, key); 4115s # if (info != NULL) 4115s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4115s # } 4115s # g_variant_iter_free (iter); 4115s # for (n = 0; invalidated_properties[n] != NULL; n++) 4115s # { 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4115s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4115s # if (info != NULL) 4115s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4115s # } 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4115s # { 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4115s # #else 4115s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4115s # #endif 4115s # 4115s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4115s # { 4115s # GObjectClass *gobject_class; 4115s # GDBusProxyClass *proxy_class; 4115s # 4115s # gobject_class = G_OBJECT_CLASS (klass); 4115s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4115s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4115s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4115s # 4115s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4115s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4115s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4115s # 4115s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4115s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4115s # #endif 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new: 4115s # * @connection: A #GDBusConnection. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4115s # * @user_data: User data to pass to @callback. 4115s # * 4115s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4115s # * 4115s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4115s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_proxy_new ( 4115s # GDBusConnection *connection, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GAsyncReadyCallback callback, 4115s # gpointer user_data) 4115s # { 4115s # 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); 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_finish: 4115s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_finish ( 4115s # GAsyncResult *res, 4115s # GError **error) 4115s # { 4115s # GObject *ret; 4115s # GObject *source_object; 4115s # source_object = g_async_result_get_source_object (res); 4115s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4115s # g_object_unref (source_object); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_sync: 4115s # * @connection: A #GDBusConnection. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4115s # * 4115s # * The calling thread is blocked until a reply is received. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_sync ( 4115s # GDBusConnection *connection, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GError **error) 4115s # { 4115s # GInitable *ret; 4115s # 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); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_for_bus: 4115s # * @bus_type: A #GBusType. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: A bus name (well-known or unique). 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4115s # * @user_data: User data to pass to @callback. 4115s # * 4115s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4115s # * 4115s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4115s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_proxy_new_for_bus ( 4115s # GBusType bus_type, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GAsyncReadyCallback callback, 4115s # gpointer user_data) 4115s # { 4115s # 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); 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4115s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4115s # GAsyncResult *res, 4115s # GError **error) 4115s # { 4115s # GObject *ret; 4115s # GObject *source_object; 4115s # source_object = g_async_result_get_source_object (res); 4115s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4115s # g_object_unref (source_object); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4115s # * @bus_type: A #GBusType. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: A bus name (well-known or unique). 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4115s # * 4115s # * The calling thread is blocked until a reply is received. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4115s # GBusType bus_type, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GError **error) 4115s # { 4115s # GInitable *ret; 4115s # 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); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # 4115s # /* ------------------------------------------------------------------------ */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceSkeleton: 4115s # * 4115s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4115s # */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceSkeletonClass: 4115s # * @parent_class: The parent class. 4115s # * 4115s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4115s # */ 4115s # 4115s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4115s # { 4115s # GValue *properties; 4115s # GList *changed_properties; 4115s # GSource *changed_properties_idle_source; 4115s # GMainContext *context; 4115s # GMutex lock; 4115s # }; 4115s # 4115s # static void 4115s # _org_project_signaling_iface_skeleton_handle_method_call ( 4115s # GDBusConnection *connection G_GNUC_UNUSED, 4115s # const gchar *sender G_GNUC_UNUSED, 4115s # const gchar *object_path G_GNUC_UNUSED, 4115s # const gchar *interface_name, 4115s # const gchar *method_name, 4115s # GVariant *parameters, 4115s # GDBusMethodInvocation *invocation, 4115s # gpointer user_data) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4115s # _ExtendedGDBusMethodInfo *info; 4115s # GVariantIter iter; 4115s # GVariant *child; 4115s # GValue *paramv; 4115s # gsize num_params; 4115s # guint num_extra; 4115s # gsize n; 4115s # guint signal_id; 4115s # GValue return_value = G_VALUE_INIT; 4115s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4115s # g_assert (info != NULL); 4115s # num_params = g_variant_n_children (parameters); 4115s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4115s # n = 0; 4115s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_value_set_object (¶mv[n++], skeleton); 4115s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4115s # g_value_set_object (¶mv[n++], invocation); 4115s # if (info->pass_fdlist) 4115s # { 4115s # #ifdef G_OS_UNIX 4115s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4115s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4115s # #else 4115s # g_assert_not_reached (); 4115s # #endif 4115s # } 4115s # g_variant_iter_init (&iter, parameters); 4115s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4115s # { 4115s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4115s # if (arg_info->use_gvariant) 4115s # { 4115s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4115s # g_value_set_variant (¶mv[n], child); 4115s # n++; 4115s # } 4115s # else 4115s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4115s # g_variant_unref (child); 4115s # } 4115s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4115s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4115s # if (!g_value_get_boolean (&return_value)) 4115s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4115s # g_value_unset (&return_value); 4115s # for (n = 0; n < num_params + num_extra; n++) 4115s # g_value_unset (¶mv[n]); 4115s # g_free (paramv); 4115s # } 4115s # 4115s # static GVariant * 4115s # _org_project_signaling_iface_skeleton_handle_get_property ( 4115s # GDBusConnection *connection G_GNUC_UNUSED, 4115s # const gchar *sender G_GNUC_UNUSED, 4115s # const gchar *object_path G_GNUC_UNUSED, 4115s # const gchar *interface_name G_GNUC_UNUSED, 4115s # const gchar *property_name, 4115s # GError **error, 4115s # gpointer user_data) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4115s # GValue value = G_VALUE_INIT; 4115s # GParamSpec *pspec; 4115s # _ExtendedGDBusPropertyInfo *info; 4115s # GVariant *ret; 4115s # ret = NULL; 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4115s # g_assert (info != NULL); 4115s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4115s # if (pspec == NULL) 4115s # { 4115s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4115s # } 4115s # else 4115s # { 4115s # g_value_init (&value, pspec->value_type); 4115s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4115s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4115s # g_value_unset (&value); 4115s # } 4115s # return ret; 4115s # } 4115s # 4115s # static gboolean 4115s # _org_project_signaling_iface_skeleton_handle_set_property ( 4115s # GDBusConnection *connection G_GNUC_UNUSED, 4115s # const gchar *sender G_GNUC_UNUSED, 4115s # const gchar *object_path G_GNUC_UNUSED, 4115s # const gchar *interface_name G_GNUC_UNUSED, 4115s # const gchar *property_name, 4115s # GVariant *variant, 4115s # GError **error, 4115s # gpointer user_data) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4115s # GValue value = G_VALUE_INIT; 4115s # GParamSpec *pspec; 4115s # _ExtendedGDBusPropertyInfo *info; 4115s # gboolean ret; 4115s # ret = FALSE; 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4115s # g_assert (info != NULL); 4115s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4115s # if (pspec == NULL) 4115s # { 4115s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4115s # } 4115s # else 4115s # { 4115s # if (info->use_gvariant) 4115s # g_value_set_variant (&value, variant); 4115s # else 4115s # g_dbus_gvariant_to_gvalue (variant, &value); 4115s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4115s # g_value_unset (&value); 4115s # ret = TRUE; 4115s # } 4115s # return ret; 4115s # } 4115s # 4115s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4115s # { 4115s # _org_project_signaling_iface_skeleton_handle_method_call, 4115s # _org_project_signaling_iface_skeleton_handle_get_property, 4115s # _org_project_signaling_iface_skeleton_handle_set_property, 4115s # {NULL} 4115s # }; 4115s # 4115s # static GDBusInterfaceInfo * 4115s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4115s # { 4115s # return org_project_signaling_iface_interface_info (); 4115s # } 4115s # 4115s # static GDBusInterfaceVTable * 4115s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4115s # { 4115s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4115s # } 4115s # 4115s # static GVariant * 4115s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4115s # 4115s # GVariantBuilder builder; 4115s # guint n; 4115s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4115s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4115s # goto out; 4115s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4115s # { 4115s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4115s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4115s # { 4115s # GVariant *value; 4115s # 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); 4115s # if (value != NULL) 4115s # { 4115s # g_variant_take_ref (value); 4115s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4115s # g_variant_unref (value); 4115s # } 4115s # } 4115s # } 4115s # out: 4115s # return g_variant_builder_end (&builder); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # static void 4115s # _org_project_signaling_iface_on_signal_simple_signal ( 4115s # OrgProjectSignalingIface *object) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4115s # 4115s # GList *connections, *l; 4115s # GVariant *signal_variant; 4115s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4115s # 4115s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4115s # for (l = connections; l != NULL; l = l->next) 4115s # { 4115s # GDBusConnection *connection = l->data; 4115s # g_dbus_connection_emit_signal (connection, 4115s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4115s # signal_variant, NULL); 4115s # } 4115s # g_variant_unref (signal_variant); 4115s # g_list_free_full (connections, g_object_unref); 4115s # } 4115s # 4115s # static void 4115s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 4115s # OrgProjectSignalingIface *object, 4115s # const gchar *const *arg_arg_aay) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4115s # 4115s # GList *connections, *l; 4115s # GVariant *signal_variant; 4115s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4115s # 4115s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 4115s # arg_arg_aay)); 4115s # for (l = connections; l != NULL; l = l->next) 4115s # { 4115s # GDBusConnection *connection = l->data; 4115s # g_dbus_connection_emit_signal (connection, 4115s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 4115s # signal_variant, NULL); 4115s # } 4115s # g_variant_unref (signal_variant); 4115s # g_list_free_full (connections, g_object_unref); 4115s # } 4115s # 4115s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4115s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4115s # 4115s # #else 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4115s # 4115s # #endif 4115s # static void 4115s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4115s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4115s # if (skeleton->priv->changed_properties_idle_source != NULL) 4115s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4115s # g_main_context_unref (skeleton->priv->context); 4115s # g_mutex_clear (&skeleton->priv->lock); 4115s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4115s # { 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4115s # #else 4115s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4115s # #endif 4115s # 4115s # g_mutex_init (&skeleton->priv->lock); 4115s # skeleton->priv->context = g_main_context_ref_thread_default (); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4115s # { 4115s # GObjectClass *gobject_class; 4115s # GDBusInterfaceSkeletonClass *skeleton_class; 4115s # 4115s # gobject_class = G_OBJECT_CLASS (klass); 4115s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4115s # 4115s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4115s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4115s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4115s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4115s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4115s # 4115s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4115s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4115s # #endif 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4115s # { 4115s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4115s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_skeleton_new: 4115s # * 4115s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_skeleton_new (void) 4115s # { 4115s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4115s # } 4115s # /tmp/tmp74tbisad/tmpg1n51tnv.xml: 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp74tbisad/tmpg1n51tnv.xml', '--output', '-', '--body'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s # Output: /* 4115s # * This file is generated by gdbus-codegen, do not modify it. 4115s # * 4115s # * The license of this code is the same as for the D-Bus interface description 4115s # * it was derived from. Note that it links to GLib, so must comply with the 4115s # * LGPL linking clauses. 4115s # */ 4115s # 4115s # #ifdef HAVE_CONFIG_H 4115s # # include "config.h" 4115s # #endif 4115s # 4115s # #include 4115s # #ifdef G_OS_UNIX 4115s # # include 4115s # #endif 4115s # 4115s # #ifdef G_ENABLE_DEBUG 4115s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4115s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4115s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4115s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4115s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4115s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4115s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4115s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4115s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4115s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4115s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4115s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4115s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4115s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4115s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4115s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4115s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4115s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4115s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4115s # #else /* !G_ENABLE_DEBUG */ 4115s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4115s # * Do not access GValues directly in your code. Instead, use the 4115s # * g_value_get_*() functions 4115s # */ 4115s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4115s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4115s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4115s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4115s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4115s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4115s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4115s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4115s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4115s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4115s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4115s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4115s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4115s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4115s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4115s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4115s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4115s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4115s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4115s # #endif /* !G_ENABLE_DEBUG */ 4115s # 4115s # typedef struct 4115s # { 4115s # GDBusArgInfo parent_struct; 4115s # gboolean use_gvariant; 4115s # } _ExtendedGDBusArgInfo; 4115s # 4115s # typedef struct 4115s # { 4115s # GDBusMethodInfo parent_struct; 4115s # const gchar *signal_name; 4115s # gboolean pass_fdlist; 4115s # } _ExtendedGDBusMethodInfo; 4115s # 4115s # typedef struct 4115s # { 4115s # GDBusSignalInfo parent_struct; 4115s # const gchar *signal_name; 4115s # } _ExtendedGDBusSignalInfo; 4115s # 4115s # typedef struct 4115s # { 4115s # GDBusPropertyInfo parent_struct; 4115s # const gchar *hyphen_name; 4115s # guint use_gvariant : 1; 4115s # guint emits_changed_signal : 1; 4115s # } _ExtendedGDBusPropertyInfo; 4115s # 4115s # typedef struct 4115s # { 4115s # GDBusInterfaceInfo parent_struct; 4115s # const gchar *hyphen_name; 4115s # } _ExtendedGDBusInterfaceInfo; 4115s # 4115s # typedef struct 4115s # { 4115s # const _ExtendedGDBusPropertyInfo *info; 4115s # guint prop_id; 4115s # GValue orig_value; /* the value before the change */ 4115s # } ChangedProperty; 4115s # 4115s # static void 4115s # _changed_property_free (ChangedProperty *data) 4115s # { 4115s # g_value_unset (&data->orig_value); 4115s # g_free (data); 4115s # } 4115s # 4115s # static gboolean 4115s # _g_strv_equal0 (gchar **a, gchar **b) 4115s # { 4115s # gboolean ret = FALSE; 4115s # guint n; 4115s # if (a == NULL && b == NULL) 4115s # { 4115s # ret = TRUE; 4115s # goto out; 4115s # } 4115s # if (a == NULL || b == NULL) 4115s # goto out; 4115s # if (g_strv_length (a) != g_strv_length (b)) 4115s # goto out; 4115s # for (n = 0; a[n] != NULL; n++) 4115s # if (g_strcmp0 (a[n], b[n]) != 0) 4115s # goto out; 4115s # ret = TRUE; 4115s # out: 4115s # return ret; 4115s # } 4115s # 4115s # static gboolean 4115s # _g_variant_equal0 (GVariant *a, GVariant *b) 4115s # { 4115s # gboolean ret = FALSE; 4115s # if (a == NULL && b == NULL) 4115s # { 4115s # ret = TRUE; 4115s # goto out; 4115s # } 4115s # if (a == NULL || b == NULL) 4115s # goto out; 4115s # ret = g_variant_equal (a, b); 4115s # out: 4115s # return ret; 4115s # } 4115s # 4115s # G_GNUC_UNUSED static gboolean 4115s # _g_value_equal (const GValue *a, const GValue *b) 4115s # { 4115s # gboolean ret = FALSE; 4115s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4115s # switch (G_VALUE_TYPE (a)) 4115s # { 4115s # case G_TYPE_BOOLEAN: 4115s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4115s # break; 4115s # case G_TYPE_UCHAR: 4115s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4115s # break; 4115s # case G_TYPE_INT: 4115s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4115s # break; 4115s # case G_TYPE_UINT: 4115s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4115s # break; 4115s # case G_TYPE_INT64: 4115s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4115s # break; 4115s # case G_TYPE_UINT64: 4115s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4115s # break; 4115s # case G_TYPE_DOUBLE: 4115s # { 4115s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4115s # gdouble da = g_value_get_double (a); 4115s # gdouble db = g_value_get_double (b); 4115s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4115s # } 4115s # break; 4115s # case G_TYPE_STRING: 4115s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4115s # break; 4115s # case G_TYPE_VARIANT: 4115s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4115s # break; 4115s # default: 4115s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4115s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4115s # else 4115s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4115s # break; 4115s # } 4115s # return ret; 4115s # } 4115s # 4115s # /* ------------------------------------------------------------------------ 4115s # * Code for interface org.project.SignalingIface 4115s # * ------------------------------------------------------------------------ 4115s # */ 4115s # 4115s # /** 4115s # * SECTION:OrgProjectSignalingIface 4115s # * @title: OrgProjectSignalingIface 4115s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4115s # * 4115s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4115s # */ 4115s # 4115s # enum 4115s # { 4115s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4115s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 4115s # }; 4115s # 4115s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4115s # 4115s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4115s # 4115s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "SimpleSignal", 4115s # NULL, 4115s # NULL 4115s # }, 4115s # "simple-signal" 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "arg_asv", 4115s # (gchar *) "a{sv}", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 4115s # { 4115s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 4115s # NULL 4115s # }; 4115s # 4115s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "SingleArgSignalAsv", 4115s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 4115s # NULL 4115s # }, 4115s # "single-arg-signal-asv" 4115s # }; 4115s # 4115s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4115s # { 4115s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 4115s # NULL 4115s # }; 4115s # 4115s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "org.project.SignalingIface", 4115s # NULL, 4115s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4115s # NULL, 4115s # NULL 4115s # }, 4115s # "org-project-signaling-iface", 4115s # }; 4115s # 4115s # 4115s # /** 4115s # * org_project_signaling_iface_interface_info: 4115s # * 4115s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4115s # * 4115s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4115s # */ 4115s # GDBusInterfaceInfo * 4115s # org_project_signaling_iface_interface_info (void) 4115s # { 4115s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_override_properties: 4115s # * @klass: The class structure for a #GObject derived class. 4115s # * @property_id_begin: The property id to assign to the first overridden property. 4115s # * 4115s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4115s # * The properties are overridden in the order they are defined. 4115s # * 4115s # * Returns: The last property id. 4115s # */ 4115s # guint 4115s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4115s # { 4115s # return property_id_begin - 1; 4115s # } 4115s # 4115s # 4115s # inline static void 4115s # org_project_signaling_iface_signal_marshal_simple_signal ( 4115s # GClosure *closure, 4115s # GValue *return_value, 4115s # unsigned int n_param_values, 4115s # const GValue *param_values, 4115s # void *invocation_hint, 4115s # void *marshal_data) 4115s # { 4115s # g_cclosure_marshal_VOID__VOID (closure, 4115s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4115s # } 4115s # 4115s # inline static void 4115s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 4115s # GClosure *closure, 4115s # GValue *return_value, 4115s # unsigned int n_param_values, 4115s # const GValue *param_values, 4115s # void *invocation_hint, 4115s # void *marshal_data) 4115s # { 4115s # g_cclosure_marshal_VOID__VARIANT (closure, 4115s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4115s # } 4115s # 4115s # 4115s # /** 4115s # * OrgProjectSignalingIface: 4115s # * 4115s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4115s # */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceIface: 4115s # * @parent_iface: The parent interface. 4115s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4115s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 4115s # * 4115s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4115s # */ 4115s # 4115s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4115s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4115s # 4115s # static void 4115s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4115s # { 4115s # /* GObject signals for received D-Bus signals: */ 4115s # /** 4115s # * OrgProjectSignalingIface::simple-signal: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * 4115s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4115s # * 4115s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4115s # */ 4115s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4115s # g_signal_new ("simple-signal", 4115s # G_TYPE_FROM_INTERFACE (iface), 4115s # G_SIGNAL_RUN_LAST, 4115s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4115s # NULL, 4115s # NULL, 4115s # org_project_signaling_iface_signal_marshal_simple_signal, 4115s # G_TYPE_NONE, 4115s # 0); 4115s # 4115s # /** 4115s # * OrgProjectSignalingIface::single-arg-signal-asv: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * @arg_arg_asv: Argument. 4115s # * 4115s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 4115s # * 4115s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4115s # */ 4115s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 4115s # g_signal_new ("single-arg-signal-asv", 4115s # G_TYPE_FROM_INTERFACE (iface), 4115s # G_SIGNAL_RUN_LAST, 4115s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 4115s # NULL, 4115s # NULL, 4115s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 4115s # G_TYPE_NONE, 4115s # 1, G_TYPE_VARIANT); 4115s # 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_emit_simple_signal: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * 4115s # * Emits the "SimpleSignal" D-Bus signal. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_emit_simple_signal ( 4115s # OrgProjectSignalingIface *object) 4115s # { 4115s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_emit_single_arg_signal_asv: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * @arg_arg_asv: Argument to pass with the signal. 4115s # * 4115s # * Emits the "SingleArgSignalAsv" D-Bus signal. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_emit_single_arg_signal_asv ( 4115s # OrgProjectSignalingIface *object, 4115s # GVariant *arg_arg_asv) 4115s # { 4115s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 4115s # } 4115s # 4115s # /* ------------------------------------------------------------------------ */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceProxy: 4115s # * 4115s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4115s # */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceProxyClass: 4115s # * @parent_class: The parent class. 4115s # * 4115s # * Class structure for #OrgProjectSignalingIfaceProxy. 4115s # */ 4115s # 4115s # struct _OrgProjectSignalingIfaceProxyPrivate 4115s # { 4115s # GData *qdata; 4115s # }; 4115s # 4115s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4115s # 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4115s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4115s # 4115s # #else 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4115s # 4115s # #endif 4115s # static void 4115s # org_project_signaling_iface_proxy_finalize (GObject *object) 4115s # { 4115s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4115s # g_datalist_clear (&proxy->priv->qdata); 4115s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4115s # guint prop_id G_GNUC_UNUSED, 4115s # GValue *value G_GNUC_UNUSED, 4115s # GParamSpec *pspec G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4115s # guint prop_id G_GNUC_UNUSED, 4115s # const GValue *value G_GNUC_UNUSED, 4115s # GParamSpec *pspec G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4115s # const gchar *sender_name G_GNUC_UNUSED, 4115s # const gchar *signal_name, 4115s # GVariant *parameters) 4115s # { 4115s # _ExtendedGDBusSignalInfo *info; 4115s # GVariantIter iter; 4115s # GVariant *child; 4115s # GValue *paramv; 4115s # gsize num_params; 4115s # gsize n; 4115s # guint signal_id; 4115s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4115s # if (info == NULL) 4115s # return; 4115s # num_params = g_variant_n_children (parameters); 4115s # paramv = g_new0 (GValue, num_params + 1); 4115s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_value_set_object (¶mv[0], proxy); 4115s # g_variant_iter_init (&iter, parameters); 4115s # n = 1; 4115s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4115s # { 4115s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4115s # if (arg_info->use_gvariant) 4115s # { 4115s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4115s # g_value_set_variant (¶mv[n], child); 4115s # n++; 4115s # } 4115s # else 4115s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4115s # g_variant_unref (child); 4115s # } 4115s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_signal_emitv (paramv, signal_id, 0, NULL); 4115s # for (n = 0; n < num_params + 1; n++) 4115s # g_value_unset (¶mv[n]); 4115s # g_free (paramv); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4115s # GVariant *changed_properties, 4115s # const gchar *const *invalidated_properties) 4115s # { 4115s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4115s # guint n; 4115s # const gchar *key; 4115s # GVariantIter *iter; 4115s # _ExtendedGDBusPropertyInfo *info; 4115s # g_variant_get (changed_properties, "a{sv}", &iter); 4115s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4115s # { 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4115s # g_datalist_remove_data (&proxy->priv->qdata, key); 4115s # if (info != NULL) 4115s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4115s # } 4115s # g_variant_iter_free (iter); 4115s # for (n = 0; invalidated_properties[n] != NULL; n++) 4115s # { 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4115s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4115s # if (info != NULL) 4115s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4115s # } 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4115s # { 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4115s # #else 4115s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4115s # #endif 4115s # 4115s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4115s # { 4115s # GObjectClass *gobject_class; 4115s # GDBusProxyClass *proxy_class; 4115s # 4115s # gobject_class = G_OBJECT_CLASS (klass); 4115s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4115s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4115s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4115s # 4115s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4115s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4115s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4115s # 4115s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4115s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4115s # #endif 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new: 4115s # * @connection: A #GDBusConnection. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4115s # * @user_data: User data to pass to @callback. 4115s # * 4115s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4115s # * 4115s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4115s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_proxy_new ( 4115s # GDBusConnection *connection, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GAsyncReadyCallback callback, 4115s # gpointer user_data) 4115s # { 4115s # 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); 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_finish: 4115s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_finish ( 4115s # GAsyncResult *res, 4115s # GError **error) 4115s # { 4115s # GObject *ret; 4115s # GObject *source_object; 4115s # source_object = g_async_result_get_source_object (res); 4115s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4115s # g_object_unref (source_object); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_sync: 4115s # * @connection: A #GDBusConnection. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4115s # * 4115s # * The calling thread is blocked until a reply is received. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_sync ( 4115s # GDBusConnection *connection, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GError **error) 4115s # { 4115s # GInitable *ret; 4115s # 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); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_for_bus: 4115s # * @bus_type: A #GBusType. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: A bus name (well-known or unique). 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4115s # * @user_data: User data to pass to @callback. 4115s # * 4115s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4115s # * 4115s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4115s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_proxy_new_for_bus ( 4115s # GBusType bus_type, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GAsyncReadyCallback callback, 4115s # gpointer user_data) 4115s # { 4115s # 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); 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4115s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4115s # GAsyncResult *res, 4115s # GError **error) 4115s # { 4115s # GObject *ret; 4115s # GObject *source_object; 4115s # source_object = g_async_result_get_source_object (res); 4115s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4115s # g_object_unref (source_object); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4115s # * @bus_type: A #GBusType. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: A bus name (well-known or unique). 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4115s # * 4115s # * The calling thread is blocked until a reply is received. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4115s # GBusType bus_type, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GError **error) 4115s # { 4115s # GInitable *ret; 4115s # 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); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # 4115s # /* ------------------------------------------------------------------------ */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceSkeleton: 4115s # * 4115s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4115s # */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceSkeletonClass: 4115s # * @parent_class: The parent class. 4115s # * 4115s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4115s # */ 4115s # 4115s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4115s # { 4115s # GValue *properties; 4115s # GList *changed_properties; 4115s # GSource *changed_properties_idle_source; 4115s # GMainContext *context; 4115s # GMutex lock; 4115s # }; 4115s # 4115s # static void 4115s # _org_project_signaling_iface_skeleton_handle_method_call ( 4115s # GDBusConnection *connection G_GNUC_UNUSED, 4115s # const gchar *sender G_GNUC_UNUSED, 4115s # const gchar *object_path G_GNUC_UNUSED, 4115s # const gchar *interface_name, 4115s # const gchar *method_name, 4115s # GVariant *parameters, 4115s # GDBusMethodInvocation *invocation, 4115s # gpointer user_data) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4115s # _ExtendedGDBusMethodInfo *info; 4115s # GVariantIter iter; 4115s # GVariant *child; 4115s # GValue *paramv; 4115s # gsize num_params; 4115s # guint num_extra; 4115s # gsize n; 4115s # guint signal_id; 4115s # GValue return_value = G_VALUE_INIT; 4115s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4115s # g_assert (info != NULL); 4115s # num_params = g_variant_n_children (parameters); 4115s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4115s # n = 0; 4115s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_value_set_object (¶mv[n++], skeleton); 4115s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4115s # g_value_set_object (¶mv[n++], invocation); 4115s # if (info->pass_fdlist) 4115s # { 4115s # #ifdef G_OS_UNIX 4115s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4115s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4115s # #else 4115s # g_assert_not_reached (); 4115s # #endif 4115s # } 4115s # g_variant_iter_init (&iter, parameters); 4115s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4115s # { 4115s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4115s # if (arg_info->use_gvariant) 4115s # { 4115s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4115s # g_value_set_variant (¶mv[n], child); 4115s # n++; 4115s # } 4115s # else 4115s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4115s # g_variant_unref (child); 4115s # } 4115s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4115s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4115s # if (!g_value_get_boolean (&return_value)) 4115s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4115s # g_value_unset (&return_value); 4115s # for (n = 0; n < num_params + num_extra; n++) 4115s # g_value_unset (¶mv[n]); 4115s # g_free (paramv); 4115s # } 4115s # 4115s # static GVariant * 4115s # _org_project_signaling_iface_skeleton_handle_get_property ( 4115s # GDBusConnection *connection G_GNUC_UNUSED, 4115s # const gchar *sender G_GNUC_UNUSED, 4115s # const gchar *object_path G_GNUC_UNUSED, 4115s # const gchar *interface_name G_GNUC_UNUSED, 4115s # const gchar *property_name, 4115s # GError **error, 4115s # gpointer user_data) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4115s # GValue value = G_VALUE_INIT; 4115s # GParamSpec *pspec; 4115s # _ExtendedGDBusPropertyInfo *info; 4115s # GVariant *ret; 4115s # ret = NULL; 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4115s # g_assert (info != NULL); 4115s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4115s # if (pspec == NULL) 4115s # { 4115s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4115s # } 4115s # else 4115s # { 4115s # g_value_init (&value, pspec->value_type); 4115s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4115s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4115s # g_value_unset (&value); 4115s # } 4115s # return ret; 4115s # } 4115s # 4115s # static gboolean 4115s # _org_project_signaling_iface_skeleton_handle_set_property ( 4115s # GDBusConnection *connection G_GNUC_UNUSED, 4115s # const gchar *sender G_GNUC_UNUSED, 4115s # const gchar *object_path G_GNUC_UNUSED, 4115s # const gchar *interface_name G_GNUC_UNUSED, 4115s # const gchar *property_name, 4115s # GVariant *variant, 4115s # GError **error, 4115s # gpointer user_data) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4115s # GValue value = G_VALUE_INIT; 4115s # GParamSpec *pspec; 4115s # _ExtendedGDBusPropertyInfo *info; 4115s # gboolean ret; 4115s # ret = FALSE; 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4115s # g_assert (info != NULL); 4115s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4115s # if (pspec == NULL) 4115s # { 4115s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4115s # } 4115s # else 4115s # { 4115s # if (info->use_gvariant) 4115s # g_value_set_variant (&value, variant); 4115s # else 4115s # g_dbus_gvariant_to_gvalue (variant, &value); 4115s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4115s # g_value_unset (&value); 4115s # ret = TRUE; 4115s # } 4115s # return ret; 4115s # } 4115s # 4115s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4115s # { 4115s # _org_project_signaling_iface_skeleton_handle_method_call, 4115s # _org_project_signaling_iface_skeleton_handle_get_property, 4115s # _org_project_signaling_iface_skeleton_handle_set_property, 4115s # {NULL} 4115s # }; 4115s # 4115s # static GDBusInterfaceInfo * 4115s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4115s # { 4115s # return org_project_signaling_iface_interface_info (); 4115s # } 4115s # 4115s # static GDBusInterfaceVTable * 4115s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4115s # { 4115s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4115s # } 4115s # 4115s # static GVariant * 4115s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4115s # 4115s # GVariantBuilder builder; 4115s # guint n; 4115s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4115s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4115s # goto out; 4115s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4115s # { 4115s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4115s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4115s # { 4115s # GVariant *value; 4115s # 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); 4115s # if (value != NULL) 4115s # { 4115s # g_variant_take_ref (value); 4115s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4115s # g_variant_unref (value); 4115s # } 4115s # } 4115s # } 4115s # out: 4115s # return g_variant_builder_end (&builder); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # static void 4115s # _org_project_signaling_iface_on_signal_simple_signal ( 4115s # OrgProjectSignalingIface *object) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4115s # 4115s # GList *connections, *l; 4115s # GVariant *signal_variant; 4115s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4115s # 4115s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4115s # for (l = connections; l != NULL; l = l->next) 4115s # { 4115s # GDBusConnection *connection = l->data; 4115s # g_dbus_connection_emit_signal (connection, 4115s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4115s # signal_variant, NULL); 4115s # } 4115s # g_variant_unref (signal_variant); 4115s # g_list_free_full (connections, g_object_unref); 4115s # } 4115s # 4115s # static void 4115s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 4115s # OrgProjectSignalingIface *object, 4115s # GVariant *arg_arg_asv) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4115s # 4115s # GList *connections, *l; 4115s # GVariant *signal_variant; 4115s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4115s # 4115s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 4115s # arg_arg_asv)); 4115s # for (l = connections; l != NULL; l = l->next) 4115s # { 4115s # GDBusConnection *connection = l->data; 4115s # g_dbus_connection_emit_signal (connection, 4115s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 4115s # signal_variant, NULL); 4115s # } 4115s # g_variant_unref (signal_variant); 4115s # g_list_free_full (connections, g_object_unref); 4115s # } 4115s # 4115s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4115s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4115s # 4115s # #else 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4115s # 4115s # #endif 4115s # static void 4115s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4115s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4115s # if (skeleton->priv->changed_properties_idle_source != NULL) 4115s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4115s # g_main_context_unref (skeleton->priv->context); 4115s # g_mutex_clear (&skeleton->priv->lock); 4115s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4115s # { 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4115s # #else 4115s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4115s # #endif 4115s # 4115s # g_mutex_init (&skeleton->priv->lock); 4115s # skeleton->priv->context = g_main_context_ref_thread_default (); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4115s # { 4115s # GObjectClass *gobject_class; 4115s # GDBusInterfaceSkeletonClass *skeleton_class; 4115s # 4115s # gobject_class = G_OBJECT_CLASS (klass); 4115s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4115s # 4115s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4115s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4115s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4115s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4115s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4115s # 4115s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4115s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4115s # #endif 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4115s # { 4115s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4115s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_skeleton_new: 4115s # * 4115s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_skeleton_new (void) 4115s # { 4115s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4115s # } 4115s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 4115s # tmpdir: /tmp/tmpd7whnfp7 4115s # codegen: /usr/bin/gdbus-codegen 4115s # /tmp/tmpd7whnfp7/tmpg7n8rg8p.xml: 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpd7whnfp7/tmpg7n8rg8p.xml', '--output', '-', '--body'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s # Output: /* 4115s # * This file is generated by gdbus-codegen, do not modify it. 4115s # * 4115s # * The license of this code is the same as for the D-Bus interface description 4115s # * it was derived from. Note that it links to GLib, so must comply with the 4115s # * LGPL linking clauses. 4115s # */ 4115s # 4115s # #ifdef HAVE_CONFIG_H 4115s # # include "config.h" 4115s # #endif 4115s # 4115s # #include 4115s # #ifdef G_OS_UNIX 4115s # # include 4115s # #endif 4115s # 4115s # #ifdef G_ENABLE_DEBUG 4115s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4115s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4115s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4115s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4115s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4115s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4115s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4115s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4115s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4115s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4115s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4115s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4115s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4115s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4115s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4115s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4115s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4115s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4115s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4115s # #else /* !G_ENABLE_DEBUG */ 4115s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4115s # * Do not access GValues directly in your code. Instead, use the 4115s # * g_value_get_*() functions 4115s # */ 4115s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4115s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4115s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4115s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4115s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4115s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4115s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4115s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4115s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4115s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4115s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4115s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4115s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4115s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4115s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4115s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4115s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4115s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4115s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4115s # #endif /* !G_ENABLE_DEBUG */ 4115s # 4115s # typedef struct 4115s # { 4115s # GDBusArgInfo parent_struct; 4115s # gboolean use_gvariant; 4115s # } _ExtendedGDBusArgInfo; 4115s # 4115s # typedef struct 4115s # { 4115s # GDBusMethodInfo parent_struct; 4115s # const gchar *signal_name; 4115s # gboolean pass_fdlist; 4115s # } _ExtendedGDBusMethodInfo; 4115s # 4115s # typedef struct 4115s # { 4115s # GDBusSignalInfo parent_struct; 4115s # const gchar *signal_name; 4115s # } _ExtendedGDBusSignalInfo; 4115s # 4115s # typedef struct 4115s # { 4115s # GDBusPropertyInfo parent_struct; 4115s # const gchar *hyphen_name; 4115s # guint use_gvariant : 1; 4115s # guint emits_changed_signal : 1; 4115s # } _ExtendedGDBusPropertyInfo; 4115s # 4115s # typedef struct 4115s # { 4115s # GDBusInterfaceInfo parent_struct; 4115s # const gchar *hyphen_name; 4115s # } _ExtendedGDBusInterfaceInfo; 4115s # 4115s # typedef struct 4115s # { 4115s # const _ExtendedGDBusPropertyInfo *info; 4115s # guint prop_id; 4115s # GValue orig_value; /* the value before the change */ 4115s # } ChangedProperty; 4115s # 4115s # static void 4115s # _changed_property_free (ChangedProperty *data) 4115s # { 4115s # g_value_unset (&data->orig_value); 4115s # g_free (data); 4115s # } 4115s # 4115s # static gboolean 4115s # _g_strv_equal0 (gchar **a, gchar **b) 4115s # { 4115s # gboolean ret = FALSE; 4115s # guint n; 4115s # if (a == NULL && b == NULL) 4115s # { 4115s # ret = TRUE; 4115s # goto out; 4115s # } 4115s # if (a == NULL || b == NULL) 4115s # goto out; 4115s # if (g_strv_length (a) != g_strv_length (b)) 4115s # goto out; 4115s # for (n = 0; a[n] != NULL; n++) 4115s # if (g_strcmp0 (a[n], b[n]) != 0) 4115s # goto out; 4115s # ret = TRUE; 4115s # out: 4115s # return ret; 4115s # } 4115s # 4115s # static gboolean 4115s # _g_variant_equal0 (GVariant *a, GVariant *b) 4115s # { 4115s # gboolean ret = FALSE; 4115s # if (a == NULL && b == NULL) 4115s # { 4115s # ret = TRUE; 4115s # goto out; 4115s # } 4115s # if (a == NULL || b == NULL) 4115s # goto out; 4115s # ret = g_variant_equal (a, b); 4115s # out: 4115s # return ret; 4115s # } 4115s # 4115s # G_GNUC_UNUSED static gboolean 4115s # _g_value_equal (const GValue *a, const GValue *b) 4115s # { 4115s # gboolean ret = FALSE; 4115s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4115s # switch (G_VALUE_TYPE (a)) 4115s # { 4115s # case G_TYPE_BOOLEAN: 4115s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4115s # break; 4115s # case G_TYPE_UCHAR: 4115s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4115s # break; 4115s # case G_TYPE_INT: 4115s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4115s # break; 4115s # case G_TYPE_UINT: 4115s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4115s # break; 4115s # case G_TYPE_INT64: 4115s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4115s # break; 4115s # case G_TYPE_UINT64: 4115s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4115s # break; 4115s # case G_TYPE_DOUBLE: 4115s # { 4115s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4115s # gdouble da = g_value_get_double (a); 4115s # gdouble db = g_value_get_double (b); 4115s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4115s # } 4115s # break; 4115s # case G_TYPE_STRING: 4115s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4115s # break; 4115s # case G_TYPE_VARIANT: 4115s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4115s # break; 4115s # default: 4115s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4115s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4115s # else 4115s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4115s # break; 4115s # } 4115s # return ret; 4115s # } 4115s # 4115s # static void 4115s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 4115s # GClosure *closure, 4115s # GValue *return_value G_GNUC_UNUSED, 4115s # unsigned int n_param_values, 4115s # const GValue *param_values, 4115s # void *invocation_hint G_GNUC_UNUSED, 4115s # void *marshal_data) 4115s # { 4115s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 4115s # (void *data1, 4115s # gboolean arg_an_b, 4115s # guchar arg_an_y, 4115s # gint16 arg_an_n, 4115s # guint16 arg_an_q, 4115s # gint arg_an_i, 4115s # guint arg_an_u, 4115s # gint64 arg_an_x, 4115s # guint64 arg_an_t, 4115s # gdouble arg_an_d, 4115s # const gchar *arg_an_s, 4115s # const gchar *arg_an_o, 4115s # const gchar *arg_an_g, 4115s # GVariant *arg_an_h, 4115s # const gchar *arg_an_ay, 4115s # const gchar *const *arg_an_as, 4115s # const gchar *const *arg_an_ao, 4115s # const gchar *const *arg_an_aay, 4115s # GVariant *arg_an_asv, 4115s # void *data2); 4115s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 4115s # GCClosure *cc = (GCClosure*) closure; 4115s # void *data1, *data2; 4115s # 4115s # g_return_if_fail (n_param_values == 19); 4115s # 4115s # if (G_CCLOSURE_SWAP_DATA (closure)) 4115s # { 4115s # data1 = closure->data; 4115s # data2 = g_value_peek_pointer (param_values + 0); 4115s # } 4115s # else 4115s # { 4115s # data1 = g_value_peek_pointer (param_values + 0); 4115s # data2 = closure->data; 4115s # } 4115s # 4115s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 4115s # (marshal_data ? marshal_data : cc->callback); 4115s # 4115s # callback (data1, 4115s # g_marshal_value_peek_boolean (param_values + 1), 4115s # g_marshal_value_peek_uchar (param_values + 2), 4115s # g_marshal_value_peek_int (param_values + 3), 4115s # g_marshal_value_peek_uint (param_values + 4), 4115s # g_marshal_value_peek_int (param_values + 5), 4115s # g_marshal_value_peek_uint (param_values + 6), 4115s # g_marshal_value_peek_int64 (param_values + 7), 4115s # g_marshal_value_peek_uint64 (param_values + 8), 4115s # g_marshal_value_peek_double (param_values + 9), 4115s # g_marshal_value_peek_string (param_values + 10), 4115s # g_marshal_value_peek_string (param_values + 11), 4115s # g_marshal_value_peek_string (param_values + 12), 4115s # g_marshal_value_peek_variant (param_values + 13), 4115s # g_marshal_value_peek_string (param_values + 14), 4115s # g_marshal_value_peek_boxed (param_values + 15), 4115s # g_marshal_value_peek_boxed (param_values + 16), 4115s # g_marshal_value_peek_boxed (param_values + 17), 4115s # g_marshal_value_peek_variant (param_values + 18), 4115s # data2); 4115s # } 4115s # 4115s # /* ------------------------------------------------------------------------ 4115s # * Code for interface org.project.SignalingIface 4115s # * ------------------------------------------------------------------------ 4115s # */ 4115s # 4115s # /** 4115s # * SECTION:OrgProjectSignalingIface 4115s # * @title: OrgProjectSignalingIface 4115s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 4115s # * 4115s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 4115s # */ 4115s # 4115s # enum 4115s # { 4115s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 4115s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 4115s # }; 4115s # 4115s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 4115s # 4115s # /* ---- Introspection data for org.project.SignalingIface ---- */ 4115s # 4115s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "SimpleSignal", 4115s # NULL, 4115s # NULL 4115s # }, 4115s # "simple-signal" 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_b", 4115s # (gchar *) "b", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_y", 4115s # (gchar *) "y", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_n", 4115s # (gchar *) "n", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_q", 4115s # (gchar *) "q", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_i", 4115s # (gchar *) "i", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_u", 4115s # (gchar *) "u", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_x", 4115s # (gchar *) "x", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_t", 4115s # (gchar *) "t", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_d", 4115s # (gchar *) "d", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_s", 4115s # (gchar *) "s", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_o", 4115s # (gchar *) "o", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_g", 4115s # (gchar *) "g", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_h", 4115s # (gchar *) "h", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_ay", 4115s # (gchar *) "ay", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_as", 4115s # (gchar *) "as", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_ao", 4115s # (gchar *) "ao", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_aay", 4115s # (gchar *) "aay", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "an_asv", 4115s # (gchar *) "a{sv}", 4115s # NULL 4115s # }, 4115s # FALSE 4115s # }; 4115s # 4115s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 4115s # { 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 4115s # NULL 4115s # }; 4115s # 4115s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "SignalWithManyArgs", 4115s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 4115s # NULL 4115s # }, 4115s # "signal-with-many-args" 4115s # }; 4115s # 4115s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 4115s # { 4115s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 4115s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 4115s # NULL 4115s # }; 4115s # 4115s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 4115s # { 4115s # { 4115s # -1, 4115s # (gchar *) "org.project.SignalingIface", 4115s # NULL, 4115s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 4115s # NULL, 4115s # NULL 4115s # }, 4115s # "org-project-signaling-iface", 4115s # }; 4115s # 4115s # 4115s # /** 4115s # * org_project_signaling_iface_interface_info: 4115s # * 4115s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 4115s # * 4115s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4115s # */ 4115s # GDBusInterfaceInfo * 4115s # org_project_signaling_iface_interface_info (void) 4115s # { 4115s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_override_properties: 4115s # * @klass: The class structure for a #GObject derived class. 4115s # * @property_id_begin: The property id to assign to the first overridden property. 4115s # * 4115s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 4115s # * The properties are overridden in the order they are defined. 4115s # * 4115s # * Returns: The last property id. 4115s # */ 4115s # guint 4115s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4115s # { 4115s # return property_id_begin - 1; 4115s # } 4115s # 4115s # 4115s # inline static void 4115s # org_project_signaling_iface_signal_marshal_simple_signal ( 4115s # GClosure *closure, 4115s # GValue *return_value, 4115s # unsigned int n_param_values, 4115s # const GValue *param_values, 4115s # void *invocation_hint, 4115s # void *marshal_data) 4115s # { 4115s # g_cclosure_marshal_VOID__VOID (closure, 4115s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4115s # } 4115s # 4115s # inline static void 4115s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 4115s # GClosure *closure, 4115s # GValue *return_value, 4115s # unsigned int n_param_values, 4115s # const GValue *param_values, 4115s # void *invocation_hint, 4115s # void *marshal_data) 4115s # { 4115s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 4115s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4115s # } 4115s # 4115s # 4115s # /** 4115s # * OrgProjectSignalingIface: 4115s # * 4115s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 4115s # */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceIface: 4115s # * @parent_iface: The parent interface. 4115s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 4115s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 4115s # * 4115s # * Virtual table for the D-Bus interface org.project.SignalingIface. 4115s # */ 4115s # 4115s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 4115s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 4115s # 4115s # static void 4115s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 4115s # { 4115s # /* GObject signals for received D-Bus signals: */ 4115s # /** 4115s # * OrgProjectSignalingIface::simple-signal: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * 4115s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 4115s # * 4115s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4115s # */ 4115s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 4115s # g_signal_new ("simple-signal", 4115s # G_TYPE_FROM_INTERFACE (iface), 4115s # G_SIGNAL_RUN_LAST, 4115s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 4115s # NULL, 4115s # NULL, 4115s # org_project_signaling_iface_signal_marshal_simple_signal, 4115s # G_TYPE_NONE, 4115s # 0); 4115s # 4115s # /** 4115s # * OrgProjectSignalingIface::signal-with-many-args: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * @arg_an_b: Argument. 4115s # * @arg_an_y: Argument. 4115s # * @arg_an_n: Argument. 4115s # * @arg_an_q: Argument. 4115s # * @arg_an_i: Argument. 4115s # * @arg_an_u: Argument. 4115s # * @arg_an_x: Argument. 4115s # * @arg_an_t: Argument. 4115s # * @arg_an_d: Argument. 4115s # * @arg_an_s: Argument. 4115s # * @arg_an_o: Argument. 4115s # * @arg_an_g: Argument. 4115s # * @arg_an_h: Argument. 4115s # * @arg_an_ay: Argument. 4115s # * @arg_an_as: Argument. 4115s # * @arg_an_ao: Argument. 4115s # * @arg_an_aay: Argument. 4115s # * @arg_an_asv: Argument. 4115s # * 4115s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 4115s # * 4115s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4115s # */ 4115s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 4115s # g_signal_new ("signal-with-many-args", 4115s # G_TYPE_FROM_INTERFACE (iface), 4115s # G_SIGNAL_RUN_LAST, 4115s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 4115s # NULL, 4115s # NULL, 4115s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 4115s # G_TYPE_NONE, 4115s # 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); 4115s # 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_emit_simple_signal: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * 4115s # * Emits the "SimpleSignal" D-Bus signal. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_emit_simple_signal ( 4115s # OrgProjectSignalingIface *object) 4115s # { 4115s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_emit_signal_with_many_args: 4115s # * @object: A #OrgProjectSignalingIface. 4115s # * @arg_an_b: Argument to pass with the signal. 4115s # * @arg_an_y: Argument to pass with the signal. 4115s # * @arg_an_n: Argument to pass with the signal. 4115s # * @arg_an_q: Argument to pass with the signal. 4115s # * @arg_an_i: Argument to pass with the signal. 4115s # * @arg_an_u: Argument to pass with the signal. 4115s # * @arg_an_x: Argument to pass with the signal. 4115s # * @arg_an_t: Argument to pass with the signal. 4115s # * @arg_an_d: Argument to pass with the signal. 4115s # * @arg_an_s: Argument to pass with the signal. 4115s # * @arg_an_o: Argument to pass with the signal. 4115s # * @arg_an_g: Argument to pass with the signal. 4115s # * @arg_an_h: Argument to pass with the signal. 4115s # * @arg_an_ay: Argument to pass with the signal. 4115s # * @arg_an_as: Argument to pass with the signal. 4115s # * @arg_an_ao: Argument to pass with the signal. 4115s # * @arg_an_aay: Argument to pass with the signal. 4115s # * @arg_an_asv: Argument to pass with the signal. 4115s # * 4115s # * Emits the "SignalWithManyArgs" D-Bus signal. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_emit_signal_with_many_args ( 4115s # OrgProjectSignalingIface *object, 4115s # gboolean arg_an_b, 4115s # guchar arg_an_y, 4115s # gint16 arg_an_n, 4115s # guint16 arg_an_q, 4115s # gint arg_an_i, 4115s # guint arg_an_u, 4115s # gint64 arg_an_x, 4115s # guint64 arg_an_t, 4115s # gdouble arg_an_d, 4115s # const gchar *arg_an_s, 4115s # const gchar *arg_an_o, 4115s # const gchar *arg_an_g, 4115s # GVariant *arg_an_h, 4115s # const gchar *arg_an_ay, 4115s # const gchar *const *arg_an_as, 4115s # const gchar *const *arg_an_ao, 4115s # const gchar *const *arg_an_aay, 4115s # GVariant *arg_an_asv) 4115s # { 4115s # 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); 4115s # } 4115s # 4115s # /* ------------------------------------------------------------------------ */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceProxy: 4115s # * 4115s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 4115s # */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceProxyClass: 4115s # * @parent_class: The parent class. 4115s # * 4115s # * Class structure for #OrgProjectSignalingIfaceProxy. 4115s # */ 4115s # 4115s # struct _OrgProjectSignalingIfaceProxyPrivate 4115s # { 4115s # GData *qdata; 4115s # }; 4115s # 4115s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 4115s # 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4115s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4115s # 4115s # #else 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 4115s # 4115s # #endif 4115s # static void 4115s # org_project_signaling_iface_proxy_finalize (GObject *object) 4115s # { 4115s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 4115s # g_datalist_clear (&proxy->priv->qdata); 4115s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 4115s # guint prop_id G_GNUC_UNUSED, 4115s # GValue *value G_GNUC_UNUSED, 4115s # GParamSpec *pspec G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 4115s # guint prop_id G_GNUC_UNUSED, 4115s # const GValue *value G_GNUC_UNUSED, 4115s # GParamSpec *pspec G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 4115s # const gchar *sender_name G_GNUC_UNUSED, 4115s # const gchar *signal_name, 4115s # GVariant *parameters) 4115s # { 4115s # _ExtendedGDBusSignalInfo *info; 4115s # GVariantIter iter; 4115s # GVariant *child; 4115s # GValue *paramv; 4115s # gsize num_params; 4115s # gsize n; 4115s # guint signal_id; 4115s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 4115s # if (info == NULL) 4115s # return; 4115s # num_params = g_variant_n_children (parameters); 4115s # paramv = g_new0 (GValue, num_params + 1); 4115s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_value_set_object (¶mv[0], proxy); 4115s # g_variant_iter_init (&iter, parameters); 4115s # n = 1; 4115s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4115s # { 4115s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4115s # if (arg_info->use_gvariant) 4115s # { 4115s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4115s # g_value_set_variant (¶mv[n], child); 4115s # n++; 4115s # } 4115s # else 4115s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4115s # g_variant_unref (child); 4115s # } 4115s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_signal_emitv (paramv, signal_id, 0, NULL); 4115s # for (n = 0; n < num_params + 1; n++) 4115s # g_value_unset (¶mv[n]); 4115s # g_free (paramv); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 4115s # GVariant *changed_properties, 4115s # const gchar *const *invalidated_properties) 4115s # { 4115s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 4115s # guint n; 4115s # const gchar *key; 4115s # GVariantIter *iter; 4115s # _ExtendedGDBusPropertyInfo *info; 4115s # g_variant_get (changed_properties, "a{sv}", &iter); 4115s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4115s # { 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 4115s # g_datalist_remove_data (&proxy->priv->qdata, key); 4115s # if (info != NULL) 4115s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4115s # } 4115s # g_variant_iter_free (iter); 4115s # for (n = 0; invalidated_properties[n] != NULL; n++) 4115s # { 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 4115s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4115s # if (info != NULL) 4115s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4115s # } 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 4115s # { 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 4115s # #else 4115s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 4115s # #endif 4115s # 4115s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 4115s # { 4115s # GObjectClass *gobject_class; 4115s # GDBusProxyClass *proxy_class; 4115s # 4115s # gobject_class = G_OBJECT_CLASS (klass); 4115s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 4115s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 4115s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 4115s # 4115s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4115s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 4115s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 4115s # 4115s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4115s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 4115s # #endif 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new: 4115s # * @connection: A #GDBusConnection. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4115s # * @user_data: User data to pass to @callback. 4115s # * 4115s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 4115s # * 4115s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4115s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_proxy_new ( 4115s # GDBusConnection *connection, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GAsyncReadyCallback callback, 4115s # gpointer user_data) 4115s # { 4115s # 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); 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_finish: 4115s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_finish ( 4115s # GAsyncResult *res, 4115s # GError **error) 4115s # { 4115s # GObject *ret; 4115s # GObject *source_object; 4115s # source_object = g_async_result_get_source_object (res); 4115s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4115s # g_object_unref (source_object); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_sync: 4115s # * @connection: A #GDBusConnection. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 4115s # * 4115s # * The calling thread is blocked until a reply is received. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_sync ( 4115s # GDBusConnection *connection, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GError **error) 4115s # { 4115s # GInitable *ret; 4115s # 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); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_for_bus: 4115s # * @bus_type: A #GBusType. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: A bus name (well-known or unique). 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4115s # * @user_data: User data to pass to @callback. 4115s # * 4115s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4115s # * 4115s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4115s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4115s # */ 4115s # void 4115s # org_project_signaling_iface_proxy_new_for_bus ( 4115s # GBusType bus_type, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GAsyncReadyCallback callback, 4115s # gpointer user_data) 4115s # { 4115s # 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); 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_for_bus_finish: 4115s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_for_bus_finish ( 4115s # GAsyncResult *res, 4115s # GError **error) 4115s # { 4115s # GObject *ret; 4115s # GObject *source_object; 4115s # source_object = g_async_result_get_source_object (res); 4115s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4115s # g_object_unref (source_object); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_proxy_new_for_bus_sync: 4115s # * @bus_type: A #GBusType. 4115s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4115s # * @name: A bus name (well-known or unique). 4115s # * @object_path: An object path. 4115s # * @cancellable: (nullable): A #GCancellable or %NULL. 4115s # * @error: Return location for error or %NULL 4115s # * 4115s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4115s # * 4115s # * The calling thread is blocked until a reply is received. 4115s # * 4115s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_proxy_new_for_bus_sync ( 4115s # GBusType bus_type, 4115s # GDBusProxyFlags flags, 4115s # const gchar *name, 4115s # const gchar *object_path, 4115s # GCancellable *cancellable, 4115s # GError **error) 4115s # { 4115s # GInitable *ret; 4115s # 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); 4115s # if (ret != NULL) 4115s # return ORG_PROJECT_SIGNALING_IFACE (ret); 4115s # else 4115s # return NULL; 4115s # } 4115s # 4115s # 4115s # /* ------------------------------------------------------------------------ */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceSkeleton: 4115s # * 4115s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 4115s # */ 4115s # 4115s # /** 4115s # * OrgProjectSignalingIfaceSkeletonClass: 4115s # * @parent_class: The parent class. 4115s # * 4115s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 4115s # */ 4115s # 4115s # struct _OrgProjectSignalingIfaceSkeletonPrivate 4115s # { 4115s # GValue *properties; 4115s # GList *changed_properties; 4115s # GSource *changed_properties_idle_source; 4115s # GMainContext *context; 4115s # GMutex lock; 4115s # }; 4115s # 4115s # static void 4115s # _org_project_signaling_iface_skeleton_handle_method_call ( 4115s # GDBusConnection *connection G_GNUC_UNUSED, 4115s # const gchar *sender G_GNUC_UNUSED, 4115s # const gchar *object_path G_GNUC_UNUSED, 4115s # const gchar *interface_name, 4115s # const gchar *method_name, 4115s # GVariant *parameters, 4115s # GDBusMethodInvocation *invocation, 4115s # gpointer user_data) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4115s # _ExtendedGDBusMethodInfo *info; 4115s # GVariantIter iter; 4115s # GVariant *child; 4115s # GValue *paramv; 4115s # gsize num_params; 4115s # guint num_extra; 4115s # gsize n; 4115s # guint signal_id; 4115s # GValue return_value = G_VALUE_INIT; 4115s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4115s # g_assert (info != NULL); 4115s # num_params = g_variant_n_children (parameters); 4115s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4115s # n = 0; 4115s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_value_set_object (¶mv[n++], skeleton); 4115s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4115s # g_value_set_object (¶mv[n++], invocation); 4115s # if (info->pass_fdlist) 4115s # { 4115s # #ifdef G_OS_UNIX 4115s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4115s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4115s # #else 4115s # g_assert_not_reached (); 4115s # #endif 4115s # } 4115s # g_variant_iter_init (&iter, parameters); 4115s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4115s # { 4115s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4115s # if (arg_info->use_gvariant) 4115s # { 4115s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4115s # g_value_set_variant (¶mv[n], child); 4115s # n++; 4115s # } 4115s # else 4115s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4115s # g_variant_unref (child); 4115s # } 4115s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 4115s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4115s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4115s # if (!g_value_get_boolean (&return_value)) 4115s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4115s # g_value_unset (&return_value); 4115s # for (n = 0; n < num_params + num_extra; n++) 4115s # g_value_unset (¶mv[n]); 4115s # g_free (paramv); 4115s # } 4115s # 4115s # static GVariant * 4115s # _org_project_signaling_iface_skeleton_handle_get_property ( 4115s # GDBusConnection *connection G_GNUC_UNUSED, 4115s # const gchar *sender G_GNUC_UNUSED, 4115s # const gchar *object_path G_GNUC_UNUSED, 4115s # const gchar *interface_name G_GNUC_UNUSED, 4115s # const gchar *property_name, 4115s # GError **error, 4115s # gpointer user_data) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4115s # GValue value = G_VALUE_INIT; 4115s # GParamSpec *pspec; 4115s # _ExtendedGDBusPropertyInfo *info; 4115s # GVariant *ret; 4115s # ret = NULL; 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4115s # g_assert (info != NULL); 4115s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4115s # if (pspec == NULL) 4115s # { 4115s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4115s # } 4115s # else 4115s # { 4115s # g_value_init (&value, pspec->value_type); 4115s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4115s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4115s # g_value_unset (&value); 4115s # } 4115s # return ret; 4115s # } 4115s # 4115s # static gboolean 4115s # _org_project_signaling_iface_skeleton_handle_set_property ( 4115s # GDBusConnection *connection G_GNUC_UNUSED, 4115s # const gchar *sender G_GNUC_UNUSED, 4115s # const gchar *object_path G_GNUC_UNUSED, 4115s # const gchar *interface_name G_GNUC_UNUSED, 4115s # const gchar *property_name, 4115s # GVariant *variant, 4115s # GError **error, 4115s # gpointer user_data) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 4115s # GValue value = G_VALUE_INIT; 4115s # GParamSpec *pspec; 4115s # _ExtendedGDBusPropertyInfo *info; 4115s # gboolean ret; 4115s # ret = FALSE; 4115s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 4115s # g_assert (info != NULL); 4115s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4115s # if (pspec == NULL) 4115s # { 4115s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4115s # } 4115s # else 4115s # { 4115s # if (info->use_gvariant) 4115s # g_value_set_variant (&value, variant); 4115s # else 4115s # g_dbus_gvariant_to_gvalue (variant, &value); 4115s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4115s # g_value_unset (&value); 4115s # ret = TRUE; 4115s # } 4115s # return ret; 4115s # } 4115s # 4115s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 4115s # { 4115s # _org_project_signaling_iface_skeleton_handle_method_call, 4115s # _org_project_signaling_iface_skeleton_handle_get_property, 4115s # _org_project_signaling_iface_skeleton_handle_set_property, 4115s # {NULL} 4115s # }; 4115s # 4115s # static GDBusInterfaceInfo * 4115s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4115s # { 4115s # return org_project_signaling_iface_interface_info (); 4115s # } 4115s # 4115s # static GDBusInterfaceVTable * 4115s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4115s # { 4115s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 4115s # } 4115s # 4115s # static GVariant * 4115s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 4115s # 4115s # GVariantBuilder builder; 4115s # guint n; 4115s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4115s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 4115s # goto out; 4115s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 4115s # { 4115s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 4115s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4115s # { 4115s # GVariant *value; 4115s # 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); 4115s # if (value != NULL) 4115s # { 4115s # g_variant_take_ref (value); 4115s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4115s # g_variant_unref (value); 4115s # } 4115s # } 4115s # } 4115s # out: 4115s # return g_variant_builder_end (&builder); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4115s # { 4115s # } 4115s # 4115s # static void 4115s # _org_project_signaling_iface_on_signal_simple_signal ( 4115s # OrgProjectSignalingIface *object) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4115s # 4115s # GList *connections, *l; 4115s # GVariant *signal_variant; 4115s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4115s # 4115s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4115s # for (l = connections; l != NULL; l = l->next) 4115s # { 4115s # GDBusConnection *connection = l->data; 4115s # g_dbus_connection_emit_signal (connection, 4115s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 4115s # signal_variant, NULL); 4115s # } 4115s # g_variant_unref (signal_variant); 4115s # g_list_free_full (connections, g_object_unref); 4115s # } 4115s # 4115s # static void 4115s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 4115s # OrgProjectSignalingIface *object, 4115s # gboolean arg_an_b, 4115s # guchar arg_an_y, 4115s # gint16 arg_an_n, 4115s # guint16 arg_an_q, 4115s # gint arg_an_i, 4115s # guint arg_an_u, 4115s # gint64 arg_an_x, 4115s # guint64 arg_an_t, 4115s # gdouble arg_an_d, 4115s # const gchar *arg_an_s, 4115s # const gchar *arg_an_o, 4115s # const gchar *arg_an_g, 4115s # GVariant *arg_an_h, 4115s # const gchar *arg_an_ay, 4115s # const gchar *const *arg_an_as, 4115s # const gchar *const *arg_an_ao, 4115s # const gchar *const *arg_an_aay, 4115s # GVariant *arg_an_asv) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4115s # 4115s # GList *connections, *l; 4115s # GVariant *signal_variant; 4115s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4115s # 4115s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 4115s # arg_an_b, 4115s # arg_an_y, 4115s # arg_an_n, 4115s # arg_an_q, 4115s # arg_an_i, 4115s # arg_an_u, 4115s # arg_an_x, 4115s # arg_an_t, 4115s # arg_an_d, 4115s # arg_an_s, 4115s # arg_an_o, 4115s # arg_an_g, 4115s # arg_an_h, 4115s # arg_an_ay, 4115s # arg_an_as, 4115s # arg_an_ao, 4115s # arg_an_aay, 4115s # arg_an_asv)); 4115s # for (l = connections; l != NULL; l = l->next) 4115s # { 4115s # GDBusConnection *connection = l->data; 4115s # g_dbus_connection_emit_signal (connection, 4115s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 4115s # signal_variant, NULL); 4115s # } 4115s # g_variant_unref (signal_variant); 4115s # g_list_free_full (connections, g_object_unref); 4115s # } 4115s # 4115s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4115s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4115s # 4115s # #else 4115s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4115s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 4115s # 4115s # #endif 4115s # static void 4115s # org_project_signaling_iface_skeleton_finalize (GObject *object) 4115s # { 4115s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 4115s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4115s # if (skeleton->priv->changed_properties_idle_source != NULL) 4115s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4115s # g_main_context_unref (skeleton->priv->context); 4115s # g_mutex_clear (&skeleton->priv->lock); 4115s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 4115s # { 4115s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4115s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 4115s # #else 4115s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 4115s # #endif 4115s # 4115s # g_mutex_init (&skeleton->priv->lock); 4115s # skeleton->priv->context = g_main_context_ref_thread_default (); 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 4115s # { 4115s # GObjectClass *gobject_class; 4115s # GDBusInterfaceSkeletonClass *skeleton_class; 4115s # 4115s # gobject_class = G_OBJECT_CLASS (klass); 4115s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 4115s # 4115s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4115s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 4115s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 4115s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 4115s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 4115s # 4115s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4115s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 4115s # #endif 4115s # } 4115s # 4115s # static void 4115s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 4115s # { 4115s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 4115s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 4115s # } 4115s # 4115s # /** 4115s # * org_project_signaling_iface_skeleton_new: 4115s # * 4115s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 4115s # * 4115s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 4115s # */ 4115s # OrgProjectSignalingIface * 4115s # org_project_signaling_iface_skeleton_new (void) 4115s # { 4115s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 4115s # } 4115s ok 25 __main__.TestCodegen.test_generate_valid_docbook 4115s # tmpdir: /tmp/tmpvt6ax51w 4115s # codegen: /usr/bin/gdbus-codegen 4115s # /tmp/tmpvt6ax51w/tmpr37e8rsc.xml: 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvt6ax51w/tmpr37e8rsc.xml', '--generate-docbook', 'test'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s # Output: 4115s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 4115s # tmpdir: /tmp/tmpvf6qyaqu 4115s # codegen: /usr/bin/gdbus-codegen 4115s # /tmp/tmpvf6qyaqu/tmpsej_pg27.xml: 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvf6qyaqu/tmpsej_pg27.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 4115s # tmpdir: /tmp/tmpbbhdwmtp 4115s # codegen: /usr/bin/gdbus-codegen 4115s # /tmp/tmpbbhdwmtp/tmpzd1vi_4j.xml: 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpbbhdwmtp/tmpzd1vi_4j.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s # Output: /* 4115s # * This file is generated by gdbus-codegen, do not modify it. 4115s # * 4115s # * The license of this code is the same as for the D-Bus interface description 4115s # * it was derived from. Note that it links to GLib, so must comply with the 4115s # * LGPL linking clauses. 4115s # */ 4115s # 4115s # #ifndef __STDOUT__ 4115s # #define __STDOUT__ 4115s # 4115s # #include 4115s # 4115s # G_BEGIN_DECLS 4115s # 4115s # 4115s # G_END_DECLS 4115s # 4115s # #endif /* __STDOUT__ */ 4115s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 4115s # tmpdir: /tmp/tmpcvxfb36q 4115s # codegen: /usr/bin/gdbus-codegen 4115s # /tmp/tmpcvxfb36q/tmpurti88yi.xml: 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcvxfb36q/tmpurti88yi.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 4115s # tmpdir: /tmp/tmpy9yhuzax 4115s # codegen: /usr/bin/gdbus-codegen 4115s # /tmp/tmpy9yhuzax/tmpue72dkny.xml: 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpy9yhuzax/tmpue72dkny.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s # Output: /* 4115s # * This file is generated by gdbus-codegen, do not modify it. 4115s # * 4115s # * The license of this code is the same as for the D-Bus interface description 4115s # * it was derived from. Note that it links to GLib, so must comply with the 4115s # * LGPL linking clauses. 4115s # */ 4115s # 4115s # #ifndef __STDOUT__ 4115s # #define __STDOUT__ 4115s # 4115s # #include 4115s # 4115s # G_BEGIN_DECLS 4115s # 4115s # 4115s # G_END_DECLS 4115s # 4115s # #endif /* __STDOUT__ */ 4115s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 4115s # tmpdir: /tmp/tmpsdr8bj02 4115s # codegen: /usr/bin/gdbus-codegen 4115s # /tmp/tmpsdr8bj02/tmpu6vp5er5.xml: 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsdr8bj02/tmpu6vp5er5.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s # Output: /* 4115s # * This file is generated by gdbus-codegen, do not modify it. 4115s # * 4115s # * The license of this code is the same as for the D-Bus interface description 4115s # * it was derived from. Note that it links to GLib, so must comply with the 4115s # * LGPL linking clauses. 4115s # */ 4115s # 4115s # #ifndef __STDOUT__ 4115s # #define __STDOUT__ 4115s # 4115s # #include 4115s # 4115s # G_BEGIN_DECLS 4115s # 4115s # 4115s # G_END_DECLS 4115s # 4115s # #endif /* __STDOUT__ */ 4115s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 4115s # tmpdir: /tmp/tmp5thw8jvk 4115s # codegen: /usr/bin/gdbus-codegen 4115s # /tmp/tmp5thw8jvk/tmp_q62bv9h.xml: 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5thw8jvk/tmp_q62bv9h.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 4115s # tmpdir: /tmp/tmpk9f6nvhk 4115s # codegen: /usr/bin/gdbus-codegen 4115s # /tmp/tmpk9f6nvhk/tmp9fbbibzd.xml: 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpk9f6nvhk/tmp9fbbibzd.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s # Output: /* 4115s # * This file is generated by gdbus-codegen, do not modify it. 4115s # * 4115s # * The license of this code is the same as for the D-Bus interface description 4115s # * it was derived from. Note that it links to GLib, so must comply with the 4115s # * LGPL linking clauses. 4115s # */ 4115s # 4115s # #ifndef __STDOUT__ 4115s # #define __STDOUT__ 4115s # 4115s # #include 4115s # 4115s # G_BEGIN_DECLS 4115s # 4115s # 4115s # G_END_DECLS 4115s # 4115s # #endif /* __STDOUT__ */ 4115s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 4115s # tmpdir: /tmp/tmp73sqvjl0 4115s # codegen: /usr/bin/gdbus-codegen 4115s # /tmp/tmp73sqvjl0/tmpbmkqcqwr.xml: 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp73sqvjl0/tmpbmkqcqwr.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 4115s # tmpdir: /tmp/tmpgyfiyqno 4115s # codegen: /usr/bin/gdbus-codegen 4115s # /tmp/tmpgyfiyqno/tmpynv_n_a1.xml: 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgyfiyqno/tmpynv_n_a1.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s # Output: /* 4115s # * This file is generated by gdbus-codegen, do not modify it. 4115s # * 4115s # * The license of this code is the same as for the D-Bus interface description 4115s # * it was derived from. Note that it links to GLib, so must comply with the 4115s # * LGPL linking clauses. 4115s # */ 4115s # 4115s # #ifndef __STDOUT__ 4115s # #define __STDOUT__ 4115s # 4115s # #include 4115s # 4115s # G_BEGIN_DECLS 4115s # 4115s # 4115s # G_END_DECLS 4115s # 4115s # #endif /* __STDOUT__ */ 4115s ok 35 __main__.TestCodegen.test_help 4115s # tmpdir: /tmp/tmp11idsdza 4115s # codegen: /usr/bin/gdbus-codegen 4115s # Running: ['/usr/bin/gdbus-codegen', '--help'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s # Output: usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 4115s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 4115s # [--c-generate-autocleanup {none,objects,all}] 4115s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 4115s # [--generate-rst OUTFILES] [--pragma-once] 4115s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 4115s # [--glib-min-required VERSION] 4115s # [--glib-max-allowed VERSION] 4115s # [--symbol-decorator SYMBOL_DECORATOR] 4115s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 4115s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 4115s # [--generate-c-code OUTFILES | --header | --body | --interface-info-header | --interface-info-body] 4115s # [--output FILE | --output-directory OUTDIR] 4115s # FILE [FILE ...] 4115s # 4115s # D-Bus code and documentation generator 4115s # 4115s # positional arguments: 4115s # FILE D-Bus introspection XML file 4115s # 4115s # options: 4115s # -h, --help show this help message and exit 4115s # --interface-prefix PREFIX 4115s # String to strip from D-Bus interface names for code 4115s # and docs 4115s # --c-namespace NAMESPACE 4115s # The namespace to use for generated C code 4115s # --c-generate-object-manager 4115s # Generate a GDBusObjectManagerClient subclass when 4115s # generating C code 4115s # --c-generate-autocleanup {none,objects,all} 4115s # Generate autocleanup support 4115s # --generate-docbook OUTFILES 4115s # Generate Docbook in OUTFILES-org.Project.IFace.xml 4115s # --generate-md OUTFILES 4115s # Generate Markdown in OUTFILES-org.Project.IFace.md 4115s # --generate-rst OUTFILES 4115s # Generate reStructuredText in OUTFILES- 4115s # org.Project.IFace.rst 4115s # --pragma-once Use "pragma once" as the inclusion guard 4115s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 4115s # Add annotation (may be used several times) 4115s # --glib-min-required VERSION 4115s # Minimum version of GLib to be supported by the 4115s # outputted code (default: 2.30) 4115s # --glib-max-allowed VERSION 4115s # Maximum version of GLib to be used by the outputted 4115s # code (default: current GLib version) 4115s # --symbol-decorator SYMBOL_DECORATOR 4115s # Macro used to decorate a symbol in the outputted 4115s # header, possibly to export symbols 4115s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 4115s # Additional header required for decorator specified by 4115s # --symbol-decorator 4115s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 4115s # Additional define required for decorator specified by 4115s # --symbol-decorator 4115s # --generate-c-code OUTFILES 4115s # Generate C code in OUTFILES.[ch] 4115s # --header Generate C headers 4115s # --body Generate C code 4115s # --interface-info-header 4115s # Generate GDBusInterfaceInfo C header 4115s # --interface-info-body 4115s # Generate GDBusInterfaceInfo C code 4115s # --output FILE Write output into the specified file 4115s # --output-directory OUTDIR 4115s # Location to output generated files 4115s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 4115s # tmpdir: /tmp/tmpzn_8tssa 4115s # codegen: /usr/bin/gdbus-codegen 4115s # /tmp/tmpzn_8tssa/tmptywo8sjw.xml: 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzn_8tssa/tmptywo8sjw.xml', '--generate-rst', 'test'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s # Output: 4115s # /tmp/tmpzn_8tssa/tmpyh37i7_0.xml: 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzn_8tssa/tmpyh37i7_0.xml', '--generate-md', 'test'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s # Output: 4115s # /tmp/tmpzn_8tssa/tmpk7iauiol.xml: 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # 4115s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpzn_8tssa/tmpk7iauiol.xml', '--generate-docbook', 'test'] 4115s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4115s # Output: 4116s ok 37 __main__.TestCodegen.test_no_args 4116s # tmpdir: /tmp/tmpprvp5vuh 4116s # codegen: /usr/bin/gdbus-codegen 4116s # Running: ['/usr/bin/gdbus-codegen'] 4116s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4116s ok 38 __main__.TestCodegen.test_reproducible 4116s # tmpdir: /tmp/tmp7llos1dw 4116s # codegen: /usr/bin/gdbus-codegen 4116s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7llos1dw/tmp0wxwcdut1.xml', '/tmp/tmp7llos1dw/tmpoz8hr_392.xml', '--output', '-', '--header'] 4116s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4116s # Output: /* 4116s # * This file is generated by gdbus-codegen, do not modify it. 4116s # * 4116s # * The license of this code is the same as for the D-Bus interface description 4116s # * it was derived from. Note that it links to GLib, so must comply with the 4116s # * LGPL linking clauses. 4116s # */ 4116s # 4116s # #ifndef __STDOUT__ 4116s # #define __STDOUT__ 4116s # 4116s # #include 4116s # 4116s # G_BEGIN_DECLS 4116s # 4116s # 4116s # /* ------------------------------------------------------------------------ */ 4116s # /* Declarations for com.acme.Coyote */ 4116s # 4116s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 4116s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 4116s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 4116s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 4116s # 4116s # struct _ComAcmeCoyote; 4116s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 4116s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 4116s # 4116s # struct _ComAcmeCoyoteIface 4116s # { 4116s # GTypeInterface parent_iface; 4116s # 4116s # 4116s # 4116s # gboolean (*handle_attack) ( 4116s # ComAcmeCoyote *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # gboolean (*handle_run) ( 4116s # ComAcmeCoyote *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # gboolean (*handle_sleep) ( 4116s # ComAcmeCoyote *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # const gchar * (*get_mood) (ComAcmeCoyote *object); 4116s # 4116s # void (*surprised) ( 4116s # ComAcmeCoyote *object); 4116s # 4116s # }; 4116s # 4116s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 4116s # 4116s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 4116s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 4116s # 4116s # 4116s # /* D-Bus method call completion functions: */ 4116s # void com_acme_coyote_complete_run ( 4116s # ComAcmeCoyote *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # void com_acme_coyote_complete_sleep ( 4116s # ComAcmeCoyote *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # void com_acme_coyote_complete_attack ( 4116s # ComAcmeCoyote *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # 4116s # 4116s # /* D-Bus signal emissions functions: */ 4116s # void com_acme_coyote_emit_surprised ( 4116s # ComAcmeCoyote *object); 4116s # 4116s # 4116s # 4116s # /* D-Bus method calls: */ 4116s # void com_acme_coyote_call_run ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # 4116s # gboolean com_acme_coyote_call_run_finish ( 4116s # ComAcmeCoyote *proxy, 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # 4116s # gboolean com_acme_coyote_call_run_sync ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # void com_acme_coyote_call_sleep ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # 4116s # gboolean com_acme_coyote_call_sleep_finish ( 4116s # ComAcmeCoyote *proxy, 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # 4116s # gboolean com_acme_coyote_call_sleep_sync ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # void com_acme_coyote_call_attack ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # 4116s # gboolean com_acme_coyote_call_attack_finish ( 4116s # ComAcmeCoyote *proxy, 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # 4116s # gboolean com_acme_coyote_call_attack_sync ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # 4116s # 4116s # /* D-Bus property accessors: */ 4116s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 4116s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 4116s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 4116s # 4116s # 4116s # /* ---- */ 4116s # 4116s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 4116s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 4116s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 4116s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 4116s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 4116s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 4116s # 4116s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 4116s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 4116s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 4116s # 4116s # struct _ComAcmeCoyoteProxy 4116s # { 4116s # /*< private >*/ 4116s # GDBusProxy parent_instance; 4116s # ComAcmeCoyoteProxyPrivate *priv; 4116s # }; 4116s # 4116s # struct _ComAcmeCoyoteProxyClass 4116s # { 4116s # GDBusProxyClass parent_class; 4116s # }; 4116s # 4116s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 4116s # 4116s # #if GLIB_CHECK_VERSION(2, 44, 0) 4116s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 4116s # #endif 4116s # 4116s # void com_acme_coyote_proxy_new ( 4116s # GDBusConnection *connection, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 4116s # GDBusConnection *connection, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # void com_acme_coyote_proxy_new_for_bus ( 4116s # GBusType bus_type, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 4116s # GBusType bus_type, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # 4116s # /* ---- */ 4116s # 4116s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 4116s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 4116s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 4116s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 4116s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 4116s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 4116s # 4116s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 4116s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 4116s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 4116s # 4116s # struct _ComAcmeCoyoteSkeleton 4116s # { 4116s # /*< private >*/ 4116s # GDBusInterfaceSkeleton parent_instance; 4116s # ComAcmeCoyoteSkeletonPrivate *priv; 4116s # }; 4116s # 4116s # struct _ComAcmeCoyoteSkeletonClass 4116s # { 4116s # GDBusInterfaceSkeletonClass parent_class; 4116s # }; 4116s # 4116s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 4116s # 4116s # #if GLIB_CHECK_VERSION(2, 44, 0) 4116s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 4116s # #endif 4116s # 4116s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 4116s # 4116s # 4116s # /* ------------------------------------------------------------------------ */ 4116s # /* Declarations for org.project.Bar.Frobnicator */ 4116s # 4116s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 4116s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 4116s # 4116s # struct _OrgProjectBarFrobnicator; 4116s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 4116s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 4116s # 4116s # struct _OrgProjectBarFrobnicatorIface 4116s # { 4116s # GTypeInterface parent_iface; 4116s # 4116s # gboolean (*handle_random_method) ( 4116s # OrgProjectBarFrobnicator *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # }; 4116s # 4116s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 4116s # 4116s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 4116s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 4116s # 4116s # 4116s # /* D-Bus method call completion functions: */ 4116s # void org_project_bar_frobnicator_complete_random_method ( 4116s # OrgProjectBarFrobnicator *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # 4116s # 4116s # /* D-Bus method calls: */ 4116s # void org_project_bar_frobnicator_call_random_method ( 4116s # OrgProjectBarFrobnicator *proxy, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # 4116s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 4116s # OrgProjectBarFrobnicator *proxy, 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # 4116s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 4116s # OrgProjectBarFrobnicator *proxy, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # 4116s # 4116s # /* ---- */ 4116s # 4116s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 4116s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 4116s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 4116s # 4116s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 4116s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 4116s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 4116s # 4116s # struct _OrgProjectBarFrobnicatorProxy 4116s # { 4116s # /*< private >*/ 4116s # GDBusProxy parent_instance; 4116s # OrgProjectBarFrobnicatorProxyPrivate *priv; 4116s # }; 4116s # 4116s # struct _OrgProjectBarFrobnicatorProxyClass 4116s # { 4116s # GDBusProxyClass parent_class; 4116s # }; 4116s # 4116s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 4116s # 4116s # #if GLIB_CHECK_VERSION(2, 44, 0) 4116s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 4116s # #endif 4116s # 4116s # void org_project_bar_frobnicator_proxy_new ( 4116s # GDBusConnection *connection, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 4116s # GDBusConnection *connection, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # void org_project_bar_frobnicator_proxy_new_for_bus ( 4116s # GBusType bus_type, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 4116s # GBusType bus_type, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # 4116s # /* ---- */ 4116s # 4116s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 4116s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 4116s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 4116s # 4116s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 4116s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 4116s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 4116s # 4116s # struct _OrgProjectBarFrobnicatorSkeleton 4116s # { 4116s # /*< private >*/ 4116s # GDBusInterfaceSkeleton parent_instance; 4116s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 4116s # }; 4116s # 4116s # struct _OrgProjectBarFrobnicatorSkeletonClass 4116s # { 4116s # GDBusInterfaceSkeletonClass parent_class; 4116s # }; 4116s # 4116s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 4116s # 4116s # #if GLIB_CHECK_VERSION(2, 44, 0) 4116s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 4116s # #endif 4116s # 4116s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 4116s # 4116s # 4116s # G_END_DECLS 4116s # 4116s # #endif /* __STDOUT__ */ 4116s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7llos1dw/tmpoz8hr_392.xml', '/tmp/tmp7llos1dw/tmp0wxwcdut1.xml', '--output', '-', '--header'] 4116s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4116s # Output: /* 4116s # * This file is generated by gdbus-codegen, do not modify it. 4116s # * 4116s # * The license of this code is the same as for the D-Bus interface description 4116s # * it was derived from. Note that it links to GLib, so must comply with the 4116s # * LGPL linking clauses. 4116s # */ 4116s # 4116s # #ifndef __STDOUT__ 4116s # #define __STDOUT__ 4116s # 4116s # #include 4116s # 4116s # G_BEGIN_DECLS 4116s # 4116s # 4116s # /* ------------------------------------------------------------------------ */ 4116s # /* Declarations for com.acme.Coyote */ 4116s # 4116s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 4116s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 4116s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 4116s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 4116s # 4116s # struct _ComAcmeCoyote; 4116s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 4116s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 4116s # 4116s # struct _ComAcmeCoyoteIface 4116s # { 4116s # GTypeInterface parent_iface; 4116s # 4116s # 4116s # 4116s # gboolean (*handle_attack) ( 4116s # ComAcmeCoyote *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # gboolean (*handle_run) ( 4116s # ComAcmeCoyote *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # gboolean (*handle_sleep) ( 4116s # ComAcmeCoyote *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # const gchar * (*get_mood) (ComAcmeCoyote *object); 4116s # 4116s # void (*surprised) ( 4116s # ComAcmeCoyote *object); 4116s # 4116s # }; 4116s # 4116s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 4116s # 4116s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 4116s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 4116s # 4116s # 4116s # /* D-Bus method call completion functions: */ 4116s # void com_acme_coyote_complete_run ( 4116s # ComAcmeCoyote *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # void com_acme_coyote_complete_sleep ( 4116s # ComAcmeCoyote *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # void com_acme_coyote_complete_attack ( 4116s # ComAcmeCoyote *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # 4116s # 4116s # /* D-Bus signal emissions functions: */ 4116s # void com_acme_coyote_emit_surprised ( 4116s # ComAcmeCoyote *object); 4116s # 4116s # 4116s # 4116s # /* D-Bus method calls: */ 4116s # void com_acme_coyote_call_run ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # 4116s # gboolean com_acme_coyote_call_run_finish ( 4116s # ComAcmeCoyote *proxy, 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # 4116s # gboolean com_acme_coyote_call_run_sync ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # void com_acme_coyote_call_sleep ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # 4116s # gboolean com_acme_coyote_call_sleep_finish ( 4116s # ComAcmeCoyote *proxy, 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # 4116s # gboolean com_acme_coyote_call_sleep_sync ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # void com_acme_coyote_call_attack ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # 4116s # gboolean com_acme_coyote_call_attack_finish ( 4116s # ComAcmeCoyote *proxy, 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # 4116s # gboolean com_acme_coyote_call_attack_sync ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # 4116s # 4116s # /* D-Bus property accessors: */ 4116s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 4116s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 4116s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 4116s # 4116s # 4116s # /* ---- */ 4116s # 4116s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 4116s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 4116s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 4116s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 4116s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 4116s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 4116s # 4116s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 4116s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 4116s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 4116s # 4116s # struct _ComAcmeCoyoteProxy 4116s # { 4116s # /*< private >*/ 4116s # GDBusProxy parent_instance; 4116s # ComAcmeCoyoteProxyPrivate *priv; 4116s # }; 4116s # 4116s # struct _ComAcmeCoyoteProxyClass 4116s # { 4116s # GDBusProxyClass parent_class; 4116s # }; 4116s # 4116s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 4116s # 4116s # #if GLIB_CHECK_VERSION(2, 44, 0) 4116s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 4116s # #endif 4116s # 4116s # void com_acme_coyote_proxy_new ( 4116s # GDBusConnection *connection, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 4116s # GDBusConnection *connection, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # void com_acme_coyote_proxy_new_for_bus ( 4116s # GBusType bus_type, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 4116s # GBusType bus_type, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # 4116s # /* ---- */ 4116s # 4116s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 4116s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 4116s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 4116s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 4116s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 4116s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 4116s # 4116s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 4116s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 4116s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 4116s # 4116s # struct _ComAcmeCoyoteSkeleton 4116s # { 4116s # /*< private >*/ 4116s # GDBusInterfaceSkeleton parent_instance; 4116s # ComAcmeCoyoteSkeletonPrivate *priv; 4116s # }; 4116s # 4116s # struct _ComAcmeCoyoteSkeletonClass 4116s # { 4116s # GDBusInterfaceSkeletonClass parent_class; 4116s # }; 4116s # 4116s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 4116s # 4116s # #if GLIB_CHECK_VERSION(2, 44, 0) 4116s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 4116s # #endif 4116s # 4116s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 4116s # 4116s # 4116s # /* ------------------------------------------------------------------------ */ 4116s # /* Declarations for org.project.Bar.Frobnicator */ 4116s # 4116s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 4116s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 4116s # 4116s # struct _OrgProjectBarFrobnicator; 4116s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 4116s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 4116s # 4116s # struct _OrgProjectBarFrobnicatorIface 4116s # { 4116s # GTypeInterface parent_iface; 4116s # 4116s # gboolean (*handle_random_method) ( 4116s # OrgProjectBarFrobnicator *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # }; 4116s # 4116s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 4116s # 4116s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 4116s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 4116s # 4116s # 4116s # /* D-Bus method call completion functions: */ 4116s # void org_project_bar_frobnicator_complete_random_method ( 4116s # OrgProjectBarFrobnicator *object, 4116s # GDBusMethodInvocation *invocation); 4116s # 4116s # 4116s # 4116s # /* D-Bus method calls: */ 4116s # void org_project_bar_frobnicator_call_random_method ( 4116s # OrgProjectBarFrobnicator *proxy, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # 4116s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 4116s # OrgProjectBarFrobnicator *proxy, 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # 4116s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 4116s # OrgProjectBarFrobnicator *proxy, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # 4116s # 4116s # /* ---- */ 4116s # 4116s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 4116s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 4116s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 4116s # 4116s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 4116s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 4116s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 4116s # 4116s # struct _OrgProjectBarFrobnicatorProxy 4116s # { 4116s # /*< private >*/ 4116s # GDBusProxy parent_instance; 4116s # OrgProjectBarFrobnicatorProxyPrivate *priv; 4116s # }; 4116s # 4116s # struct _OrgProjectBarFrobnicatorProxyClass 4116s # { 4116s # GDBusProxyClass parent_class; 4116s # }; 4116s # 4116s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 4116s # 4116s # #if GLIB_CHECK_VERSION(2, 44, 0) 4116s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 4116s # #endif 4116s # 4116s # void org_project_bar_frobnicator_proxy_new ( 4116s # GDBusConnection *connection, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 4116s # GDBusConnection *connection, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # void org_project_bar_frobnicator_proxy_new_for_bus ( 4116s # GBusType bus_type, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data); 4116s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 4116s # GAsyncResult *res, 4116s # GError **error); 4116s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 4116s # GBusType bus_type, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GError **error); 4116s # 4116s # 4116s # /* ---- */ 4116s # 4116s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 4116s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 4116s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 4116s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 4116s # 4116s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 4116s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 4116s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 4116s # 4116s # struct _OrgProjectBarFrobnicatorSkeleton 4116s # { 4116s # /*< private >*/ 4116s # GDBusInterfaceSkeleton parent_instance; 4116s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 4116s # }; 4116s # 4116s # struct _OrgProjectBarFrobnicatorSkeletonClass 4116s # { 4116s # GDBusInterfaceSkeletonClass parent_class; 4116s # }; 4116s # 4116s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 4116s # 4116s # #if GLIB_CHECK_VERSION(2, 44, 0) 4116s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 4116s # #endif 4116s # 4116s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 4116s # 4116s # 4116s # G_END_DECLS 4116s # 4116s # #endif /* __STDOUT__ */ 4116s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7llos1dw/tmp0wxwcdut1.xml', '/tmp/tmp7llos1dw/tmpoz8hr_392.xml', '--output', '-', '--body'] 4116s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4116s # Output: /* 4116s # * This file is generated by gdbus-codegen, do not modify it. 4116s # * 4116s # * The license of this code is the same as for the D-Bus interface description 4116s # * it was derived from. Note that it links to GLib, so must comply with the 4116s # * LGPL linking clauses. 4116s # */ 4116s # 4116s # #ifdef HAVE_CONFIG_H 4116s # # include "config.h" 4116s # #endif 4116s # 4116s # #include 4116s # #ifdef G_OS_UNIX 4116s # # include 4116s # #endif 4116s # 4116s # #ifdef G_ENABLE_DEBUG 4116s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4116s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4116s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4116s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4116s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4116s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4116s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4116s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4116s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4116s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4116s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4116s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4116s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4116s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4116s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4116s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4116s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4116s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4116s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4116s # #else /* !G_ENABLE_DEBUG */ 4116s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4116s # * Do not access GValues directly in your code. Instead, use the 4116s # * g_value_get_*() functions 4116s # */ 4116s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4116s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4116s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4116s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4116s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4116s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4116s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4116s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4116s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4116s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4116s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4116s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4116s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4116s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4116s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4116s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4116s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4116s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4116s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4116s # #endif /* !G_ENABLE_DEBUG */ 4116s # 4116s # typedef struct 4116s # { 4116s # GDBusArgInfo parent_struct; 4116s # gboolean use_gvariant; 4116s # } _ExtendedGDBusArgInfo; 4116s # 4116s # typedef struct 4116s # { 4116s # GDBusMethodInfo parent_struct; 4116s # const gchar *signal_name; 4116s # gboolean pass_fdlist; 4116s # } _ExtendedGDBusMethodInfo; 4116s # 4116s # typedef struct 4116s # { 4116s # GDBusSignalInfo parent_struct; 4116s # const gchar *signal_name; 4116s # } _ExtendedGDBusSignalInfo; 4116s # 4116s # typedef struct 4116s # { 4116s # GDBusPropertyInfo parent_struct; 4116s # const gchar *hyphen_name; 4116s # guint use_gvariant : 1; 4116s # guint emits_changed_signal : 1; 4116s # } _ExtendedGDBusPropertyInfo; 4116s # 4116s # typedef struct 4116s # { 4116s # GDBusInterfaceInfo parent_struct; 4116s # const gchar *hyphen_name; 4116s # } _ExtendedGDBusInterfaceInfo; 4116s # 4116s # typedef struct 4116s # { 4116s # const _ExtendedGDBusPropertyInfo *info; 4116s # guint prop_id; 4116s # GValue orig_value; /* the value before the change */ 4116s # } ChangedProperty; 4116s # 4116s # static void 4116s # _changed_property_free (ChangedProperty *data) 4116s # { 4116s # g_value_unset (&data->orig_value); 4116s # g_free (data); 4116s # } 4116s # 4116s # static gboolean 4116s # _g_strv_equal0 (gchar **a, gchar **b) 4116s # { 4116s # gboolean ret = FALSE; 4116s # guint n; 4116s # if (a == NULL && b == NULL) 4116s # { 4116s # ret = TRUE; 4116s # goto out; 4116s # } 4116s # if (a == NULL || b == NULL) 4116s # goto out; 4116s # if (g_strv_length (a) != g_strv_length (b)) 4116s # goto out; 4116s # for (n = 0; a[n] != NULL; n++) 4116s # if (g_strcmp0 (a[n], b[n]) != 0) 4116s # goto out; 4116s # ret = TRUE; 4116s # out: 4116s # return ret; 4116s # } 4116s # 4116s # static gboolean 4116s # _g_variant_equal0 (GVariant *a, GVariant *b) 4116s # { 4116s # gboolean ret = FALSE; 4116s # if (a == NULL && b == NULL) 4116s # { 4116s # ret = TRUE; 4116s # goto out; 4116s # } 4116s # if (a == NULL || b == NULL) 4116s # goto out; 4116s # ret = g_variant_equal (a, b); 4116s # out: 4116s # return ret; 4116s # } 4116s # 4116s # G_GNUC_UNUSED static gboolean 4116s # _g_value_equal (const GValue *a, const GValue *b) 4116s # { 4116s # gboolean ret = FALSE; 4116s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4116s # switch (G_VALUE_TYPE (a)) 4116s # { 4116s # case G_TYPE_BOOLEAN: 4116s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4116s # break; 4116s # case G_TYPE_UCHAR: 4116s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4116s # break; 4116s # case G_TYPE_INT: 4116s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4116s # break; 4116s # case G_TYPE_UINT: 4116s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4116s # break; 4116s # case G_TYPE_INT64: 4116s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4116s # break; 4116s # case G_TYPE_UINT64: 4116s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4116s # break; 4116s # case G_TYPE_DOUBLE: 4116s # { 4116s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4116s # gdouble da = g_value_get_double (a); 4116s # gdouble db = g_value_get_double (b); 4116s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4116s # } 4116s # break; 4116s # case G_TYPE_STRING: 4116s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4116s # break; 4116s # case G_TYPE_VARIANT: 4116s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4116s # break; 4116s # default: 4116s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4116s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4116s # else 4116s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4116s # break; 4116s # } 4116s # return ret; 4116s # } 4116s # 4116s # static void 4116s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4116s # GClosure *closure, 4116s # GValue *return_value, 4116s # unsigned int n_param_values, 4116s # const GValue *param_values, 4116s # void *invocation_hint G_GNUC_UNUSED, 4116s # void *marshal_data) 4116s # { 4116s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4116s # (void *data1, 4116s # GDBusMethodInvocation *arg_method_invocation, 4116s # void *data2); 4116s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4116s # GCClosure *cc = (GCClosure*) closure; 4116s # void *data1, *data2; 4116s # gboolean v_return; 4116s # 4116s # g_return_if_fail (return_value != NULL); 4116s # g_return_if_fail (n_param_values == 2); 4116s # 4116s # if (G_CCLOSURE_SWAP_DATA (closure)) 4116s # { 4116s # data1 = closure->data; 4116s # data2 = g_value_peek_pointer (param_values + 0); 4116s # } 4116s # else 4116s # { 4116s # data1 = g_value_peek_pointer (param_values + 0); 4116s # data2 = closure->data; 4116s # } 4116s # 4116s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4116s # (marshal_data ? marshal_data : cc->callback); 4116s # 4116s # v_return = 4116s # callback (data1, 4116s # g_marshal_value_peek_object (param_values + 1), 4116s # data2); 4116s # 4116s # g_value_set_boolean (return_value, v_return); 4116s # } 4116s # 4116s # /* ------------------------------------------------------------------------ 4116s # * Code for interface com.acme.Coyote 4116s # * ------------------------------------------------------------------------ 4116s # */ 4116s # 4116s # /** 4116s # * SECTION:ComAcmeCoyote 4116s # * @title: ComAcmeCoyote 4116s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 4116s # * 4116s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 4116s # */ 4116s # 4116s # enum 4116s # { 4116s # _COM_ACME_COYOTE_SURPRISED, 4116s # }; 4116s # 4116s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 4116s # 4116s # /* ---- Introspection data for com.acme.Coyote ---- */ 4116s # 4116s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 4116s # { 4116s # { 4116s # -1, 4116s # (gchar *) "Run", 4116s # NULL, 4116s # NULL, 4116s # NULL 4116s # }, 4116s # "handle-run", 4116s # FALSE 4116s # }; 4116s # 4116s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 4116s # { 4116s # { 4116s # -1, 4116s # (gchar *) "Sleep", 4116s # NULL, 4116s # NULL, 4116s # NULL 4116s # }, 4116s # "handle-sleep", 4116s # FALSE 4116s # }; 4116s # 4116s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 4116s # { 4116s # { 4116s # -1, 4116s # (gchar *) "Attack", 4116s # NULL, 4116s # NULL, 4116s # NULL 4116s # }, 4116s # "handle-attack", 4116s # FALSE 4116s # }; 4116s # 4116s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 4116s # { 4116s # &_com_acme_coyote_method_info_run.parent_struct, 4116s # &_com_acme_coyote_method_info_sleep.parent_struct, 4116s # &_com_acme_coyote_method_info_attack.parent_struct, 4116s # NULL 4116s # }; 4116s # 4116s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 4116s # { 4116s # { 4116s # -1, 4116s # (gchar *) "Surprised", 4116s # NULL, 4116s # NULL 4116s # }, 4116s # "surprised" 4116s # }; 4116s # 4116s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 4116s # { 4116s # &_com_acme_coyote_signal_info_surprised.parent_struct, 4116s # NULL 4116s # }; 4116s # 4116s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 4116s # { 4116s # { 4116s # -1, 4116s # (gchar *) "Mood", 4116s # (gchar *) "s", 4116s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 4116s # NULL 4116s # }, 4116s # "mood", 4116s # FALSE, 4116s # TRUE 4116s # }; 4116s # 4116s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 4116s # { 4116s # &_com_acme_coyote_property_info_mood.parent_struct, 4116s # NULL 4116s # }; 4116s # 4116s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 4116s # { 4116s # { 4116s # -1, 4116s # (gchar *) "com.acme.Coyote", 4116s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 4116s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 4116s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 4116s # NULL 4116s # }, 4116s # "com-acme-coyote", 4116s # }; 4116s # 4116s # 4116s # /** 4116s # * com_acme_coyote_interface_info: 4116s # * 4116s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 4116s # * 4116s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4116s # */ 4116s # GDBusInterfaceInfo * 4116s # com_acme_coyote_interface_info (void) 4116s # { 4116s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_override_properties: 4116s # * @klass: The class structure for a #GObject derived class. 4116s # * @property_id_begin: The property id to assign to the first overridden property. 4116s # * 4116s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 4116s # * The properties are overridden in the order they are defined. 4116s # * 4116s # * Returns: The last property id. 4116s # */ 4116s # guint 4116s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 4116s # { 4116s # g_object_class_override_property (klass, property_id_begin++, "mood"); 4116s # return property_id_begin - 1; 4116s # } 4116s # 4116s # 4116s # inline static void 4116s # com_acme_coyote_signal_marshal_surprised ( 4116s # GClosure *closure, 4116s # GValue *return_value, 4116s # unsigned int n_param_values, 4116s # const GValue *param_values, 4116s # void *invocation_hint, 4116s # void *marshal_data) 4116s # { 4116s # g_cclosure_marshal_VOID__VOID (closure, 4116s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4116s # } 4116s # 4116s # inline static void 4116s # com_acme_coyote_method_marshal_run ( 4116s # GClosure *closure, 4116s # GValue *return_value, 4116s # unsigned int n_param_values, 4116s # const GValue *param_values, 4116s # void *invocation_hint, 4116s # void *marshal_data) 4116s # { 4116s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4116s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4116s # } 4116s # 4116s # inline static void 4116s # com_acme_coyote_method_marshal_sleep ( 4116s # GClosure *closure, 4116s # GValue *return_value, 4116s # unsigned int n_param_values, 4116s # const GValue *param_values, 4116s # void *invocation_hint, 4116s # void *marshal_data) 4116s # { 4116s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4116s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4116s # } 4116s # 4116s # inline static void 4116s # com_acme_coyote_method_marshal_attack ( 4116s # GClosure *closure, 4116s # GValue *return_value, 4116s # unsigned int n_param_values, 4116s # const GValue *param_values, 4116s # void *invocation_hint, 4116s # void *marshal_data) 4116s # { 4116s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4116s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4116s # } 4116s # 4116s # 4116s # /** 4116s # * ComAcmeCoyote: 4116s # * 4116s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 4116s # */ 4116s # 4116s # /** 4116s # * ComAcmeCoyoteIface: 4116s # * @parent_iface: The parent interface. 4116s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 4116s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 4116s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 4116s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 4116s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 4116s # * 4116s # * Virtual table for the D-Bus interface com.acme.Coyote. 4116s # */ 4116s # 4116s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 4116s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 4116s # 4116s # static void 4116s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 4116s # { 4116s # /* GObject signals for incoming D-Bus method calls: */ 4116s # /** 4116s # * ComAcmeCoyote::handle-run: 4116s # * @object: A #ComAcmeCoyote. 4116s # * @invocation: A #GDBusMethodInvocation. 4116s # * 4116s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 4116s # * 4116s # * 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. 4116s # * 4116s # * 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. 4116s # */ 4116s # g_signal_new ("handle-run", 4116s # G_TYPE_FROM_INTERFACE (iface), 4116s # G_SIGNAL_RUN_LAST, 4116s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 4116s # g_signal_accumulator_true_handled, 4116s # NULL, 4116s # com_acme_coyote_method_marshal_run, 4116s # G_TYPE_BOOLEAN, 4116s # 1, 4116s # G_TYPE_DBUS_METHOD_INVOCATION); 4116s # 4116s # /** 4116s # * ComAcmeCoyote::handle-sleep: 4116s # * @object: A #ComAcmeCoyote. 4116s # * @invocation: A #GDBusMethodInvocation. 4116s # * 4116s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 4116s # * 4116s # * 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. 4116s # * 4116s # * 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. 4116s # */ 4116s # g_signal_new ("handle-sleep", 4116s # G_TYPE_FROM_INTERFACE (iface), 4116s # G_SIGNAL_RUN_LAST, 4116s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 4116s # g_signal_accumulator_true_handled, 4116s # NULL, 4116s # com_acme_coyote_method_marshal_sleep, 4116s # G_TYPE_BOOLEAN, 4116s # 1, 4116s # G_TYPE_DBUS_METHOD_INVOCATION); 4116s # 4116s # /** 4116s # * ComAcmeCoyote::handle-attack: 4116s # * @object: A #ComAcmeCoyote. 4116s # * @invocation: A #GDBusMethodInvocation. 4116s # * 4116s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 4116s # * 4116s # * 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. 4116s # * 4116s # * 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. 4116s # */ 4116s # g_signal_new ("handle-attack", 4116s # G_TYPE_FROM_INTERFACE (iface), 4116s # G_SIGNAL_RUN_LAST, 4116s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 4116s # g_signal_accumulator_true_handled, 4116s # NULL, 4116s # com_acme_coyote_method_marshal_attack, 4116s # G_TYPE_BOOLEAN, 4116s # 1, 4116s # G_TYPE_DBUS_METHOD_INVOCATION); 4116s # 4116s # /* GObject signals for received D-Bus signals: */ 4116s # /** 4116s # * ComAcmeCoyote::surprised: 4116s # * @object: A #ComAcmeCoyote. 4116s # * 4116s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 4116s # * 4116s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4116s # */ 4116s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 4116s # g_signal_new ("surprised", 4116s # G_TYPE_FROM_INTERFACE (iface), 4116s # G_SIGNAL_RUN_LAST, 4116s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 4116s # NULL, 4116s # NULL, 4116s # com_acme_coyote_signal_marshal_surprised, 4116s # G_TYPE_NONE, 4116s # 0); 4116s # 4116s # /* GObject properties for D-Bus properties: */ 4116s # /** 4116s # * ComAcmeCoyote:mood: 4116s # * 4116s # * Represents the D-Bus property "Mood". 4116s # * 4116s # * 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. 4116s # */ 4116s # g_object_interface_install_property (iface, 4116s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_get_mood: (skip) 4116s # * @object: A #ComAcmeCoyote. 4116s # * 4116s # * Gets the value of the "Mood" D-Bus property. 4116s # * 4116s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 4116s # * 4116s # * 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. 4116s # * 4116s # * 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. 4116s # */ 4116s # const gchar * 4116s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 4116s # { 4116s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 4116s # 4116s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_dup_mood: (skip) 4116s # * @object: A #ComAcmeCoyote. 4116s # * 4116s # * Gets a copy of the "Mood" D-Bus property. 4116s # * 4116s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 4116s # * 4116s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 4116s # */ 4116s # gchar * 4116s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 4116s # { 4116s # gchar *value; 4116s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 4116s # return value; 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_set_mood: (skip) 4116s # * @object: A #ComAcmeCoyote. 4116s # * @value: The value to set. 4116s # * 4116s # * Sets the "Mood" D-Bus property to @value. 4116s # * 4116s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 4116s # */ 4116s # void 4116s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 4116s # { 4116s # g_object_set (G_OBJECT (object), "mood", value, NULL); 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_emit_surprised: 4116s # * @object: A #ComAcmeCoyote. 4116s # * 4116s # * Emits the "Surprised" D-Bus signal. 4116s # */ 4116s # void 4116s # com_acme_coyote_emit_surprised ( 4116s # ComAcmeCoyote *object) 4116s # { 4116s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_call_run: 4116s # * @proxy: A #ComAcmeCoyoteProxy. 4116s # * @cancellable: (nullable): A #GCancellable or %NULL. 4116s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4116s # * @user_data: User data to pass to @callback. 4116s # * 4116s # * Asynchronously invokes the Run() D-Bus method on @proxy. 4116s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4116s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 4116s # * 4116s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 4116s # */ 4116s # void 4116s # com_acme_coyote_call_run ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data) 4116s # { 4116s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4116s # "Run", 4116s # g_variant_new ("()"), 4116s # G_DBUS_CALL_FLAGS_NONE, 4116s # -1, 4116s # cancellable, 4116s # callback, 4116s # user_data); 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_call_run_finish: 4116s # * @proxy: A #ComAcmeCoyoteProxy. 4116s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 4116s # * @error: Return location for error or %NULL. 4116s # * 4116s # * Finishes an operation started with com_acme_coyote_call_run(). 4116s # * 4116s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4116s # */ 4116s # gboolean 4116s # com_acme_coyote_call_run_finish ( 4116s # ComAcmeCoyote *proxy, 4116s # GAsyncResult *res, 4116s # GError **error) 4116s # { 4116s # GVariant *_ret; 4116s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4116s # if (_ret == NULL) 4116s # goto _out; 4116s # g_variant_get (_ret, 4116s # "()"); 4116s # g_variant_unref (_ret); 4116s # _out: 4116s # return _ret != NULL; 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_call_run_sync: 4116s # * @proxy: A #ComAcmeCoyoteProxy. 4116s # * @cancellable: (nullable): A #GCancellable or %NULL. 4116s # * @error: Return location for error or %NULL. 4116s # * 4116s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4116s # * 4116s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 4116s # * 4116s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4116s # */ 4116s # gboolean 4116s # com_acme_coyote_call_run_sync ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GError **error) 4116s # { 4116s # GVariant *_ret; 4116s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4116s # "Run", 4116s # g_variant_new ("()"), 4116s # G_DBUS_CALL_FLAGS_NONE, 4116s # -1, 4116s # cancellable, 4116s # error); 4116s # if (_ret == NULL) 4116s # goto _out; 4116s # g_variant_get (_ret, 4116s # "()"); 4116s # g_variant_unref (_ret); 4116s # _out: 4116s # return _ret != NULL; 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_call_sleep: 4116s # * @proxy: A #ComAcmeCoyoteProxy. 4116s # * @cancellable: (nullable): A #GCancellable or %NULL. 4116s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4116s # * @user_data: User data to pass to @callback. 4116s # * 4116s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 4116s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4116s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 4116s # * 4116s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 4116s # */ 4116s # void 4116s # com_acme_coyote_call_sleep ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data) 4116s # { 4116s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4116s # "Sleep", 4116s # g_variant_new ("()"), 4116s # G_DBUS_CALL_FLAGS_NONE, 4116s # -1, 4116s # cancellable, 4116s # callback, 4116s # user_data); 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_call_sleep_finish: 4116s # * @proxy: A #ComAcmeCoyoteProxy. 4116s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 4116s # * @error: Return location for error or %NULL. 4116s # * 4116s # * Finishes an operation started with com_acme_coyote_call_sleep(). 4116s # * 4116s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4116s # */ 4116s # gboolean 4116s # com_acme_coyote_call_sleep_finish ( 4116s # ComAcmeCoyote *proxy, 4116s # GAsyncResult *res, 4116s # GError **error) 4116s # { 4116s # GVariant *_ret; 4116s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4116s # if (_ret == NULL) 4116s # goto _out; 4116s # g_variant_get (_ret, 4116s # "()"); 4116s # g_variant_unref (_ret); 4116s # _out: 4116s # return _ret != NULL; 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_call_sleep_sync: 4116s # * @proxy: A #ComAcmeCoyoteProxy. 4116s # * @cancellable: (nullable): A #GCancellable or %NULL. 4116s # * @error: Return location for error or %NULL. 4116s # * 4116s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4116s # * 4116s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 4116s # * 4116s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4116s # */ 4116s # gboolean 4116s # com_acme_coyote_call_sleep_sync ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GError **error) 4116s # { 4116s # GVariant *_ret; 4116s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4116s # "Sleep", 4116s # g_variant_new ("()"), 4116s # G_DBUS_CALL_FLAGS_NONE, 4116s # -1, 4116s # cancellable, 4116s # error); 4116s # if (_ret == NULL) 4116s # goto _out; 4116s # g_variant_get (_ret, 4116s # "()"); 4116s # g_variant_unref (_ret); 4116s # _out: 4116s # return _ret != NULL; 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_call_attack: 4116s # * @proxy: A #ComAcmeCoyoteProxy. 4116s # * @cancellable: (nullable): A #GCancellable or %NULL. 4116s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4116s # * @user_data: User data to pass to @callback. 4116s # * 4116s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 4116s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4116s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 4116s # * 4116s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 4116s # */ 4116s # void 4116s # com_acme_coyote_call_attack ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data) 4116s # { 4116s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4116s # "Attack", 4116s # g_variant_new ("()"), 4116s # G_DBUS_CALL_FLAGS_NONE, 4116s # -1, 4116s # cancellable, 4116s # callback, 4116s # user_data); 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_call_attack_finish: 4116s # * @proxy: A #ComAcmeCoyoteProxy. 4116s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 4116s # * @error: Return location for error or %NULL. 4116s # * 4116s # * Finishes an operation started with com_acme_coyote_call_attack(). 4116s # * 4116s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4116s # */ 4116s # gboolean 4116s # com_acme_coyote_call_attack_finish ( 4116s # ComAcmeCoyote *proxy, 4116s # GAsyncResult *res, 4116s # GError **error) 4116s # { 4116s # GVariant *_ret; 4116s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4116s # if (_ret == NULL) 4116s # goto _out; 4116s # g_variant_get (_ret, 4116s # "()"); 4116s # g_variant_unref (_ret); 4116s # _out: 4116s # return _ret != NULL; 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_call_attack_sync: 4116s # * @proxy: A #ComAcmeCoyoteProxy. 4116s # * @cancellable: (nullable): A #GCancellable or %NULL. 4116s # * @error: Return location for error or %NULL. 4116s # * 4116s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4116s # * 4116s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 4116s # * 4116s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4116s # */ 4116s # gboolean 4116s # com_acme_coyote_call_attack_sync ( 4116s # ComAcmeCoyote *proxy, 4116s # GCancellable *cancellable, 4116s # GError **error) 4116s # { 4116s # GVariant *_ret; 4116s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4116s # "Attack", 4116s # g_variant_new ("()"), 4116s # G_DBUS_CALL_FLAGS_NONE, 4116s # -1, 4116s # cancellable, 4116s # error); 4116s # if (_ret == NULL) 4116s # goto _out; 4116s # g_variant_get (_ret, 4116s # "()"); 4116s # g_variant_unref (_ret); 4116s # _out: 4116s # return _ret != NULL; 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_complete_run: 4116s # * @object: A #ComAcmeCoyote. 4116s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4116s # * 4116s # * 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. 4116s # * 4116s # * This method will free @invocation, you cannot use it afterwards. 4116s # */ 4116s # void 4116s # com_acme_coyote_complete_run ( 4116s # ComAcmeCoyote *object G_GNUC_UNUSED, 4116s # GDBusMethodInvocation *invocation) 4116s # { 4116s # g_dbus_method_invocation_return_value (invocation, 4116s # g_variant_new ("()")); 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_complete_sleep: 4116s # * @object: A #ComAcmeCoyote. 4116s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4116s # * 4116s # * 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. 4116s # * 4116s # * This method will free @invocation, you cannot use it afterwards. 4116s # */ 4116s # void 4116s # com_acme_coyote_complete_sleep ( 4116s # ComAcmeCoyote *object G_GNUC_UNUSED, 4116s # GDBusMethodInvocation *invocation) 4116s # { 4116s # g_dbus_method_invocation_return_value (invocation, 4116s # g_variant_new ("()")); 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_complete_attack: 4116s # * @object: A #ComAcmeCoyote. 4116s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4116s # * 4116s # * 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. 4116s # * 4116s # * This method will free @invocation, you cannot use it afterwards. 4116s # */ 4116s # void 4116s # com_acme_coyote_complete_attack ( 4116s # ComAcmeCoyote *object G_GNUC_UNUSED, 4116s # GDBusMethodInvocation *invocation) 4116s # { 4116s # g_dbus_method_invocation_return_value (invocation, 4116s # g_variant_new ("()")); 4116s # } 4116s # 4116s # /* ------------------------------------------------------------------------ */ 4116s # 4116s # /** 4116s # * ComAcmeCoyoteProxy: 4116s # * 4116s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 4116s # */ 4116s # 4116s # /** 4116s # * ComAcmeCoyoteProxyClass: 4116s # * @parent_class: The parent class. 4116s # * 4116s # * Class structure for #ComAcmeCoyoteProxy. 4116s # */ 4116s # 4116s # struct _ComAcmeCoyoteProxyPrivate 4116s # { 4116s # GData *qdata; 4116s # }; 4116s # 4116s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 4116s # 4116s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4116s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 4116s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 4116s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 4116s # 4116s # #else 4116s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 4116s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 4116s # 4116s # #endif 4116s # static void 4116s # com_acme_coyote_proxy_finalize (GObject *object) 4116s # { 4116s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 4116s # g_datalist_clear (&proxy->priv->qdata); 4116s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 4116s # } 4116s # 4116s # static void 4116s # com_acme_coyote_proxy_get_property (GObject *object, 4116s # guint prop_id, 4116s # GValue *value, 4116s # GParamSpec *pspec G_GNUC_UNUSED) 4116s # { 4116s # const _ExtendedGDBusPropertyInfo *info; 4116s # GVariant *variant; 4116s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4116s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 4116s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 4116s # if (info->use_gvariant) 4116s # { 4116s # g_value_set_variant (value, variant); 4116s # } 4116s # else 4116s # { 4116s # if (variant != NULL) 4116s # g_dbus_gvariant_to_gvalue (variant, value); 4116s # } 4116s # if (variant != NULL) 4116s # g_variant_unref (variant); 4116s # } 4116s # 4116s # static void 4116s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 4116s # GAsyncResult *res, 4116s # gpointer user_data) 4116s # { 4116s # const _ExtendedGDBusPropertyInfo *info = user_data; 4116s # GError *error; 4116s # GVariant *_ret; 4116s # error = NULL; 4116s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 4116s # if (!_ret) 4116s # { 4116s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 4116s # info->parent_struct.name, 4116s # error->message, g_quark_to_string (error->domain), error->code); 4116s # g_error_free (error); 4116s # } 4116s # else 4116s # { 4116s # g_variant_unref (_ret); 4116s # } 4116s # } 4116s # 4116s # static void 4116s # com_acme_coyote_proxy_set_property (GObject *object, 4116s # guint prop_id, 4116s # const GValue *value, 4116s # GParamSpec *pspec G_GNUC_UNUSED) 4116s # { 4116s # const _ExtendedGDBusPropertyInfo *info; 4116s # GVariant *variant; 4116s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4116s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 4116s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 4116s # g_dbus_proxy_call (G_DBUS_PROXY (object), 4116s # "org.freedesktop.DBus.Properties.Set", 4116s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 4116s # G_DBUS_CALL_FLAGS_NONE, 4116s # -1, 4116s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 4116s # g_variant_unref (variant); 4116s # } 4116s # 4116s # static void 4116s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 4116s # const gchar *sender_name G_GNUC_UNUSED, 4116s # const gchar *signal_name, 4116s # GVariant *parameters) 4116s # { 4116s # _ExtendedGDBusSignalInfo *info; 4116s # GVariantIter iter; 4116s # GVariant *child; 4116s # GValue *paramv; 4116s # gsize num_params; 4116s # gsize n; 4116s # guint signal_id; 4116s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 4116s # if (info == NULL) 4116s # return; 4116s # num_params = g_variant_n_children (parameters); 4116s # paramv = g_new0 (GValue, num_params + 1); 4116s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 4116s # g_value_set_object (¶mv[0], proxy); 4116s # g_variant_iter_init (&iter, parameters); 4116s # n = 1; 4116s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4116s # { 4116s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4116s # if (arg_info->use_gvariant) 4116s # { 4116s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4116s # g_value_set_variant (¶mv[n], child); 4116s # n++; 4116s # } 4116s # else 4116s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4116s # g_variant_unref (child); 4116s # } 4116s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 4116s # g_signal_emitv (paramv, signal_id, 0, NULL); 4116s # for (n = 0; n < num_params + 1; n++) 4116s # g_value_unset (¶mv[n]); 4116s # g_free (paramv); 4116s # } 4116s # 4116s # static void 4116s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 4116s # GVariant *changed_properties, 4116s # const gchar *const *invalidated_properties) 4116s # { 4116s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 4116s # guint n; 4116s # const gchar *key; 4116s # GVariantIter *iter; 4116s # _ExtendedGDBusPropertyInfo *info; 4116s # g_variant_get (changed_properties, "a{sv}", &iter); 4116s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4116s # { 4116s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 4116s # g_datalist_remove_data (&proxy->priv->qdata, key); 4116s # if (info != NULL) 4116s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4116s # } 4116s # g_variant_iter_free (iter); 4116s # for (n = 0; invalidated_properties[n] != NULL; n++) 4116s # { 4116s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 4116s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4116s # if (info != NULL) 4116s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4116s # } 4116s # } 4116s # 4116s # static const gchar * 4116s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 4116s # { 4116s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 4116s # GVariant *variant; 4116s # const gchar *value = NULL; 4116s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 4116s # if (variant != NULL) 4116s # { 4116s # value = g_variant_get_string (variant, NULL); 4116s # g_variant_unref (variant); 4116s # } 4116s # return value; 4116s # } 4116s # 4116s # static void 4116s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 4116s # { 4116s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4116s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 4116s # #else 4116s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 4116s # #endif 4116s # 4116s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 4116s # } 4116s # 4116s # static void 4116s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 4116s # { 4116s # GObjectClass *gobject_class; 4116s # GDBusProxyClass *proxy_class; 4116s # 4116s # gobject_class = G_OBJECT_CLASS (klass); 4116s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 4116s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 4116s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 4116s # 4116s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4116s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 4116s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 4116s # 4116s # com_acme_coyote_override_properties (gobject_class, 1); 4116s # 4116s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4116s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 4116s # #endif 4116s # } 4116s # 4116s # static void 4116s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 4116s # { 4116s # iface->get_mood = com_acme_coyote_proxy_get_mood; 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_proxy_new: 4116s # * @connection: A #GDBusConnection. 4116s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4116s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4116s # * @object_path: An object path. 4116s # * @cancellable: (nullable): A #GCancellable or %NULL. 4116s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4116s # * @user_data: User data to pass to @callback. 4116s # * 4116s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 4116s # * 4116s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4116s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 4116s # * 4116s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 4116s # */ 4116s # void 4116s # com_acme_coyote_proxy_new ( 4116s # GDBusConnection *connection, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data) 4116s # { 4116s # 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); 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_proxy_new_finish: 4116s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 4116s # * @error: Return location for error or %NULL 4116s # * 4116s # * Finishes an operation started with com_acme_coyote_proxy_new(). 4116s # * 4116s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 4116s # */ 4116s # ComAcmeCoyote * 4116s # com_acme_coyote_proxy_new_finish ( 4116s # GAsyncResult *res, 4116s # GError **error) 4116s # { 4116s # GObject *ret; 4116s # GObject *source_object; 4116s # source_object = g_async_result_get_source_object (res); 4116s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4116s # g_object_unref (source_object); 4116s # if (ret != NULL) 4116s # return COM_ACME_COYOTE (ret); 4116s # else 4116s # return NULL; 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_proxy_new_sync: 4116s # * @connection: A #GDBusConnection. 4116s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4116s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4116s # * @object_path: An object path. 4116s # * @cancellable: (nullable): A #GCancellable or %NULL. 4116s # * @error: Return location for error or %NULL 4116s # * 4116s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 4116s # * 4116s # * The calling thread is blocked until a reply is received. 4116s # * 4116s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 4116s # * 4116s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 4116s # */ 4116s # ComAcmeCoyote * 4116s # com_acme_coyote_proxy_new_sync ( 4116s # GDBusConnection *connection, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GError **error) 4116s # { 4116s # GInitable *ret; 4116s # 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); 4116s # if (ret != NULL) 4116s # return COM_ACME_COYOTE (ret); 4116s # else 4116s # return NULL; 4116s # } 4116s # 4116s # 4116s # /** 4116s # * com_acme_coyote_proxy_new_for_bus: 4116s # * @bus_type: A #GBusType. 4116s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4116s # * @name: A bus name (well-known or unique). 4116s # * @object_path: An object path. 4116s # * @cancellable: (nullable): A #GCancellable or %NULL. 4116s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4116s # * @user_data: User data to pass to @callback. 4116s # * 4116s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4116s # * 4116s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4116s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 4116s # * 4116s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4116s # */ 4116s # void 4116s # com_acme_coyote_proxy_new_for_bus ( 4116s # GBusType bus_type, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GAsyncReadyCallback callback, 4116s # gpointer user_data) 4116s # { 4116s # 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); 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_proxy_new_for_bus_finish: 4116s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 4116s # * @error: Return location for error or %NULL 4116s # * 4116s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 4116s # * 4116s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 4116s # */ 4116s # ComAcmeCoyote * 4116s # com_acme_coyote_proxy_new_for_bus_finish ( 4116s # GAsyncResult *res, 4116s # GError **error) 4116s # { 4116s # GObject *ret; 4116s # GObject *source_object; 4116s # source_object = g_async_result_get_source_object (res); 4116s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4116s # g_object_unref (source_object); 4116s # if (ret != NULL) 4116s # return COM_ACME_COYOTE (ret); 4116s # else 4116s # return NULL; 4116s # } 4116s # 4116s # /** 4116s # * com_acme_coyote_proxy_new_for_bus_sync: 4116s # * @bus_type: A #GBusType. 4116s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4116s # * @name: A bus name (well-known or unique). 4116s # * @object_path: An object path. 4116s # * @cancellable: (nullable): A #GCancellable or %NULL. 4116s # * @error: Return location for error or %NULL 4116s # * 4116s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4116s # * 4116s # * The calling thread is blocked until a reply is received. 4116s # * 4116s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 4116s # * 4116s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 4116s # */ 4116s # ComAcmeCoyote * 4116s # com_acme_coyote_proxy_new_for_bus_sync ( 4116s # GBusType bus_type, 4116s # GDBusProxyFlags flags, 4116s # const gchar *name, 4116s # const gchar *object_path, 4116s # GCancellable *cancellable, 4116s # GError **error) 4116s # { 4116s # GInitable *ret; 4116s # 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); 4116s # if (ret != NULL) 4116s # return COM_ACME_COYOTE (ret); 4116s # else 4116s # return NULL; 4116s # } 4116s # 4116s # 4116s # /* ------------------------------------------------------------------------ */ 4116s # 4116s # /** 4116s # * ComAcmeCoyoteSkeleton: 4116s # * 4116s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 4116s # */ 4116s # 4116s # /** 4116s # * ComAcmeCoyoteSkeletonClass: 4116s # * @parent_class: The parent class. 4116s # * 4116s # * Class structure for #ComAcmeCoyoteSkeleton. 4116s # */ 4116s # 4116s # struct _ComAcmeCoyoteSkeletonPrivate 4116s # { 4116s # GValue *properties; 4116s # GList *changed_properties; 4116s # GSource *changed_properties_idle_source; 4116s # GMainContext *context; 4116s # GMutex lock; 4116s # }; 4116s # 4116s # static void 4116s # _com_acme_coyote_skeleton_handle_method_call ( 4116s # GDBusConnection *connection G_GNUC_UNUSED, 4116s # const gchar *sender G_GNUC_UNUSED, 4116s # const gchar *object_path G_GNUC_UNUSED, 4116s # const gchar *interface_name, 4116s # const gchar *method_name, 4116s # GVariant *parameters, 4116s # GDBusMethodInvocation *invocation, 4116s # gpointer user_data) 4116s # { 4116s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 4116s # _ExtendedGDBusMethodInfo *info; 4116s # GVariantIter iter; 4116s # GVariant *child; 4116s # GValue *paramv; 4116s # gsize num_params; 4116s # guint num_extra; 4116s # gsize n; 4116s # guint signal_id; 4116s # GValue return_value = G_VALUE_INIT; 4116s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4116s # g_assert (info != NULL); 4116s # num_params = g_variant_n_children (parameters); 4116s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4116s # n = 0; 4116s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 4116s # g_value_set_object (¶mv[n++], skeleton); 4116s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4116s # g_value_set_object (¶mv[n++], invocation); 4116s # if (info->pass_fdlist) 4116s # { 4116s # #ifdef G_OS_UNIX 4116s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4116s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4116s # #else 4116s # g_assert_not_reached (); 4116s # #endif 4116s # } 4116s # g_variant_iter_init (&iter, parameters); 4116s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4116s # { 4116s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4116s # if (arg_info->use_gvariant) 4116s # { 4117s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4117s # g_value_set_variant (¶mv[n], child); 4117s # n++; 4117s # } 4117s # else 4117s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4117s # g_variant_unref (child); 4117s # } 4117s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 4117s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4117s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4117s # if (!g_value_get_boolean (&return_value)) 4117s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4117s # g_value_unset (&return_value); 4117s # for (n = 0; n < num_params + num_extra; n++) 4117s # g_value_unset (¶mv[n]); 4117s # g_free (paramv); 4117s # } 4117s # 4117s # static GVariant * 4117s # _com_acme_coyote_skeleton_handle_get_property ( 4117s # GDBusConnection *connection G_GNUC_UNUSED, 4117s # const gchar *sender G_GNUC_UNUSED, 4117s # const gchar *object_path G_GNUC_UNUSED, 4117s # const gchar *interface_name G_GNUC_UNUSED, 4117s # const gchar *property_name, 4117s # GError **error, 4117s # gpointer user_data) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 4117s # GValue value = G_VALUE_INIT; 4117s # GParamSpec *pspec; 4117s # _ExtendedGDBusPropertyInfo *info; 4117s # GVariant *ret; 4117s # ret = NULL; 4117s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 4117s # g_assert (info != NULL); 4117s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4117s # if (pspec == NULL) 4117s # { 4117s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4117s # } 4117s # else 4117s # { 4117s # g_value_init (&value, pspec->value_type); 4117s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4117s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4117s # g_value_unset (&value); 4117s # } 4117s # return ret; 4117s # } 4117s # 4117s # static gboolean 4117s # _com_acme_coyote_skeleton_handle_set_property ( 4117s # GDBusConnection *connection G_GNUC_UNUSED, 4117s # const gchar *sender G_GNUC_UNUSED, 4117s # const gchar *object_path G_GNUC_UNUSED, 4117s # const gchar *interface_name G_GNUC_UNUSED, 4117s # const gchar *property_name, 4117s # GVariant *variant, 4117s # GError **error, 4117s # gpointer user_data) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 4117s # GValue value = G_VALUE_INIT; 4117s # GParamSpec *pspec; 4117s # _ExtendedGDBusPropertyInfo *info; 4117s # gboolean ret; 4117s # ret = FALSE; 4117s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 4117s # g_assert (info != NULL); 4117s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4117s # if (pspec == NULL) 4117s # { 4117s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4117s # } 4117s # else 4117s # { 4117s # if (info->use_gvariant) 4117s # g_value_set_variant (&value, variant); 4117s # else 4117s # g_dbus_gvariant_to_gvalue (variant, &value); 4117s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4117s # g_value_unset (&value); 4117s # ret = TRUE; 4117s # } 4117s # return ret; 4117s # } 4117s # 4117s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 4117s # { 4117s # _com_acme_coyote_skeleton_handle_method_call, 4117s # _com_acme_coyote_skeleton_handle_get_property, 4117s # _com_acme_coyote_skeleton_handle_set_property, 4117s # {NULL} 4117s # }; 4117s # 4117s # static GDBusInterfaceInfo * 4117s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4117s # { 4117s # return com_acme_coyote_interface_info (); 4117s # } 4117s # 4117s # static GDBusInterfaceVTable * 4117s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4117s # { 4117s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 4117s # } 4117s # 4117s # static GVariant * 4117s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 4117s # 4117s # GVariantBuilder builder; 4117s # guint n; 4117s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4117s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 4117s # goto out; 4117s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 4117s # { 4117s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 4117s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4117s # { 4117s # GVariant *value; 4117s # 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); 4117s # if (value != NULL) 4117s # { 4117s # g_variant_take_ref (value); 4117s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4117s # g_variant_unref (value); 4117s # } 4117s # } 4117s # } 4117s # out: 4117s # return g_variant_builder_end (&builder); 4117s # } 4117s # 4117s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 4117s # 4117s # static void 4117s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 4117s # gboolean emit_changed = FALSE; 4117s # 4117s # g_mutex_lock (&skeleton->priv->lock); 4117s # if (skeleton->priv->changed_properties_idle_source != NULL) 4117s # { 4117s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4117s # skeleton->priv->changed_properties_idle_source = NULL; 4117s # emit_changed = TRUE; 4117s # } 4117s # g_mutex_unlock (&skeleton->priv->lock); 4117s # 4117s # if (emit_changed) 4117s # _com_acme_coyote_emit_changed (skeleton); 4117s # } 4117s # 4117s # static void 4117s # _com_acme_coyote_on_signal_surprised ( 4117s # ComAcmeCoyote *object) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 4117s # 4117s # GList *connections, *l; 4117s # GVariant *signal_variant; 4117s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4117s # 4117s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4117s # for (l = connections; l != NULL; l = l->next) 4117s # { 4117s # GDBusConnection *connection = l->data; 4117s # g_dbus_connection_emit_signal (connection, 4117s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 4117s # signal_variant, NULL); 4117s # } 4117s # g_variant_unref (signal_variant); 4117s # g_list_free_full (connections, g_object_unref); 4117s # } 4117s # 4117s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 4117s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4117s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4117s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 4117s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 4117s # 4117s # #else 4117s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4117s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 4117s # 4117s # #endif 4117s # static void 4117s # com_acme_coyote_skeleton_finalize (GObject *object) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 4117s # guint n; 4117s # for (n = 0; n < 1; n++) 4117s # g_value_unset (&skeleton->priv->properties[n]); 4117s # g_free (skeleton->priv->properties); 4117s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4117s # if (skeleton->priv->changed_properties_idle_source != NULL) 4117s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4117s # g_main_context_unref (skeleton->priv->context); 4117s # g_mutex_clear (&skeleton->priv->lock); 4117s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_skeleton_get_property (GObject *object, 4117s # guint prop_id, 4117s # GValue *value, 4117s # GParamSpec *pspec G_GNUC_UNUSED) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 4117s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4117s # g_mutex_lock (&skeleton->priv->lock); 4117s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 4117s # g_mutex_unlock (&skeleton->priv->lock); 4117s # } 4117s # 4117s # static gboolean 4117s # _com_acme_coyote_emit_changed (gpointer user_data) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 4117s # GList *l; 4117s # GVariantBuilder builder; 4117s # GVariantBuilder invalidated_builder; 4117s # guint num_changes; 4117s # 4117s # g_mutex_lock (&skeleton->priv->lock); 4117s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4117s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 4117s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 4117s # { 4117s # ChangedProperty *cp = l->data; 4117s # GVariant *variant; 4117s # const GValue *cur_value; 4117s # 4117s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 4117s # if (!_g_value_equal (cur_value, &cp->orig_value)) 4117s # { 4117s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 4117s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 4117s # g_variant_unref (variant); 4117s # num_changes++; 4117s # } 4117s # } 4117s # if (num_changes > 0) 4117s # { 4117s # GList *connections, *ll; 4117s # GVariant *signal_variant; 4117s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 4117s # &builder, &invalidated_builder)); 4117s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4117s # for (ll = connections; ll != NULL; ll = ll->next) 4117s # { 4117s # GDBusConnection *connection = ll->data; 4117s # 4117s # g_dbus_connection_emit_signal (connection, 4117s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 4117s # "org.freedesktop.DBus.Properties", 4117s # "PropertiesChanged", 4117s # signal_variant, 4117s # NULL); 4117s # } 4117s # g_variant_unref (signal_variant); 4117s # g_list_free_full (connections, g_object_unref); 4117s # } 4117s # else 4117s # { 4117s # g_variant_builder_clear (&builder); 4117s # g_variant_builder_clear (&invalidated_builder); 4117s # } 4117s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4117s # skeleton->priv->changed_properties = NULL; 4117s # skeleton->priv->changed_properties_idle_source = NULL; 4117s # g_mutex_unlock (&skeleton->priv->lock); 4117s # return FALSE; 4117s # } 4117s # 4117s # static void 4117s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 4117s # { 4117s # ChangedProperty *cp; 4117s # GList *l; 4117s # cp = NULL; 4117s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 4117s # { 4117s # ChangedProperty *i_cp = l->data; 4117s # if (i_cp->info == info) 4117s # { 4117s # cp = i_cp; 4117s # break; 4117s # } 4117s # } 4117s # if (cp == NULL) 4117s # { 4117s # cp = g_new0 (ChangedProperty, 1); 4117s # cp->prop_id = prop_id; 4117s # cp->info = info; 4117s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 4117s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 4117s # g_value_copy (orig_value, &cp->orig_value); 4117s # } 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_skeleton_notify (GObject *object, 4117s # GParamSpec *pspec G_GNUC_UNUSED) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 4117s # g_mutex_lock (&skeleton->priv->lock); 4117s # if (skeleton->priv->changed_properties != NULL && 4117s # skeleton->priv->changed_properties_idle_source == NULL) 4117s # { 4117s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 4117s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 4117s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 4117s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 4117s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 4117s # g_source_unref (skeleton->priv->changed_properties_idle_source); 4117s # } 4117s # g_mutex_unlock (&skeleton->priv->lock); 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_skeleton_set_property (GObject *object, 4117s # guint prop_id, 4117s # const GValue *value, 4117s # GParamSpec *pspec) 4117s # { 4117s # const _ExtendedGDBusPropertyInfo *info; 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 4117s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4117s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 4117s # g_mutex_lock (&skeleton->priv->lock); 4117s # g_object_freeze_notify (object); 4117s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 4117s # { 4117s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 4117s # info->emits_changed_signal) 4117s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 4117s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 4117s # g_object_notify_by_pspec (object, pspec); 4117s # } 4117s # g_mutex_unlock (&skeleton->priv->lock); 4117s # g_object_thaw_notify (object); 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 4117s # { 4117s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4117s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 4117s # #else 4117s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 4117s # #endif 4117s # 4117s # g_mutex_init (&skeleton->priv->lock); 4117s # skeleton->priv->context = g_main_context_ref_thread_default (); 4117s # skeleton->priv->properties = g_new0 (GValue, 1); 4117s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 4117s # } 4117s # 4117s # static const gchar * 4117s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 4117s # const gchar *value; 4117s # g_mutex_lock (&skeleton->priv->lock); 4117s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 4117s # g_mutex_unlock (&skeleton->priv->lock); 4117s # return value; 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 4117s # { 4117s # GObjectClass *gobject_class; 4117s # GDBusInterfaceSkeletonClass *skeleton_class; 4117s # 4117s # gobject_class = G_OBJECT_CLASS (klass); 4117s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 4117s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 4117s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 4117s # gobject_class->notify = com_acme_coyote_skeleton_notify; 4117s # 4117s # 4117s # com_acme_coyote_override_properties (gobject_class, 1); 4117s # 4117s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4117s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 4117s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 4117s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 4117s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 4117s # 4117s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4117s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 4117s # #endif 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 4117s # { 4117s # iface->surprised = _com_acme_coyote_on_signal_surprised; 4117s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_skeleton_new: 4117s # * 4117s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 4117s # * 4117s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 4117s # */ 4117s # ComAcmeCoyote * 4117s # com_acme_coyote_skeleton_new (void) 4117s # { 4117s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 4117s # } 4117s # 4117s # /* ------------------------------------------------------------------------ 4117s # * Code for interface org.project.Bar.Frobnicator 4117s # * ------------------------------------------------------------------------ 4117s # */ 4117s # 4117s # /** 4117s # * SECTION:OrgProjectBarFrobnicator 4117s # * @title: OrgProjectBarFrobnicator 4117s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 4117s # * 4117s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 4117s # */ 4117s # 4117s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 4117s # 4117s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 4117s # { 4117s # { 4117s # -1, 4117s # (gchar *) "RandomMethod", 4117s # NULL, 4117s # NULL, 4117s # NULL 4117s # }, 4117s # "handle-random-method", 4117s # FALSE 4117s # }; 4117s # 4117s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 4117s # { 4117s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 4117s # NULL 4117s # }; 4117s # 4117s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 4117s # { 4117s # { 4117s # -1, 4117s # (gchar *) "org.project.Bar.Frobnicator", 4117s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 4117s # NULL, 4117s # NULL, 4117s # NULL 4117s # }, 4117s # "org-project-bar-frobnicator", 4117s # }; 4117s # 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_interface_info: 4117s # * 4117s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 4117s # * 4117s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4117s # */ 4117s # GDBusInterfaceInfo * 4117s # org_project_bar_frobnicator_interface_info (void) 4117s # { 4117s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_override_properties: 4117s # * @klass: The class structure for a #GObject derived class. 4117s # * @property_id_begin: The property id to assign to the first overridden property. 4117s # * 4117s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 4117s # * The properties are overridden in the order they are defined. 4117s # * 4117s # * Returns: The last property id. 4117s # */ 4117s # guint 4117s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4117s # { 4117s # return property_id_begin - 1; 4117s # } 4117s # 4117s # 4117s # inline static void 4117s # org_project_bar_frobnicator_method_marshal_random_method ( 4117s # GClosure *closure, 4117s # GValue *return_value, 4117s # unsigned int n_param_values, 4117s # const GValue *param_values, 4117s # void *invocation_hint, 4117s # void *marshal_data) 4117s # { 4117s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4117s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4117s # } 4117s # 4117s # 4117s # /** 4117s # * OrgProjectBarFrobnicator: 4117s # * 4117s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 4117s # */ 4117s # 4117s # /** 4117s # * OrgProjectBarFrobnicatorIface: 4117s # * @parent_iface: The parent interface. 4117s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 4117s # * 4117s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 4117s # */ 4117s # 4117s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 4117s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 4117s # { 4117s # /* GObject signals for incoming D-Bus method calls: */ 4117s # /** 4117s # * OrgProjectBarFrobnicator::handle-random-method: 4117s # * @object: A #OrgProjectBarFrobnicator. 4117s # * @invocation: A #GDBusMethodInvocation. 4117s # * 4117s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 4117s # * 4117s # * 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. 4117s # * 4117s # * 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. 4117s # */ 4117s # g_signal_new ("handle-random-method", 4117s # G_TYPE_FROM_INTERFACE (iface), 4117s # G_SIGNAL_RUN_LAST, 4117s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 4117s # g_signal_accumulator_true_handled, 4117s # NULL, 4117s # org_project_bar_frobnicator_method_marshal_random_method, 4117s # G_TYPE_BOOLEAN, 4117s # 1, 4117s # G_TYPE_DBUS_METHOD_INVOCATION); 4117s # 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_call_random_method: 4117s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4117s # * @user_data: User data to pass to @callback. 4117s # * 4117s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 4117s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4117s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 4117s # * 4117s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 4117s # */ 4117s # void 4117s # org_project_bar_frobnicator_call_random_method ( 4117s # OrgProjectBarFrobnicator *proxy, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data) 4117s # { 4117s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4117s # "RandomMethod", 4117s # g_variant_new ("()"), 4117s # G_DBUS_CALL_FLAGS_NONE, 4117s # -1, 4117s # cancellable, 4117s # callback, 4117s # user_data); 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_call_random_method_finish: 4117s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 4117s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 4117s # * @error: Return location for error or %NULL. 4117s # * 4117s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 4117s # * 4117s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4117s # */ 4117s # gboolean 4117s # org_project_bar_frobnicator_call_random_method_finish ( 4117s # OrgProjectBarFrobnicator *proxy, 4117s # GAsyncResult *res, 4117s # GError **error) 4117s # { 4117s # GVariant *_ret; 4117s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4117s # if (_ret == NULL) 4117s # goto _out; 4117s # g_variant_get (_ret, 4117s # "()"); 4117s # g_variant_unref (_ret); 4117s # _out: 4117s # return _ret != NULL; 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_call_random_method_sync: 4117s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @error: Return location for error or %NULL. 4117s # * 4117s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4117s # * 4117s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 4117s # * 4117s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4117s # */ 4117s # gboolean 4117s # org_project_bar_frobnicator_call_random_method_sync ( 4117s # OrgProjectBarFrobnicator *proxy, 4117s # GCancellable *cancellable, 4117s # GError **error) 4117s # { 4117s # GVariant *_ret; 4117s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4117s # "RandomMethod", 4117s # g_variant_new ("()"), 4117s # G_DBUS_CALL_FLAGS_NONE, 4117s # -1, 4117s # cancellable, 4117s # error); 4117s # if (_ret == NULL) 4117s # goto _out; 4117s # g_variant_get (_ret, 4117s # "()"); 4117s # g_variant_unref (_ret); 4117s # _out: 4117s # return _ret != NULL; 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_complete_random_method: 4117s # * @object: A #OrgProjectBarFrobnicator. 4117s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4117s # * 4117s # * 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. 4117s # * 4117s # * This method will free @invocation, you cannot use it afterwards. 4117s # */ 4117s # void 4117s # org_project_bar_frobnicator_complete_random_method ( 4117s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 4117s # GDBusMethodInvocation *invocation) 4117s # { 4117s # g_dbus_method_invocation_return_value (invocation, 4117s # g_variant_new ("()")); 4117s # } 4117s # 4117s # /* ------------------------------------------------------------------------ */ 4117s # 4117s # /** 4117s # * OrgProjectBarFrobnicatorProxy: 4117s # * 4117s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 4117s # */ 4117s # 4117s # /** 4117s # * OrgProjectBarFrobnicatorProxyClass: 4117s # * @parent_class: The parent class. 4117s # * 4117s # * Class structure for #OrgProjectBarFrobnicatorProxy. 4117s # */ 4117s # 4117s # struct _OrgProjectBarFrobnicatorProxyPrivate 4117s # { 4117s # GData *qdata; 4117s # }; 4117s # 4117s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 4117s # 4117s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4117s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 4117s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 4117s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 4117s # 4117s # #else 4117s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 4117s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 4117s # 4117s # #endif 4117s # static void 4117s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 4117s # { 4117s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 4117s # g_datalist_clear (&proxy->priv->qdata); 4117s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 4117s # guint prop_id G_GNUC_UNUSED, 4117s # GValue *value G_GNUC_UNUSED, 4117s # GParamSpec *pspec G_GNUC_UNUSED) 4117s # { 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 4117s # guint prop_id G_GNUC_UNUSED, 4117s # const GValue *value G_GNUC_UNUSED, 4117s # GParamSpec *pspec G_GNUC_UNUSED) 4117s # { 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 4117s # const gchar *sender_name G_GNUC_UNUSED, 4117s # const gchar *signal_name, 4117s # GVariant *parameters) 4117s # { 4117s # _ExtendedGDBusSignalInfo *info; 4117s # GVariantIter iter; 4117s # GVariant *child; 4117s # GValue *paramv; 4117s # gsize num_params; 4117s # gsize n; 4117s # guint signal_id; 4117s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 4117s # if (info == NULL) 4117s # return; 4117s # num_params = g_variant_n_children (parameters); 4117s # paramv = g_new0 (GValue, num_params + 1); 4117s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 4117s # g_value_set_object (¶mv[0], proxy); 4117s # g_variant_iter_init (&iter, parameters); 4117s # n = 1; 4117s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4117s # { 4117s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4117s # if (arg_info->use_gvariant) 4117s # { 4117s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4117s # g_value_set_variant (¶mv[n], child); 4117s # n++; 4117s # } 4117s # else 4117s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4117s # g_variant_unref (child); 4117s # } 4117s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 4117s # g_signal_emitv (paramv, signal_id, 0, NULL); 4117s # for (n = 0; n < num_params + 1; n++) 4117s # g_value_unset (¶mv[n]); 4117s # g_free (paramv); 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 4117s # GVariant *changed_properties, 4117s # const gchar *const *invalidated_properties) 4117s # { 4117s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 4117s # guint n; 4117s # const gchar *key; 4117s # GVariantIter *iter; 4117s # _ExtendedGDBusPropertyInfo *info; 4117s # g_variant_get (changed_properties, "a{sv}", &iter); 4117s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4117s # { 4117s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 4117s # g_datalist_remove_data (&proxy->priv->qdata, key); 4117s # if (info != NULL) 4117s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4117s # } 4117s # g_variant_iter_free (iter); 4117s # for (n = 0; invalidated_properties[n] != NULL; n++) 4117s # { 4117s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 4117s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4117s # if (info != NULL) 4117s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4117s # } 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 4117s # { 4117s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4117s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 4117s # #else 4117s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 4117s # #endif 4117s # 4117s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 4117s # { 4117s # GObjectClass *gobject_class; 4117s # GDBusProxyClass *proxy_class; 4117s # 4117s # gobject_class = G_OBJECT_CLASS (klass); 4117s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 4117s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 4117s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 4117s # 4117s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4117s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 4117s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 4117s # 4117s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4117s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 4117s # #endif 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 4117s # { 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_proxy_new: 4117s # * @connection: A #GDBusConnection. 4117s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4117s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4117s # * @object_path: An object path. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4117s # * @user_data: User data to pass to @callback. 4117s # * 4117s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 4117s # * 4117s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4117s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 4117s # * 4117s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 4117s # */ 4117s # void 4117s # org_project_bar_frobnicator_proxy_new ( 4117s # GDBusConnection *connection, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data) 4117s # { 4117s # 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); 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_proxy_new_finish: 4117s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 4117s # * @error: Return location for error or %NULL 4117s # * 4117s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 4117s # * 4117s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 4117s # */ 4117s # OrgProjectBarFrobnicator * 4117s # org_project_bar_frobnicator_proxy_new_finish ( 4117s # GAsyncResult *res, 4117s # GError **error) 4117s # { 4117s # GObject *ret; 4117s # GObject *source_object; 4117s # source_object = g_async_result_get_source_object (res); 4117s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4117s # g_object_unref (source_object); 4117s # if (ret != NULL) 4117s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 4117s # else 4117s # return NULL; 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_proxy_new_sync: 4117s # * @connection: A #GDBusConnection. 4117s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4117s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4117s # * @object_path: An object path. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @error: Return location for error or %NULL 4117s # * 4117s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 4117s # * 4117s # * The calling thread is blocked until a reply is received. 4117s # * 4117s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 4117s # * 4117s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 4117s # */ 4117s # OrgProjectBarFrobnicator * 4117s # org_project_bar_frobnicator_proxy_new_sync ( 4117s # GDBusConnection *connection, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GError **error) 4117s # { 4117s # GInitable *ret; 4117s # 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); 4117s # if (ret != NULL) 4117s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 4117s # else 4117s # return NULL; 4117s # } 4117s # 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_proxy_new_for_bus: 4117s # * @bus_type: A #GBusType. 4117s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4117s # * @name: A bus name (well-known or unique). 4117s # * @object_path: An object path. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4117s # * @user_data: User data to pass to @callback. 4117s # * 4117s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4117s # * 4117s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4117s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 4117s # * 4117s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4117s # */ 4117s # void 4117s # org_project_bar_frobnicator_proxy_new_for_bus ( 4117s # GBusType bus_type, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data) 4117s # { 4117s # 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); 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 4117s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 4117s # * @error: Return location for error or %NULL 4117s # * 4117s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 4117s # * 4117s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 4117s # */ 4117s # OrgProjectBarFrobnicator * 4117s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 4117s # GAsyncResult *res, 4117s # GError **error) 4117s # { 4117s # GObject *ret; 4117s # GObject *source_object; 4117s # source_object = g_async_result_get_source_object (res); 4117s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4117s # g_object_unref (source_object); 4117s # if (ret != NULL) 4117s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 4117s # else 4117s # return NULL; 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 4117s # * @bus_type: A #GBusType. 4117s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4117s # * @name: A bus name (well-known or unique). 4117s # * @object_path: An object path. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @error: Return location for error or %NULL 4117s # * 4117s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4117s # * 4117s # * The calling thread is blocked until a reply is received. 4117s # * 4117s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 4117s # * 4117s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 4117s # */ 4117s # OrgProjectBarFrobnicator * 4117s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 4117s # GBusType bus_type, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GError **error) 4117s # { 4117s # GInitable *ret; 4117s # 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); 4117s # if (ret != NULL) 4117s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 4117s # else 4117s # return NULL; 4117s # } 4117s # 4117s # 4117s # /* ------------------------------------------------------------------------ */ 4117s # 4117s # /** 4117s # * OrgProjectBarFrobnicatorSkeleton: 4117s # * 4117s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 4117s # */ 4117s # 4117s # /** 4117s # * OrgProjectBarFrobnicatorSkeletonClass: 4117s # * @parent_class: The parent class. 4117s # * 4117s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 4117s # */ 4117s # 4117s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 4117s # { 4117s # GValue *properties; 4117s # GList *changed_properties; 4117s # GSource *changed_properties_idle_source; 4117s # GMainContext *context; 4117s # GMutex lock; 4117s # }; 4117s # 4117s # static void 4117s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 4117s # GDBusConnection *connection G_GNUC_UNUSED, 4117s # const gchar *sender G_GNUC_UNUSED, 4117s # const gchar *object_path G_GNUC_UNUSED, 4117s # const gchar *interface_name, 4117s # const gchar *method_name, 4117s # GVariant *parameters, 4117s # GDBusMethodInvocation *invocation, 4117s # gpointer user_data) 4117s # { 4117s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 4117s # _ExtendedGDBusMethodInfo *info; 4117s # GVariantIter iter; 4117s # GVariant *child; 4117s # GValue *paramv; 4117s # gsize num_params; 4117s # guint num_extra; 4117s # gsize n; 4117s # guint signal_id; 4117s # GValue return_value = G_VALUE_INIT; 4117s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4117s # g_assert (info != NULL); 4117s # num_params = g_variant_n_children (parameters); 4117s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4117s # n = 0; 4117s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 4117s # g_value_set_object (¶mv[n++], skeleton); 4117s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4117s # g_value_set_object (¶mv[n++], invocation); 4117s # if (info->pass_fdlist) 4117s # { 4117s # #ifdef G_OS_UNIX 4117s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4117s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4117s # #else 4117s # g_assert_not_reached (); 4117s # #endif 4117s # } 4117s # g_variant_iter_init (&iter, parameters); 4117s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4117s # { 4117s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4117s # if (arg_info->use_gvariant) 4117s # { 4117s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4117s # g_value_set_variant (¶mv[n], child); 4117s # n++; 4117s # } 4117s # else 4117s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4117s # g_variant_unref (child); 4117s # } 4117s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 4117s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4117s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4117s # if (!g_value_get_boolean (&return_value)) 4117s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4117s # g_value_unset (&return_value); 4117s # for (n = 0; n < num_params + num_extra; n++) 4117s # g_value_unset (¶mv[n]); 4117s # g_free (paramv); 4117s # } 4117s # 4117s # static GVariant * 4117s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 4117s # GDBusConnection *connection G_GNUC_UNUSED, 4117s # const gchar *sender G_GNUC_UNUSED, 4117s # const gchar *object_path G_GNUC_UNUSED, 4117s # const gchar *interface_name G_GNUC_UNUSED, 4117s # const gchar *property_name, 4117s # GError **error, 4117s # gpointer user_data) 4117s # { 4117s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 4117s # GValue value = G_VALUE_INIT; 4117s # GParamSpec *pspec; 4117s # _ExtendedGDBusPropertyInfo *info; 4117s # GVariant *ret; 4117s # ret = NULL; 4117s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 4117s # g_assert (info != NULL); 4117s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4117s # if (pspec == NULL) 4117s # { 4117s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4117s # } 4117s # else 4117s # { 4117s # g_value_init (&value, pspec->value_type); 4117s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4117s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4117s # g_value_unset (&value); 4117s # } 4117s # return ret; 4117s # } 4117s # 4117s # static gboolean 4117s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 4117s # GDBusConnection *connection G_GNUC_UNUSED, 4117s # const gchar *sender G_GNUC_UNUSED, 4117s # const gchar *object_path G_GNUC_UNUSED, 4117s # const gchar *interface_name G_GNUC_UNUSED, 4117s # const gchar *property_name, 4117s # GVariant *variant, 4117s # GError **error, 4117s # gpointer user_data) 4117s # { 4117s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 4117s # GValue value = G_VALUE_INIT; 4117s # GParamSpec *pspec; 4117s # _ExtendedGDBusPropertyInfo *info; 4117s # gboolean ret; 4117s # ret = FALSE; 4117s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 4117s # g_assert (info != NULL); 4117s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4117s # if (pspec == NULL) 4117s # { 4117s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4117s # } 4117s # else 4117s # { 4117s # if (info->use_gvariant) 4117s # g_value_set_variant (&value, variant); 4117s # else 4117s # g_dbus_gvariant_to_gvalue (variant, &value); 4117s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4117s # g_value_unset (&value); 4117s # ret = TRUE; 4117s # } 4117s # return ret; 4117s # } 4117s # 4117s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 4117s # { 4117s # _org_project_bar_frobnicator_skeleton_handle_method_call, 4117s # _org_project_bar_frobnicator_skeleton_handle_get_property, 4117s # _org_project_bar_frobnicator_skeleton_handle_set_property, 4117s # {NULL} 4117s # }; 4117s # 4117s # static GDBusInterfaceInfo * 4117s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4117s # { 4117s # return org_project_bar_frobnicator_interface_info (); 4117s # } 4117s # 4117s # static GDBusInterfaceVTable * 4117s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4117s # { 4117s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 4117s # } 4117s # 4117s # static GVariant * 4117s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4117s # { 4117s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 4117s # 4117s # GVariantBuilder builder; 4117s # guint n; 4117s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4117s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 4117s # goto out; 4117s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 4117s # { 4117s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 4117s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4117s # { 4117s # GVariant *value; 4117s # 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); 4117s # if (value != NULL) 4117s # { 4117s # g_variant_take_ref (value); 4117s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4117s # g_variant_unref (value); 4117s # } 4117s # } 4117s # } 4117s # out: 4117s # return g_variant_builder_end (&builder); 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4117s # { 4117s # } 4117s # 4117s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 4117s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4117s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4117s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 4117s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 4117s # 4117s # #else 4117s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4117s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 4117s # 4117s # #endif 4117s # static void 4117s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 4117s # { 4117s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 4117s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4117s # if (skeleton->priv->changed_properties_idle_source != NULL) 4117s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4117s # g_main_context_unref (skeleton->priv->context); 4117s # g_mutex_clear (&skeleton->priv->lock); 4117s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 4117s # { 4117s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4117s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 4117s # #else 4117s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 4117s # #endif 4117s # 4117s # g_mutex_init (&skeleton->priv->lock); 4117s # skeleton->priv->context = g_main_context_ref_thread_default (); 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 4117s # { 4117s # GObjectClass *gobject_class; 4117s # GDBusInterfaceSkeletonClass *skeleton_class; 4117s # 4117s # gobject_class = G_OBJECT_CLASS (klass); 4117s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 4117s # 4117s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4117s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 4117s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 4117s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 4117s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 4117s # 4117s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4117s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 4117s # #endif 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 4117s # { 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_skeleton_new: 4117s # * 4117s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 4117s # * 4117s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 4117s # */ 4117s # OrgProjectBarFrobnicator * 4117s # org_project_bar_frobnicator_skeleton_new (void) 4117s # { 4117s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 4117s # } 4117s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7llos1dw/tmpoz8hr_392.xml', '/tmp/tmp7llos1dw/tmp0wxwcdut1.xml', '--output', '-', '--body'] 4117s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4117s # Output: /* 4117s # * This file is generated by gdbus-codegen, do not modify it. 4117s # * 4117s # * The license of this code is the same as for the D-Bus interface description 4117s # * it was derived from. Note that it links to GLib, so must comply with the 4117s # * LGPL linking clauses. 4117s # */ 4117s # 4117s # #ifdef HAVE_CONFIG_H 4117s # # include "config.h" 4117s # #endif 4117s # 4117s # #include 4117s # #ifdef G_OS_UNIX 4117s # # include 4117s # #endif 4117s # 4117s # #ifdef G_ENABLE_DEBUG 4117s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 4117s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 4117s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 4117s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 4117s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 4117s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 4117s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 4117s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 4117s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 4117s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 4117s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 4117s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 4117s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 4117s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 4117s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 4117s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 4117s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 4117s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 4117s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 4117s # #else /* !G_ENABLE_DEBUG */ 4117s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 4117s # * Do not access GValues directly in your code. Instead, use the 4117s # * g_value_get_*() functions 4117s # */ 4117s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 4117s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 4117s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 4117s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 4117s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 4117s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 4117s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 4117s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 4117s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 4117s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 4117s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 4117s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 4117s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 4117s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 4117s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 4117s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 4117s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 4117s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 4117s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 4117s # #endif /* !G_ENABLE_DEBUG */ 4117s # 4117s # typedef struct 4117s # { 4117s # GDBusArgInfo parent_struct; 4117s # gboolean use_gvariant; 4117s # } _ExtendedGDBusArgInfo; 4117s # 4117s # typedef struct 4117s # { 4117s # GDBusMethodInfo parent_struct; 4117s # const gchar *signal_name; 4117s # gboolean pass_fdlist; 4117s # } _ExtendedGDBusMethodInfo; 4117s # 4117s # typedef struct 4117s # { 4117s # GDBusSignalInfo parent_struct; 4117s # const gchar *signal_name; 4117s # } _ExtendedGDBusSignalInfo; 4117s # 4117s # typedef struct 4117s # { 4117s # GDBusPropertyInfo parent_struct; 4117s # const gchar *hyphen_name; 4117s # guint use_gvariant : 1; 4117s # guint emits_changed_signal : 1; 4117s # } _ExtendedGDBusPropertyInfo; 4117s # 4117s # typedef struct 4117s # { 4117s # GDBusInterfaceInfo parent_struct; 4117s # const gchar *hyphen_name; 4117s # } _ExtendedGDBusInterfaceInfo; 4117s # 4117s # typedef struct 4117s # { 4117s # const _ExtendedGDBusPropertyInfo *info; 4117s # guint prop_id; 4117s # GValue orig_value; /* the value before the change */ 4117s # } ChangedProperty; 4117s # 4117s # static void 4117s # _changed_property_free (ChangedProperty *data) 4117s # { 4117s # g_value_unset (&data->orig_value); 4117s # g_free (data); 4117s # } 4117s # 4117s # static gboolean 4117s # _g_strv_equal0 (gchar **a, gchar **b) 4117s # { 4117s # gboolean ret = FALSE; 4117s # guint n; 4117s # if (a == NULL && b == NULL) 4117s # { 4117s # ret = TRUE; 4117s # goto out; 4117s # } 4117s # if (a == NULL || b == NULL) 4117s # goto out; 4117s # if (g_strv_length (a) != g_strv_length (b)) 4117s # goto out; 4117s # for (n = 0; a[n] != NULL; n++) 4117s # if (g_strcmp0 (a[n], b[n]) != 0) 4117s # goto out; 4117s # ret = TRUE; 4117s # out: 4117s # return ret; 4117s # } 4117s # 4117s # static gboolean 4117s # _g_variant_equal0 (GVariant *a, GVariant *b) 4117s # { 4117s # gboolean ret = FALSE; 4117s # if (a == NULL && b == NULL) 4117s # { 4117s # ret = TRUE; 4117s # goto out; 4117s # } 4117s # if (a == NULL || b == NULL) 4117s # goto out; 4117s # ret = g_variant_equal (a, b); 4117s # out: 4117s # return ret; 4117s # } 4117s # 4117s # G_GNUC_UNUSED static gboolean 4117s # _g_value_equal (const GValue *a, const GValue *b) 4117s # { 4117s # gboolean ret = FALSE; 4117s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 4117s # switch (G_VALUE_TYPE (a)) 4117s # { 4117s # case G_TYPE_BOOLEAN: 4117s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 4117s # break; 4117s # case G_TYPE_UCHAR: 4117s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 4117s # break; 4117s # case G_TYPE_INT: 4117s # ret = (g_value_get_int (a) == g_value_get_int (b)); 4117s # break; 4117s # case G_TYPE_UINT: 4117s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 4117s # break; 4117s # case G_TYPE_INT64: 4117s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 4117s # break; 4117s # case G_TYPE_UINT64: 4117s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 4117s # break; 4117s # case G_TYPE_DOUBLE: 4117s # { 4117s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 4117s # gdouble da = g_value_get_double (a); 4117s # gdouble db = g_value_get_double (b); 4117s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 4117s # } 4117s # break; 4117s # case G_TYPE_STRING: 4117s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 4117s # break; 4117s # case G_TYPE_VARIANT: 4117s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 4117s # break; 4117s # default: 4117s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 4117s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 4117s # else 4117s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 4117s # break; 4117s # } 4117s # return ret; 4117s # } 4117s # 4117s # static void 4117s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 4117s # GClosure *closure, 4117s # GValue *return_value, 4117s # unsigned int n_param_values, 4117s # const GValue *param_values, 4117s # void *invocation_hint G_GNUC_UNUSED, 4117s # void *marshal_data) 4117s # { 4117s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 4117s # (void *data1, 4117s # GDBusMethodInvocation *arg_method_invocation, 4117s # void *data2); 4117s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 4117s # GCClosure *cc = (GCClosure*) closure; 4117s # void *data1, *data2; 4117s # gboolean v_return; 4117s # 4117s # g_return_if_fail (return_value != NULL); 4117s # g_return_if_fail (n_param_values == 2); 4117s # 4117s # if (G_CCLOSURE_SWAP_DATA (closure)) 4117s # { 4117s # data1 = closure->data; 4117s # data2 = g_value_peek_pointer (param_values + 0); 4117s # } 4117s # else 4117s # { 4117s # data1 = g_value_peek_pointer (param_values + 0); 4117s # data2 = closure->data; 4117s # } 4117s # 4117s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 4117s # (marshal_data ? marshal_data : cc->callback); 4117s # 4117s # v_return = 4117s # callback (data1, 4117s # g_marshal_value_peek_object (param_values + 1), 4117s # data2); 4117s # 4117s # g_value_set_boolean (return_value, v_return); 4117s # } 4117s # 4117s # /* ------------------------------------------------------------------------ 4117s # * Code for interface com.acme.Coyote 4117s # * ------------------------------------------------------------------------ 4117s # */ 4117s # 4117s # /** 4117s # * SECTION:ComAcmeCoyote 4117s # * @title: ComAcmeCoyote 4117s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 4117s # * 4117s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 4117s # */ 4117s # 4117s # enum 4117s # { 4117s # _COM_ACME_COYOTE_SURPRISED, 4117s # }; 4117s # 4117s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 4117s # 4117s # /* ---- Introspection data for com.acme.Coyote ---- */ 4117s # 4117s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 4117s # { 4117s # { 4117s # -1, 4117s # (gchar *) "Run", 4117s # NULL, 4117s # NULL, 4117s # NULL 4117s # }, 4117s # "handle-run", 4117s # FALSE 4117s # }; 4117s # 4117s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 4117s # { 4117s # { 4117s # -1, 4117s # (gchar *) "Sleep", 4117s # NULL, 4117s # NULL, 4117s # NULL 4117s # }, 4117s # "handle-sleep", 4117s # FALSE 4117s # }; 4117s # 4117s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 4117s # { 4117s # { 4117s # -1, 4117s # (gchar *) "Attack", 4117s # NULL, 4117s # NULL, 4117s # NULL 4117s # }, 4117s # "handle-attack", 4117s # FALSE 4117s # }; 4117s # 4117s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 4117s # { 4117s # &_com_acme_coyote_method_info_run.parent_struct, 4117s # &_com_acme_coyote_method_info_sleep.parent_struct, 4117s # &_com_acme_coyote_method_info_attack.parent_struct, 4117s # NULL 4117s # }; 4117s # 4117s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 4117s # { 4117s # { 4117s # -1, 4117s # (gchar *) "Surprised", 4117s # NULL, 4117s # NULL 4117s # }, 4117s # "surprised" 4117s # }; 4117s # 4117s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 4117s # { 4117s # &_com_acme_coyote_signal_info_surprised.parent_struct, 4117s # NULL 4117s # }; 4117s # 4117s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 4117s # { 4117s # { 4117s # -1, 4117s # (gchar *) "Mood", 4117s # (gchar *) "s", 4117s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 4117s # NULL 4117s # }, 4117s # "mood", 4117s # FALSE, 4117s # TRUE 4117s # }; 4117s # 4117s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 4117s # { 4117s # &_com_acme_coyote_property_info_mood.parent_struct, 4117s # NULL 4117s # }; 4117s # 4117s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 4117s # { 4117s # { 4117s # -1, 4117s # (gchar *) "com.acme.Coyote", 4117s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 4117s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 4117s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 4117s # NULL 4117s # }, 4117s # "com-acme-coyote", 4117s # }; 4117s # 4117s # 4117s # /** 4117s # * com_acme_coyote_interface_info: 4117s # * 4117s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 4117s # * 4117s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4117s # */ 4117s # GDBusInterfaceInfo * 4117s # com_acme_coyote_interface_info (void) 4117s # { 4117s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_override_properties: 4117s # * @klass: The class structure for a #GObject derived class. 4117s # * @property_id_begin: The property id to assign to the first overridden property. 4117s # * 4117s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 4117s # * The properties are overridden in the order they are defined. 4117s # * 4117s # * Returns: The last property id. 4117s # */ 4117s # guint 4117s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 4117s # { 4117s # g_object_class_override_property (klass, property_id_begin++, "mood"); 4117s # return property_id_begin - 1; 4117s # } 4117s # 4117s # 4117s # inline static void 4117s # com_acme_coyote_signal_marshal_surprised ( 4117s # GClosure *closure, 4117s # GValue *return_value, 4117s # unsigned int n_param_values, 4117s # const GValue *param_values, 4117s # void *invocation_hint, 4117s # void *marshal_data) 4117s # { 4117s # g_cclosure_marshal_VOID__VOID (closure, 4117s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4117s # } 4117s # 4117s # inline static void 4117s # com_acme_coyote_method_marshal_run ( 4117s # GClosure *closure, 4117s # GValue *return_value, 4117s # unsigned int n_param_values, 4117s # const GValue *param_values, 4117s # void *invocation_hint, 4117s # void *marshal_data) 4117s # { 4117s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4117s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4117s # } 4117s # 4117s # inline static void 4117s # com_acme_coyote_method_marshal_sleep ( 4117s # GClosure *closure, 4117s # GValue *return_value, 4117s # unsigned int n_param_values, 4117s # const GValue *param_values, 4117s # void *invocation_hint, 4117s # void *marshal_data) 4117s # { 4117s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4117s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4117s # } 4117s # 4117s # inline static void 4117s # com_acme_coyote_method_marshal_attack ( 4117s # GClosure *closure, 4117s # GValue *return_value, 4117s # unsigned int n_param_values, 4117s # const GValue *param_values, 4117s # void *invocation_hint, 4117s # void *marshal_data) 4117s # { 4117s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4117s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4117s # } 4117s # 4117s # 4117s # /** 4117s # * ComAcmeCoyote: 4117s # * 4117s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 4117s # */ 4117s # 4117s # /** 4117s # * ComAcmeCoyoteIface: 4117s # * @parent_iface: The parent interface. 4117s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 4117s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 4117s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 4117s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 4117s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 4117s # * 4117s # * Virtual table for the D-Bus interface com.acme.Coyote. 4117s # */ 4117s # 4117s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 4117s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 4117s # 4117s # static void 4117s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 4117s # { 4117s # /* GObject signals for incoming D-Bus method calls: */ 4117s # /** 4117s # * ComAcmeCoyote::handle-run: 4117s # * @object: A #ComAcmeCoyote. 4117s # * @invocation: A #GDBusMethodInvocation. 4117s # * 4117s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 4117s # * 4117s # * 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. 4117s # * 4117s # * 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. 4117s # */ 4117s # g_signal_new ("handle-run", 4117s # G_TYPE_FROM_INTERFACE (iface), 4117s # G_SIGNAL_RUN_LAST, 4117s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 4117s # g_signal_accumulator_true_handled, 4117s # NULL, 4117s # com_acme_coyote_method_marshal_run, 4117s # G_TYPE_BOOLEAN, 4117s # 1, 4117s # G_TYPE_DBUS_METHOD_INVOCATION); 4117s # 4117s # /** 4117s # * ComAcmeCoyote::handle-sleep: 4117s # * @object: A #ComAcmeCoyote. 4117s # * @invocation: A #GDBusMethodInvocation. 4117s # * 4117s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 4117s # * 4117s # * 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. 4117s # * 4117s # * 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. 4117s # */ 4117s # g_signal_new ("handle-sleep", 4117s # G_TYPE_FROM_INTERFACE (iface), 4117s # G_SIGNAL_RUN_LAST, 4117s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 4117s # g_signal_accumulator_true_handled, 4117s # NULL, 4117s # com_acme_coyote_method_marshal_sleep, 4117s # G_TYPE_BOOLEAN, 4117s # 1, 4117s # G_TYPE_DBUS_METHOD_INVOCATION); 4117s # 4117s # /** 4117s # * ComAcmeCoyote::handle-attack: 4117s # * @object: A #ComAcmeCoyote. 4117s # * @invocation: A #GDBusMethodInvocation. 4117s # * 4117s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 4117s # * 4117s # * 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. 4117s # * 4117s # * 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. 4117s # */ 4117s # g_signal_new ("handle-attack", 4117s # G_TYPE_FROM_INTERFACE (iface), 4117s # G_SIGNAL_RUN_LAST, 4117s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 4117s # g_signal_accumulator_true_handled, 4117s # NULL, 4117s # com_acme_coyote_method_marshal_attack, 4117s # G_TYPE_BOOLEAN, 4117s # 1, 4117s # G_TYPE_DBUS_METHOD_INVOCATION); 4117s # 4117s # /* GObject signals for received D-Bus signals: */ 4117s # /** 4117s # * ComAcmeCoyote::surprised: 4117s # * @object: A #ComAcmeCoyote. 4117s # * 4117s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 4117s # * 4117s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 4117s # */ 4117s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 4117s # g_signal_new ("surprised", 4117s # G_TYPE_FROM_INTERFACE (iface), 4117s # G_SIGNAL_RUN_LAST, 4117s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 4117s # NULL, 4117s # NULL, 4117s # com_acme_coyote_signal_marshal_surprised, 4117s # G_TYPE_NONE, 4117s # 0); 4117s # 4117s # /* GObject properties for D-Bus properties: */ 4117s # /** 4117s # * ComAcmeCoyote:mood: 4117s # * 4117s # * Represents the D-Bus property "Mood". 4117s # * 4117s # * 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. 4117s # */ 4117s # g_object_interface_install_property (iface, 4117s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_get_mood: (skip) 4117s # * @object: A #ComAcmeCoyote. 4117s # * 4117s # * Gets the value of the "Mood" D-Bus property. 4117s # * 4117s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 4117s # * 4117s # * 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. 4117s # * 4117s # * 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. 4117s # */ 4117s # const gchar * 4117s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 4117s # { 4117s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 4117s # 4117s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_dup_mood: (skip) 4117s # * @object: A #ComAcmeCoyote. 4117s # * 4117s # * Gets a copy of the "Mood" D-Bus property. 4117s # * 4117s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 4117s # * 4117s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 4117s # */ 4117s # gchar * 4117s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 4117s # { 4117s # gchar *value; 4117s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 4117s # return value; 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_set_mood: (skip) 4117s # * @object: A #ComAcmeCoyote. 4117s # * @value: The value to set. 4117s # * 4117s # * Sets the "Mood" D-Bus property to @value. 4117s # * 4117s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 4117s # */ 4117s # void 4117s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 4117s # { 4117s # g_object_set (G_OBJECT (object), "mood", value, NULL); 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_emit_surprised: 4117s # * @object: A #ComAcmeCoyote. 4117s # * 4117s # * Emits the "Surprised" D-Bus signal. 4117s # */ 4117s # void 4117s # com_acme_coyote_emit_surprised ( 4117s # ComAcmeCoyote *object) 4117s # { 4117s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_call_run: 4117s # * @proxy: A #ComAcmeCoyoteProxy. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4117s # * @user_data: User data to pass to @callback. 4117s # * 4117s # * Asynchronously invokes the Run() D-Bus method on @proxy. 4117s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4117s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 4117s # * 4117s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 4117s # */ 4117s # void 4117s # com_acme_coyote_call_run ( 4117s # ComAcmeCoyote *proxy, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data) 4117s # { 4117s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4117s # "Run", 4117s # g_variant_new ("()"), 4117s # G_DBUS_CALL_FLAGS_NONE, 4117s # -1, 4117s # cancellable, 4117s # callback, 4117s # user_data); 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_call_run_finish: 4117s # * @proxy: A #ComAcmeCoyoteProxy. 4117s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 4117s # * @error: Return location for error or %NULL. 4117s # * 4117s # * Finishes an operation started with com_acme_coyote_call_run(). 4117s # * 4117s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4117s # */ 4117s # gboolean 4117s # com_acme_coyote_call_run_finish ( 4117s # ComAcmeCoyote *proxy, 4117s # GAsyncResult *res, 4117s # GError **error) 4117s # { 4117s # GVariant *_ret; 4117s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4117s # if (_ret == NULL) 4117s # goto _out; 4117s # g_variant_get (_ret, 4117s # "()"); 4117s # g_variant_unref (_ret); 4117s # _out: 4117s # return _ret != NULL; 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_call_run_sync: 4117s # * @proxy: A #ComAcmeCoyoteProxy. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @error: Return location for error or %NULL. 4117s # * 4117s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4117s # * 4117s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 4117s # * 4117s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4117s # */ 4117s # gboolean 4117s # com_acme_coyote_call_run_sync ( 4117s # ComAcmeCoyote *proxy, 4117s # GCancellable *cancellable, 4117s # GError **error) 4117s # { 4117s # GVariant *_ret; 4117s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4117s # "Run", 4117s # g_variant_new ("()"), 4117s # G_DBUS_CALL_FLAGS_NONE, 4117s # -1, 4117s # cancellable, 4117s # error); 4117s # if (_ret == NULL) 4117s # goto _out; 4117s # g_variant_get (_ret, 4117s # "()"); 4117s # g_variant_unref (_ret); 4117s # _out: 4117s # return _ret != NULL; 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_call_sleep: 4117s # * @proxy: A #ComAcmeCoyoteProxy. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4117s # * @user_data: User data to pass to @callback. 4117s # * 4117s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 4117s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4117s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 4117s # * 4117s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 4117s # */ 4117s # void 4117s # com_acme_coyote_call_sleep ( 4117s # ComAcmeCoyote *proxy, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data) 4117s # { 4117s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4117s # "Sleep", 4117s # g_variant_new ("()"), 4117s # G_DBUS_CALL_FLAGS_NONE, 4117s # -1, 4117s # cancellable, 4117s # callback, 4117s # user_data); 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_call_sleep_finish: 4117s # * @proxy: A #ComAcmeCoyoteProxy. 4117s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 4117s # * @error: Return location for error or %NULL. 4117s # * 4117s # * Finishes an operation started with com_acme_coyote_call_sleep(). 4117s # * 4117s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4117s # */ 4117s # gboolean 4117s # com_acme_coyote_call_sleep_finish ( 4117s # ComAcmeCoyote *proxy, 4117s # GAsyncResult *res, 4117s # GError **error) 4117s # { 4117s # GVariant *_ret; 4117s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4117s # if (_ret == NULL) 4117s # goto _out; 4117s # g_variant_get (_ret, 4117s # "()"); 4117s # g_variant_unref (_ret); 4117s # _out: 4117s # return _ret != NULL; 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_call_sleep_sync: 4117s # * @proxy: A #ComAcmeCoyoteProxy. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @error: Return location for error or %NULL. 4117s # * 4117s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4117s # * 4117s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 4117s # * 4117s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4117s # */ 4117s # gboolean 4117s # com_acme_coyote_call_sleep_sync ( 4117s # ComAcmeCoyote *proxy, 4117s # GCancellable *cancellable, 4117s # GError **error) 4117s # { 4117s # GVariant *_ret; 4117s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4117s # "Sleep", 4117s # g_variant_new ("()"), 4117s # G_DBUS_CALL_FLAGS_NONE, 4117s # -1, 4117s # cancellable, 4117s # error); 4117s # if (_ret == NULL) 4117s # goto _out; 4117s # g_variant_get (_ret, 4117s # "()"); 4117s # g_variant_unref (_ret); 4117s # _out: 4117s # return _ret != NULL; 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_call_attack: 4117s # * @proxy: A #ComAcmeCoyoteProxy. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4117s # * @user_data: User data to pass to @callback. 4117s # * 4117s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 4117s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4117s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 4117s # * 4117s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 4117s # */ 4117s # void 4117s # com_acme_coyote_call_attack ( 4117s # ComAcmeCoyote *proxy, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data) 4117s # { 4117s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4117s # "Attack", 4117s # g_variant_new ("()"), 4117s # G_DBUS_CALL_FLAGS_NONE, 4117s # -1, 4117s # cancellable, 4117s # callback, 4117s # user_data); 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_call_attack_finish: 4117s # * @proxy: A #ComAcmeCoyoteProxy. 4117s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 4117s # * @error: Return location for error or %NULL. 4117s # * 4117s # * Finishes an operation started with com_acme_coyote_call_attack(). 4117s # * 4117s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4117s # */ 4117s # gboolean 4117s # com_acme_coyote_call_attack_finish ( 4117s # ComAcmeCoyote *proxy, 4117s # GAsyncResult *res, 4117s # GError **error) 4117s # { 4117s # GVariant *_ret; 4117s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4117s # if (_ret == NULL) 4117s # goto _out; 4117s # g_variant_get (_ret, 4117s # "()"); 4117s # g_variant_unref (_ret); 4117s # _out: 4117s # return _ret != NULL; 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_call_attack_sync: 4117s # * @proxy: A #ComAcmeCoyoteProxy. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @error: Return location for error or %NULL. 4117s # * 4117s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4117s # * 4117s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 4117s # * 4117s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4117s # */ 4117s # gboolean 4117s # com_acme_coyote_call_attack_sync ( 4117s # ComAcmeCoyote *proxy, 4117s # GCancellable *cancellable, 4117s # GError **error) 4117s # { 4117s # GVariant *_ret; 4117s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4117s # "Attack", 4117s # g_variant_new ("()"), 4117s # G_DBUS_CALL_FLAGS_NONE, 4117s # -1, 4117s # cancellable, 4117s # error); 4117s # if (_ret == NULL) 4117s # goto _out; 4117s # g_variant_get (_ret, 4117s # "()"); 4117s # g_variant_unref (_ret); 4117s # _out: 4117s # return _ret != NULL; 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_complete_run: 4117s # * @object: A #ComAcmeCoyote. 4117s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4117s # * 4117s # * 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. 4117s # * 4117s # * This method will free @invocation, you cannot use it afterwards. 4117s # */ 4117s # void 4117s # com_acme_coyote_complete_run ( 4117s # ComAcmeCoyote *object G_GNUC_UNUSED, 4117s # GDBusMethodInvocation *invocation) 4117s # { 4117s # g_dbus_method_invocation_return_value (invocation, 4117s # g_variant_new ("()")); 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_complete_sleep: 4117s # * @object: A #ComAcmeCoyote. 4117s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4117s # * 4117s # * 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. 4117s # * 4117s # * This method will free @invocation, you cannot use it afterwards. 4117s # */ 4117s # void 4117s # com_acme_coyote_complete_sleep ( 4117s # ComAcmeCoyote *object G_GNUC_UNUSED, 4117s # GDBusMethodInvocation *invocation) 4117s # { 4117s # g_dbus_method_invocation_return_value (invocation, 4117s # g_variant_new ("()")); 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_complete_attack: 4117s # * @object: A #ComAcmeCoyote. 4117s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4117s # * 4117s # * 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. 4117s # * 4117s # * This method will free @invocation, you cannot use it afterwards. 4117s # */ 4117s # void 4117s # com_acme_coyote_complete_attack ( 4117s # ComAcmeCoyote *object G_GNUC_UNUSED, 4117s # GDBusMethodInvocation *invocation) 4117s # { 4117s # g_dbus_method_invocation_return_value (invocation, 4117s # g_variant_new ("()")); 4117s # } 4117s # 4117s # /* ------------------------------------------------------------------------ */ 4117s # 4117s # /** 4117s # * ComAcmeCoyoteProxy: 4117s # * 4117s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 4117s # */ 4117s # 4117s # /** 4117s # * ComAcmeCoyoteProxyClass: 4117s # * @parent_class: The parent class. 4117s # * 4117s # * Class structure for #ComAcmeCoyoteProxy. 4117s # */ 4117s # 4117s # struct _ComAcmeCoyoteProxyPrivate 4117s # { 4117s # GData *qdata; 4117s # }; 4117s # 4117s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 4117s # 4117s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4117s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 4117s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 4117s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 4117s # 4117s # #else 4117s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 4117s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 4117s # 4117s # #endif 4117s # static void 4117s # com_acme_coyote_proxy_finalize (GObject *object) 4117s # { 4117s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 4117s # g_datalist_clear (&proxy->priv->qdata); 4117s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_proxy_get_property (GObject *object, 4117s # guint prop_id, 4117s # GValue *value, 4117s # GParamSpec *pspec G_GNUC_UNUSED) 4117s # { 4117s # const _ExtendedGDBusPropertyInfo *info; 4117s # GVariant *variant; 4117s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4117s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 4117s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 4117s # if (info->use_gvariant) 4117s # { 4117s # g_value_set_variant (value, variant); 4117s # } 4117s # else 4117s # { 4117s # if (variant != NULL) 4117s # g_dbus_gvariant_to_gvalue (variant, value); 4117s # } 4117s # if (variant != NULL) 4117s # g_variant_unref (variant); 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 4117s # GAsyncResult *res, 4117s # gpointer user_data) 4117s # { 4117s # const _ExtendedGDBusPropertyInfo *info = user_data; 4117s # GError *error; 4117s # GVariant *_ret; 4117s # error = NULL; 4117s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 4117s # if (!_ret) 4117s # { 4117s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 4117s # info->parent_struct.name, 4117s # error->message, g_quark_to_string (error->domain), error->code); 4117s # g_error_free (error); 4117s # } 4117s # else 4117s # { 4117s # g_variant_unref (_ret); 4117s # } 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_proxy_set_property (GObject *object, 4117s # guint prop_id, 4117s # const GValue *value, 4117s # GParamSpec *pspec G_GNUC_UNUSED) 4117s # { 4117s # const _ExtendedGDBusPropertyInfo *info; 4117s # GVariant *variant; 4117s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4117s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 4117s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 4117s # g_dbus_proxy_call (G_DBUS_PROXY (object), 4117s # "org.freedesktop.DBus.Properties.Set", 4117s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 4117s # G_DBUS_CALL_FLAGS_NONE, 4117s # -1, 4117s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 4117s # g_variant_unref (variant); 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 4117s # const gchar *sender_name G_GNUC_UNUSED, 4117s # const gchar *signal_name, 4117s # GVariant *parameters) 4117s # { 4117s # _ExtendedGDBusSignalInfo *info; 4117s # GVariantIter iter; 4117s # GVariant *child; 4117s # GValue *paramv; 4117s # gsize num_params; 4117s # gsize n; 4117s # guint signal_id; 4117s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 4117s # if (info == NULL) 4117s # return; 4117s # num_params = g_variant_n_children (parameters); 4117s # paramv = g_new0 (GValue, num_params + 1); 4117s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 4117s # g_value_set_object (¶mv[0], proxy); 4117s # g_variant_iter_init (&iter, parameters); 4117s # n = 1; 4117s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4117s # { 4117s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4117s # if (arg_info->use_gvariant) 4117s # { 4117s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4117s # g_value_set_variant (¶mv[n], child); 4117s # n++; 4117s # } 4117s # else 4117s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4117s # g_variant_unref (child); 4117s # } 4117s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 4117s # g_signal_emitv (paramv, signal_id, 0, NULL); 4117s # for (n = 0; n < num_params + 1; n++) 4117s # g_value_unset (¶mv[n]); 4117s # g_free (paramv); 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 4117s # GVariant *changed_properties, 4117s # const gchar *const *invalidated_properties) 4117s # { 4117s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 4117s # guint n; 4117s # const gchar *key; 4117s # GVariantIter *iter; 4117s # _ExtendedGDBusPropertyInfo *info; 4117s # g_variant_get (changed_properties, "a{sv}", &iter); 4117s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4117s # { 4117s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 4117s # g_datalist_remove_data (&proxy->priv->qdata, key); 4117s # if (info != NULL) 4117s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4117s # } 4117s # g_variant_iter_free (iter); 4117s # for (n = 0; invalidated_properties[n] != NULL; n++) 4117s # { 4117s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 4117s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4117s # if (info != NULL) 4117s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4117s # } 4117s # } 4117s # 4117s # static const gchar * 4117s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 4117s # { 4117s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 4117s # GVariant *variant; 4117s # const gchar *value = NULL; 4117s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 4117s # if (variant != NULL) 4117s # { 4117s # value = g_variant_get_string (variant, NULL); 4117s # g_variant_unref (variant); 4117s # } 4117s # return value; 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 4117s # { 4117s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4117s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 4117s # #else 4117s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 4117s # #endif 4117s # 4117s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 4117s # { 4117s # GObjectClass *gobject_class; 4117s # GDBusProxyClass *proxy_class; 4117s # 4117s # gobject_class = G_OBJECT_CLASS (klass); 4117s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 4117s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 4117s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 4117s # 4117s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4117s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 4117s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 4117s # 4117s # com_acme_coyote_override_properties (gobject_class, 1); 4117s # 4117s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4117s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 4117s # #endif 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 4117s # { 4117s # iface->get_mood = com_acme_coyote_proxy_get_mood; 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_proxy_new: 4117s # * @connection: A #GDBusConnection. 4117s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4117s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4117s # * @object_path: An object path. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4117s # * @user_data: User data to pass to @callback. 4117s # * 4117s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 4117s # * 4117s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4117s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 4117s # * 4117s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 4117s # */ 4117s # void 4117s # com_acme_coyote_proxy_new ( 4117s # GDBusConnection *connection, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data) 4117s # { 4117s # 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); 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_proxy_new_finish: 4117s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 4117s # * @error: Return location for error or %NULL 4117s # * 4117s # * Finishes an operation started with com_acme_coyote_proxy_new(). 4117s # * 4117s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 4117s # */ 4117s # ComAcmeCoyote * 4117s # com_acme_coyote_proxy_new_finish ( 4117s # GAsyncResult *res, 4117s # GError **error) 4117s # { 4117s # GObject *ret; 4117s # GObject *source_object; 4117s # source_object = g_async_result_get_source_object (res); 4117s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4117s # g_object_unref (source_object); 4117s # if (ret != NULL) 4117s # return COM_ACME_COYOTE (ret); 4117s # else 4117s # return NULL; 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_proxy_new_sync: 4117s # * @connection: A #GDBusConnection. 4117s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4117s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4117s # * @object_path: An object path. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @error: Return location for error or %NULL 4117s # * 4117s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 4117s # * 4117s # * The calling thread is blocked until a reply is received. 4117s # * 4117s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 4117s # * 4117s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 4117s # */ 4117s # ComAcmeCoyote * 4117s # com_acme_coyote_proxy_new_sync ( 4117s # GDBusConnection *connection, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GError **error) 4117s # { 4117s # GInitable *ret; 4117s # 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); 4117s # if (ret != NULL) 4117s # return COM_ACME_COYOTE (ret); 4117s # else 4117s # return NULL; 4117s # } 4117s # 4117s # 4117s # /** 4117s # * com_acme_coyote_proxy_new_for_bus: 4117s # * @bus_type: A #GBusType. 4117s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4117s # * @name: A bus name (well-known or unique). 4117s # * @object_path: An object path. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4117s # * @user_data: User data to pass to @callback. 4117s # * 4117s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4117s # * 4117s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4117s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 4117s # * 4117s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4117s # */ 4117s # void 4117s # com_acme_coyote_proxy_new_for_bus ( 4117s # GBusType bus_type, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data) 4117s # { 4117s # 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); 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_proxy_new_for_bus_finish: 4117s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 4117s # * @error: Return location for error or %NULL 4117s # * 4117s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 4117s # * 4117s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 4117s # */ 4117s # ComAcmeCoyote * 4117s # com_acme_coyote_proxy_new_for_bus_finish ( 4117s # GAsyncResult *res, 4117s # GError **error) 4117s # { 4117s # GObject *ret; 4117s # GObject *source_object; 4117s # source_object = g_async_result_get_source_object (res); 4117s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4117s # g_object_unref (source_object); 4117s # if (ret != NULL) 4117s # return COM_ACME_COYOTE (ret); 4117s # else 4117s # return NULL; 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_proxy_new_for_bus_sync: 4117s # * @bus_type: A #GBusType. 4117s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4117s # * @name: A bus name (well-known or unique). 4117s # * @object_path: An object path. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @error: Return location for error or %NULL 4117s # * 4117s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4117s # * 4117s # * The calling thread is blocked until a reply is received. 4117s # * 4117s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 4117s # * 4117s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 4117s # */ 4117s # ComAcmeCoyote * 4117s # com_acme_coyote_proxy_new_for_bus_sync ( 4117s # GBusType bus_type, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GError **error) 4117s # { 4117s # GInitable *ret; 4117s # 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); 4117s # if (ret != NULL) 4117s # return COM_ACME_COYOTE (ret); 4117s # else 4117s # return NULL; 4117s # } 4117s # 4117s # 4117s # /* ------------------------------------------------------------------------ */ 4117s # 4117s # /** 4117s # * ComAcmeCoyoteSkeleton: 4117s # * 4117s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 4117s # */ 4117s # 4117s # /** 4117s # * ComAcmeCoyoteSkeletonClass: 4117s # * @parent_class: The parent class. 4117s # * 4117s # * Class structure for #ComAcmeCoyoteSkeleton. 4117s # */ 4117s # 4117s # struct _ComAcmeCoyoteSkeletonPrivate 4117s # { 4117s # GValue *properties; 4117s # GList *changed_properties; 4117s # GSource *changed_properties_idle_source; 4117s # GMainContext *context; 4117s # GMutex lock; 4117s # }; 4117s # 4117s # static void 4117s # _com_acme_coyote_skeleton_handle_method_call ( 4117s # GDBusConnection *connection G_GNUC_UNUSED, 4117s # const gchar *sender G_GNUC_UNUSED, 4117s # const gchar *object_path G_GNUC_UNUSED, 4117s # const gchar *interface_name, 4117s # const gchar *method_name, 4117s # GVariant *parameters, 4117s # GDBusMethodInvocation *invocation, 4117s # gpointer user_data) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 4117s # _ExtendedGDBusMethodInfo *info; 4117s # GVariantIter iter; 4117s # GVariant *child; 4117s # GValue *paramv; 4117s # gsize num_params; 4117s # guint num_extra; 4117s # gsize n; 4117s # guint signal_id; 4117s # GValue return_value = G_VALUE_INIT; 4117s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4117s # g_assert (info != NULL); 4117s # num_params = g_variant_n_children (parameters); 4117s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4117s # n = 0; 4117s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 4117s # g_value_set_object (¶mv[n++], skeleton); 4117s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4117s # g_value_set_object (¶mv[n++], invocation); 4117s # if (info->pass_fdlist) 4117s # { 4117s # #ifdef G_OS_UNIX 4117s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4117s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4117s # #else 4117s # g_assert_not_reached (); 4117s # #endif 4117s # } 4117s # g_variant_iter_init (&iter, parameters); 4117s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4117s # { 4117s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4117s # if (arg_info->use_gvariant) 4117s # { 4117s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4117s # g_value_set_variant (¶mv[n], child); 4117s # n++; 4117s # } 4117s # else 4117s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4117s # g_variant_unref (child); 4117s # } 4117s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 4117s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4117s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4117s # if (!g_value_get_boolean (&return_value)) 4117s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4117s # g_value_unset (&return_value); 4117s # for (n = 0; n < num_params + num_extra; n++) 4117s # g_value_unset (¶mv[n]); 4117s # g_free (paramv); 4117s # } 4117s # 4117s # static GVariant * 4117s # _com_acme_coyote_skeleton_handle_get_property ( 4117s # GDBusConnection *connection G_GNUC_UNUSED, 4117s # const gchar *sender G_GNUC_UNUSED, 4117s # const gchar *object_path G_GNUC_UNUSED, 4117s # const gchar *interface_name G_GNUC_UNUSED, 4117s # const gchar *property_name, 4117s # GError **error, 4117s # gpointer user_data) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 4117s # GValue value = G_VALUE_INIT; 4117s # GParamSpec *pspec; 4117s # _ExtendedGDBusPropertyInfo *info; 4117s # GVariant *ret; 4117s # ret = NULL; 4117s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 4117s # g_assert (info != NULL); 4117s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4117s # if (pspec == NULL) 4117s # { 4117s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4117s # } 4117s # else 4117s # { 4117s # g_value_init (&value, pspec->value_type); 4117s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4117s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4117s # g_value_unset (&value); 4117s # } 4117s # return ret; 4117s # } 4117s # 4117s # static gboolean 4117s # _com_acme_coyote_skeleton_handle_set_property ( 4117s # GDBusConnection *connection G_GNUC_UNUSED, 4117s # const gchar *sender G_GNUC_UNUSED, 4117s # const gchar *object_path G_GNUC_UNUSED, 4117s # const gchar *interface_name G_GNUC_UNUSED, 4117s # const gchar *property_name, 4117s # GVariant *variant, 4117s # GError **error, 4117s # gpointer user_data) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 4117s # GValue value = G_VALUE_INIT; 4117s # GParamSpec *pspec; 4117s # _ExtendedGDBusPropertyInfo *info; 4117s # gboolean ret; 4117s # ret = FALSE; 4117s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 4117s # g_assert (info != NULL); 4117s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4117s # if (pspec == NULL) 4117s # { 4117s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4117s # } 4117s # else 4117s # { 4117s # if (info->use_gvariant) 4117s # g_value_set_variant (&value, variant); 4117s # else 4117s # g_dbus_gvariant_to_gvalue (variant, &value); 4117s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4117s # g_value_unset (&value); 4117s # ret = TRUE; 4117s # } 4117s # return ret; 4117s # } 4117s # 4117s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 4117s # { 4117s # _com_acme_coyote_skeleton_handle_method_call, 4117s # _com_acme_coyote_skeleton_handle_get_property, 4117s # _com_acme_coyote_skeleton_handle_set_property, 4117s # {NULL} 4117s # }; 4117s # 4117s # static GDBusInterfaceInfo * 4117s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4117s # { 4117s # return com_acme_coyote_interface_info (); 4117s # } 4117s # 4117s # static GDBusInterfaceVTable * 4117s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4117s # { 4117s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 4117s # } 4117s # 4117s # static GVariant * 4117s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 4117s # 4117s # GVariantBuilder builder; 4117s # guint n; 4117s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4117s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 4117s # goto out; 4117s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 4117s # { 4117s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 4117s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4117s # { 4117s # GVariant *value; 4117s # 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); 4117s # if (value != NULL) 4117s # { 4117s # g_variant_take_ref (value); 4117s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4117s # g_variant_unref (value); 4117s # } 4117s # } 4117s # } 4117s # out: 4117s # return g_variant_builder_end (&builder); 4117s # } 4117s # 4117s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 4117s # 4117s # static void 4117s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 4117s # gboolean emit_changed = FALSE; 4117s # 4117s # g_mutex_lock (&skeleton->priv->lock); 4117s # if (skeleton->priv->changed_properties_idle_source != NULL) 4117s # { 4117s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4117s # skeleton->priv->changed_properties_idle_source = NULL; 4117s # emit_changed = TRUE; 4117s # } 4117s # g_mutex_unlock (&skeleton->priv->lock); 4117s # 4117s # if (emit_changed) 4117s # _com_acme_coyote_emit_changed (skeleton); 4117s # } 4117s # 4117s # static void 4117s # _com_acme_coyote_on_signal_surprised ( 4117s # ComAcmeCoyote *object) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 4117s # 4117s # GList *connections, *l; 4117s # GVariant *signal_variant; 4117s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4117s # 4117s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 4117s # for (l = connections; l != NULL; l = l->next) 4117s # { 4117s # GDBusConnection *connection = l->data; 4117s # g_dbus_connection_emit_signal (connection, 4117s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 4117s # signal_variant, NULL); 4117s # } 4117s # g_variant_unref (signal_variant); 4117s # g_list_free_full (connections, g_object_unref); 4117s # } 4117s # 4117s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 4117s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4117s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4117s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 4117s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 4117s # 4117s # #else 4117s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4117s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 4117s # 4117s # #endif 4117s # static void 4117s # com_acme_coyote_skeleton_finalize (GObject *object) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 4117s # guint n; 4117s # for (n = 0; n < 1; n++) 4117s # g_value_unset (&skeleton->priv->properties[n]); 4117s # g_free (skeleton->priv->properties); 4117s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4117s # if (skeleton->priv->changed_properties_idle_source != NULL) 4117s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4117s # g_main_context_unref (skeleton->priv->context); 4117s # g_mutex_clear (&skeleton->priv->lock); 4117s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_skeleton_get_property (GObject *object, 4117s # guint prop_id, 4117s # GValue *value, 4117s # GParamSpec *pspec G_GNUC_UNUSED) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 4117s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4117s # g_mutex_lock (&skeleton->priv->lock); 4117s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 4117s # g_mutex_unlock (&skeleton->priv->lock); 4117s # } 4117s # 4117s # static gboolean 4117s # _com_acme_coyote_emit_changed (gpointer user_data) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 4117s # GList *l; 4117s # GVariantBuilder builder; 4117s # GVariantBuilder invalidated_builder; 4117s # guint num_changes; 4117s # 4117s # g_mutex_lock (&skeleton->priv->lock); 4117s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4117s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 4117s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 4117s # { 4117s # ChangedProperty *cp = l->data; 4117s # GVariant *variant; 4117s # const GValue *cur_value; 4117s # 4117s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 4117s # if (!_g_value_equal (cur_value, &cp->orig_value)) 4117s # { 4117s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 4117s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 4117s # g_variant_unref (variant); 4117s # num_changes++; 4117s # } 4117s # } 4117s # if (num_changes > 0) 4117s # { 4117s # GList *connections, *ll; 4117s # GVariant *signal_variant; 4117s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 4117s # &builder, &invalidated_builder)); 4117s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 4117s # for (ll = connections; ll != NULL; ll = ll->next) 4117s # { 4117s # GDBusConnection *connection = ll->data; 4117s # 4117s # g_dbus_connection_emit_signal (connection, 4117s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 4117s # "org.freedesktop.DBus.Properties", 4117s # "PropertiesChanged", 4117s # signal_variant, 4117s # NULL); 4117s # } 4117s # g_variant_unref (signal_variant); 4117s # g_list_free_full (connections, g_object_unref); 4117s # } 4117s # else 4117s # { 4117s # g_variant_builder_clear (&builder); 4117s # g_variant_builder_clear (&invalidated_builder); 4117s # } 4117s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4117s # skeleton->priv->changed_properties = NULL; 4117s # skeleton->priv->changed_properties_idle_source = NULL; 4117s # g_mutex_unlock (&skeleton->priv->lock); 4117s # return FALSE; 4117s # } 4117s # 4117s # static void 4117s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 4117s # { 4117s # ChangedProperty *cp; 4117s # GList *l; 4117s # cp = NULL; 4117s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 4117s # { 4117s # ChangedProperty *i_cp = l->data; 4117s # if (i_cp->info == info) 4117s # { 4117s # cp = i_cp; 4117s # break; 4117s # } 4117s # } 4117s # if (cp == NULL) 4117s # { 4117s # cp = g_new0 (ChangedProperty, 1); 4117s # cp->prop_id = prop_id; 4117s # cp->info = info; 4117s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 4117s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 4117s # g_value_copy (orig_value, &cp->orig_value); 4117s # } 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_skeleton_notify (GObject *object, 4117s # GParamSpec *pspec G_GNUC_UNUSED) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 4117s # g_mutex_lock (&skeleton->priv->lock); 4117s # if (skeleton->priv->changed_properties != NULL && 4117s # skeleton->priv->changed_properties_idle_source == NULL) 4117s # { 4117s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 4117s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 4117s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 4117s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 4117s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 4117s # g_source_unref (skeleton->priv->changed_properties_idle_source); 4117s # } 4117s # g_mutex_unlock (&skeleton->priv->lock); 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_skeleton_set_property (GObject *object, 4117s # guint prop_id, 4117s # const GValue *value, 4117s # GParamSpec *pspec) 4117s # { 4117s # const _ExtendedGDBusPropertyInfo *info; 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 4117s # g_assert (prop_id != 0 && prop_id - 1 < 1); 4117s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 4117s # g_mutex_lock (&skeleton->priv->lock); 4117s # g_object_freeze_notify (object); 4117s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 4117s # { 4117s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 4117s # info->emits_changed_signal) 4117s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 4117s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 4117s # g_object_notify_by_pspec (object, pspec); 4117s # } 4117s # g_mutex_unlock (&skeleton->priv->lock); 4117s # g_object_thaw_notify (object); 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 4117s # { 4117s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4117s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 4117s # #else 4117s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 4117s # #endif 4117s # 4117s # g_mutex_init (&skeleton->priv->lock); 4117s # skeleton->priv->context = g_main_context_ref_thread_default (); 4117s # skeleton->priv->properties = g_new0 (GValue, 1); 4117s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 4117s # } 4117s # 4117s # static const gchar * 4117s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 4117s # { 4117s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 4117s # const gchar *value; 4117s # g_mutex_lock (&skeleton->priv->lock); 4117s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 4117s # g_mutex_unlock (&skeleton->priv->lock); 4117s # return value; 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 4117s # { 4117s # GObjectClass *gobject_class; 4117s # GDBusInterfaceSkeletonClass *skeleton_class; 4117s # 4117s # gobject_class = G_OBJECT_CLASS (klass); 4117s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 4117s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 4117s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 4117s # gobject_class->notify = com_acme_coyote_skeleton_notify; 4117s # 4117s # 4117s # com_acme_coyote_override_properties (gobject_class, 1); 4117s # 4117s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4117s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 4117s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 4117s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 4117s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 4117s # 4117s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4117s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 4117s # #endif 4117s # } 4117s # 4117s # static void 4117s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 4117s # { 4117s # iface->surprised = _com_acme_coyote_on_signal_surprised; 4117s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 4117s # } 4117s # 4117s # /** 4117s # * com_acme_coyote_skeleton_new: 4117s # * 4117s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 4117s # * 4117s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 4117s # */ 4117s # ComAcmeCoyote * 4117s # com_acme_coyote_skeleton_new (void) 4117s # { 4117s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 4117s # } 4117s # 4117s # /* ------------------------------------------------------------------------ 4117s # * Code for interface org.project.Bar.Frobnicator 4117s # * ------------------------------------------------------------------------ 4117s # */ 4117s # 4117s # /** 4117s # * SECTION:OrgProjectBarFrobnicator 4117s # * @title: OrgProjectBarFrobnicator 4117s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 4117s # * 4117s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 4117s # */ 4117s # 4117s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 4117s # 4117s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 4117s # { 4117s # { 4117s # -1, 4117s # (gchar *) "RandomMethod", 4117s # NULL, 4117s # NULL, 4117s # NULL 4117s # }, 4117s # "handle-random-method", 4117s # FALSE 4117s # }; 4117s # 4117s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 4117s # { 4117s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 4117s # NULL 4117s # }; 4117s # 4117s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 4117s # { 4117s # { 4117s # -1, 4117s # (gchar *) "org.project.Bar.Frobnicator", 4117s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 4117s # NULL, 4117s # NULL, 4117s # NULL 4117s # }, 4117s # "org-project-bar-frobnicator", 4117s # }; 4117s # 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_interface_info: 4117s # * 4117s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 4117s # * 4117s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 4117s # */ 4117s # GDBusInterfaceInfo * 4117s # org_project_bar_frobnicator_interface_info (void) 4117s # { 4117s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_override_properties: 4117s # * @klass: The class structure for a #GObject derived class. 4117s # * @property_id_begin: The property id to assign to the first overridden property. 4117s # * 4117s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 4117s # * The properties are overridden in the order they are defined. 4117s # * 4117s # * Returns: The last property id. 4117s # */ 4117s # guint 4117s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 4117s # { 4117s # return property_id_begin - 1; 4117s # } 4117s # 4117s # 4117s # inline static void 4117s # org_project_bar_frobnicator_method_marshal_random_method ( 4117s # GClosure *closure, 4117s # GValue *return_value, 4117s # unsigned int n_param_values, 4117s # const GValue *param_values, 4117s # void *invocation_hint, 4117s # void *marshal_data) 4117s # { 4117s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 4117s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 4117s # } 4117s # 4117s # 4117s # /** 4117s # * OrgProjectBarFrobnicator: 4117s # * 4117s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 4117s # */ 4117s # 4117s # /** 4117s # * OrgProjectBarFrobnicatorIface: 4117s # * @parent_iface: The parent interface. 4117s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 4117s # * 4117s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 4117s # */ 4117s # 4117s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 4117s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 4117s # { 4117s # /* GObject signals for incoming D-Bus method calls: */ 4117s # /** 4117s # * OrgProjectBarFrobnicator::handle-random-method: 4117s # * @object: A #OrgProjectBarFrobnicator. 4117s # * @invocation: A #GDBusMethodInvocation. 4117s # * 4117s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 4117s # * 4117s # * 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. 4117s # * 4117s # * 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. 4117s # */ 4117s # g_signal_new ("handle-random-method", 4117s # G_TYPE_FROM_INTERFACE (iface), 4117s # G_SIGNAL_RUN_LAST, 4117s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 4117s # g_signal_accumulator_true_handled, 4117s # NULL, 4117s # org_project_bar_frobnicator_method_marshal_random_method, 4117s # G_TYPE_BOOLEAN, 4117s # 1, 4117s # G_TYPE_DBUS_METHOD_INVOCATION); 4117s # 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_call_random_method: 4117s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 4117s # * @user_data: User data to pass to @callback. 4117s # * 4117s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 4117s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4117s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 4117s # * 4117s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 4117s # */ 4117s # void 4117s # org_project_bar_frobnicator_call_random_method ( 4117s # OrgProjectBarFrobnicator *proxy, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data) 4117s # { 4117s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 4117s # "RandomMethod", 4117s # g_variant_new ("()"), 4117s # G_DBUS_CALL_FLAGS_NONE, 4117s # -1, 4117s # cancellable, 4117s # callback, 4117s # user_data); 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_call_random_method_finish: 4117s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 4117s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 4117s # * @error: Return location for error or %NULL. 4117s # * 4117s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 4117s # * 4117s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4117s # */ 4117s # gboolean 4117s # org_project_bar_frobnicator_call_random_method_finish ( 4117s # OrgProjectBarFrobnicator *proxy, 4117s # GAsyncResult *res, 4117s # GError **error) 4117s # { 4117s # GVariant *_ret; 4117s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 4117s # if (_ret == NULL) 4117s # goto _out; 4117s # g_variant_get (_ret, 4117s # "()"); 4117s # g_variant_unref (_ret); 4117s # _out: 4117s # return _ret != NULL; 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_call_random_method_sync: 4117s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @error: Return location for error or %NULL. 4117s # * 4117s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 4117s # * 4117s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 4117s # * 4117s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 4117s # */ 4117s # gboolean 4117s # org_project_bar_frobnicator_call_random_method_sync ( 4117s # OrgProjectBarFrobnicator *proxy, 4117s # GCancellable *cancellable, 4117s # GError **error) 4117s # { 4117s # GVariant *_ret; 4117s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 4117s # "RandomMethod", 4117s # g_variant_new ("()"), 4117s # G_DBUS_CALL_FLAGS_NONE, 4117s # -1, 4117s # cancellable, 4117s # error); 4117s # if (_ret == NULL) 4117s # goto _out; 4117s # g_variant_get (_ret, 4117s # "()"); 4117s # g_variant_unref (_ret); 4117s # _out: 4117s # return _ret != NULL; 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_complete_random_method: 4117s # * @object: A #OrgProjectBarFrobnicator. 4117s # * @invocation: (transfer full): A #GDBusMethodInvocation. 4117s # * 4117s # * 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. 4117s # * 4117s # * This method will free @invocation, you cannot use it afterwards. 4117s # */ 4117s # void 4117s # org_project_bar_frobnicator_complete_random_method ( 4117s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 4117s # GDBusMethodInvocation *invocation) 4117s # { 4117s # g_dbus_method_invocation_return_value (invocation, 4117s # g_variant_new ("()")); 4117s # } 4117s # 4117s # /* ------------------------------------------------------------------------ */ 4117s # 4117s # /** 4117s # * OrgProjectBarFrobnicatorProxy: 4117s # * 4117s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 4117s # */ 4117s # 4117s # /** 4117s # * OrgProjectBarFrobnicatorProxyClass: 4117s # * @parent_class: The parent class. 4117s # * 4117s # * Class structure for #OrgProjectBarFrobnicatorProxy. 4117s # */ 4117s # 4117s # struct _OrgProjectBarFrobnicatorProxyPrivate 4117s # { 4117s # GData *qdata; 4117s # }; 4117s # 4117s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 4117s # 4117s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4117s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 4117s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 4117s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 4117s # 4117s # #else 4117s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 4117s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 4117s # 4117s # #endif 4117s # static void 4117s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 4117s # { 4117s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 4117s # g_datalist_clear (&proxy->priv->qdata); 4117s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 4117s # guint prop_id G_GNUC_UNUSED, 4117s # GValue *value G_GNUC_UNUSED, 4117s # GParamSpec *pspec G_GNUC_UNUSED) 4117s # { 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 4117s # guint prop_id G_GNUC_UNUSED, 4117s # const GValue *value G_GNUC_UNUSED, 4117s # GParamSpec *pspec G_GNUC_UNUSED) 4117s # { 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 4117s # const gchar *sender_name G_GNUC_UNUSED, 4117s # const gchar *signal_name, 4117s # GVariant *parameters) 4117s # { 4117s # _ExtendedGDBusSignalInfo *info; 4117s # GVariantIter iter; 4117s # GVariant *child; 4117s # GValue *paramv; 4117s # gsize num_params; 4117s # gsize n; 4117s # guint signal_id; 4117s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 4117s # if (info == NULL) 4117s # return; 4117s # num_params = g_variant_n_children (parameters); 4117s # paramv = g_new0 (GValue, num_params + 1); 4117s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 4117s # g_value_set_object (¶mv[0], proxy); 4117s # g_variant_iter_init (&iter, parameters); 4117s # n = 1; 4117s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4117s # { 4117s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 4117s # if (arg_info->use_gvariant) 4117s # { 4117s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4117s # g_value_set_variant (¶mv[n], child); 4117s # n++; 4117s # } 4117s # else 4117s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4117s # g_variant_unref (child); 4117s # } 4117s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 4117s # g_signal_emitv (paramv, signal_id, 0, NULL); 4117s # for (n = 0; n < num_params + 1; n++) 4117s # g_value_unset (¶mv[n]); 4117s # g_free (paramv); 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 4117s # GVariant *changed_properties, 4117s # const gchar *const *invalidated_properties) 4117s # { 4117s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 4117s # guint n; 4117s # const gchar *key; 4117s # GVariantIter *iter; 4117s # _ExtendedGDBusPropertyInfo *info; 4117s # g_variant_get (changed_properties, "a{sv}", &iter); 4117s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 4117s # { 4117s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 4117s # g_datalist_remove_data (&proxy->priv->qdata, key); 4117s # if (info != NULL) 4117s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4117s # } 4117s # g_variant_iter_free (iter); 4117s # for (n = 0; invalidated_properties[n] != NULL; n++) 4117s # { 4117s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 4117s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 4117s # if (info != NULL) 4117s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 4117s # } 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 4117s # { 4117s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4117s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 4117s # #else 4117s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 4117s # #endif 4117s # 4117s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 4117s # { 4117s # GObjectClass *gobject_class; 4117s # GDBusProxyClass *proxy_class; 4117s # 4117s # gobject_class = G_OBJECT_CLASS (klass); 4117s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 4117s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 4117s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 4117s # 4117s # proxy_class = G_DBUS_PROXY_CLASS (klass); 4117s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 4117s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 4117s # 4117s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4117s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 4117s # #endif 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 4117s # { 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_proxy_new: 4117s # * @connection: A #GDBusConnection. 4117s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4117s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4117s # * @object_path: An object path. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4117s # * @user_data: User data to pass to @callback. 4117s # * 4117s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 4117s # * 4117s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4117s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 4117s # * 4117s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 4117s # */ 4117s # void 4117s # org_project_bar_frobnicator_proxy_new ( 4117s # GDBusConnection *connection, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data) 4117s # { 4117s # 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); 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_proxy_new_finish: 4117s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 4117s # * @error: Return location for error or %NULL 4117s # * 4117s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 4117s # * 4117s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 4117s # */ 4117s # OrgProjectBarFrobnicator * 4117s # org_project_bar_frobnicator_proxy_new_finish ( 4117s # GAsyncResult *res, 4117s # GError **error) 4117s # { 4117s # GObject *ret; 4117s # GObject *source_object; 4117s # source_object = g_async_result_get_source_object (res); 4117s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4117s # g_object_unref (source_object); 4117s # if (ret != NULL) 4117s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 4117s # else 4117s # return NULL; 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_proxy_new_sync: 4117s # * @connection: A #GDBusConnection. 4117s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4117s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 4117s # * @object_path: An object path. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @error: Return location for error or %NULL 4117s # * 4117s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 4117s # * 4117s # * The calling thread is blocked until a reply is received. 4117s # * 4117s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 4117s # * 4117s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 4117s # */ 4117s # OrgProjectBarFrobnicator * 4117s # org_project_bar_frobnicator_proxy_new_sync ( 4117s # GDBusConnection *connection, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GError **error) 4117s # { 4117s # GInitable *ret; 4117s # 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); 4117s # if (ret != NULL) 4117s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 4117s # else 4117s # return NULL; 4117s # } 4117s # 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_proxy_new_for_bus: 4117s # * @bus_type: A #GBusType. 4117s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4117s # * @name: A bus name (well-known or unique). 4117s # * @object_path: An object path. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 4117s # * @user_data: User data to pass to @callback. 4117s # * 4117s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 4117s # * 4117s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 4117s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 4117s # * 4117s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 4117s # */ 4117s # void 4117s # org_project_bar_frobnicator_proxy_new_for_bus ( 4117s # GBusType bus_type, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data) 4117s # { 4117s # 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); 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 4117s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 4117s # * @error: Return location for error or %NULL 4117s # * 4117s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 4117s # * 4117s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 4117s # */ 4117s # OrgProjectBarFrobnicator * 4117s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 4117s # GAsyncResult *res, 4117s # GError **error) 4117s # { 4117s # GObject *ret; 4117s # GObject *source_object; 4117s # source_object = g_async_result_get_source_object (res); 4117s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 4117s # g_object_unref (source_object); 4117s # if (ret != NULL) 4117s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 4117s # else 4117s # return NULL; 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 4117s # * @bus_type: A #GBusType. 4117s # * @flags: Flags from the #GDBusProxyFlags enumeration. 4117s # * @name: A bus name (well-known or unique). 4117s # * @object_path: An object path. 4117s # * @cancellable: (nullable): A #GCancellable or %NULL. 4117s # * @error: Return location for error or %NULL 4117s # * 4117s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 4117s # * 4117s # * The calling thread is blocked until a reply is received. 4117s # * 4117s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 4117s # * 4117s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 4117s # */ 4117s # OrgProjectBarFrobnicator * 4117s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 4117s # GBusType bus_type, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GError **error) 4117s # { 4117s # GInitable *ret; 4117s # 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); 4117s # if (ret != NULL) 4117s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 4117s # else 4117s # return NULL; 4117s # } 4117s # 4117s # 4117s # /* ------------------------------------------------------------------------ */ 4117s # 4117s # /** 4117s # * OrgProjectBarFrobnicatorSkeleton: 4117s # * 4117s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 4117s # */ 4117s # 4117s # /** 4117s # * OrgProjectBarFrobnicatorSkeletonClass: 4117s # * @parent_class: The parent class. 4117s # * 4117s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 4117s # */ 4117s # 4117s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 4117s # { 4117s # GValue *properties; 4117s # GList *changed_properties; 4117s # GSource *changed_properties_idle_source; 4117s # GMainContext *context; 4117s # GMutex lock; 4117s # }; 4117s # 4117s # static void 4117s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 4117s # GDBusConnection *connection G_GNUC_UNUSED, 4117s # const gchar *sender G_GNUC_UNUSED, 4117s # const gchar *object_path G_GNUC_UNUSED, 4117s # const gchar *interface_name, 4117s # const gchar *method_name, 4117s # GVariant *parameters, 4117s # GDBusMethodInvocation *invocation, 4117s # gpointer user_data) 4117s # { 4117s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 4117s # _ExtendedGDBusMethodInfo *info; 4117s # GVariantIter iter; 4117s # GVariant *child; 4117s # GValue *paramv; 4117s # gsize num_params; 4117s # guint num_extra; 4117s # gsize n; 4117s # guint signal_id; 4117s # GValue return_value = G_VALUE_INIT; 4117s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 4117s # g_assert (info != NULL); 4117s # num_params = g_variant_n_children (parameters); 4117s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 4117s # n = 0; 4117s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 4117s # g_value_set_object (¶mv[n++], skeleton); 4117s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 4117s # g_value_set_object (¶mv[n++], invocation); 4117s # if (info->pass_fdlist) 4117s # { 4117s # #ifdef G_OS_UNIX 4117s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 4117s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 4117s # #else 4117s # g_assert_not_reached (); 4117s # #endif 4117s # } 4117s # g_variant_iter_init (&iter, parameters); 4117s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 4117s # { 4117s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 4117s # if (arg_info->use_gvariant) 4117s # { 4117s # g_value_init (¶mv[n], G_TYPE_VARIANT); 4117s # g_value_set_variant (¶mv[n], child); 4117s # n++; 4117s # } 4117s # else 4117s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 4117s # g_variant_unref (child); 4117s # } 4117s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 4117s # g_value_init (&return_value, G_TYPE_BOOLEAN); 4117s # g_signal_emitv (paramv, signal_id, 0, &return_value); 4117s # if (!g_value_get_boolean (&return_value)) 4117s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 4117s # g_value_unset (&return_value); 4117s # for (n = 0; n < num_params + num_extra; n++) 4117s # g_value_unset (¶mv[n]); 4117s # g_free (paramv); 4117s # } 4117s # 4117s # static GVariant * 4117s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 4117s # GDBusConnection *connection G_GNUC_UNUSED, 4117s # const gchar *sender G_GNUC_UNUSED, 4117s # const gchar *object_path G_GNUC_UNUSED, 4117s # const gchar *interface_name G_GNUC_UNUSED, 4117s # const gchar *property_name, 4117s # GError **error, 4117s # gpointer user_data) 4117s # { 4117s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 4117s # GValue value = G_VALUE_INIT; 4117s # GParamSpec *pspec; 4117s # _ExtendedGDBusPropertyInfo *info; 4117s # GVariant *ret; 4117s # ret = NULL; 4117s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 4117s # g_assert (info != NULL); 4117s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4117s # if (pspec == NULL) 4117s # { 4117s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4117s # } 4117s # else 4117s # { 4117s # g_value_init (&value, pspec->value_type); 4117s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4117s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 4117s # g_value_unset (&value); 4117s # } 4117s # return ret; 4117s # } 4117s # 4117s # static gboolean 4117s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 4117s # GDBusConnection *connection G_GNUC_UNUSED, 4117s # const gchar *sender G_GNUC_UNUSED, 4117s # const gchar *object_path G_GNUC_UNUSED, 4117s # const gchar *interface_name G_GNUC_UNUSED, 4117s # const gchar *property_name, 4117s # GVariant *variant, 4117s # GError **error, 4117s # gpointer user_data) 4117s # { 4117s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 4117s # GValue value = G_VALUE_INIT; 4117s # GParamSpec *pspec; 4117s # _ExtendedGDBusPropertyInfo *info; 4117s # gboolean ret; 4117s # ret = FALSE; 4117s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 4117s # g_assert (info != NULL); 4117s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 4117s # if (pspec == NULL) 4117s # { 4117s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 4117s # } 4117s # else 4117s # { 4117s # if (info->use_gvariant) 4117s # g_value_set_variant (&value, variant); 4117s # else 4117s # g_dbus_gvariant_to_gvalue (variant, &value); 4117s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 4117s # g_value_unset (&value); 4117s # ret = TRUE; 4117s # } 4117s # return ret; 4117s # } 4117s # 4117s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 4117s # { 4117s # _org_project_bar_frobnicator_skeleton_handle_method_call, 4117s # _org_project_bar_frobnicator_skeleton_handle_get_property, 4117s # _org_project_bar_frobnicator_skeleton_handle_set_property, 4117s # {NULL} 4117s # }; 4117s # 4117s # static GDBusInterfaceInfo * 4117s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4117s # { 4117s # return org_project_bar_frobnicator_interface_info (); 4117s # } 4117s # 4117s # static GDBusInterfaceVTable * 4117s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 4117s # { 4117s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 4117s # } 4117s # 4117s # static GVariant * 4117s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 4117s # { 4117s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 4117s # 4117s # GVariantBuilder builder; 4117s # guint n; 4117s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 4117s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 4117s # goto out; 4117s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 4117s # { 4117s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 4117s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 4117s # { 4117s # GVariant *value; 4117s # 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); 4117s # if (value != NULL) 4117s # { 4117s # g_variant_take_ref (value); 4117s # g_variant_builder_add (&builder, "{sv}", info->name, value); 4117s # g_variant_unref (value); 4117s # } 4117s # } 4117s # } 4117s # out: 4117s # return g_variant_builder_end (&builder); 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 4117s # { 4117s # } 4117s # 4117s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 4117s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4117s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4117s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 4117s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 4117s # 4117s # #else 4117s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 4117s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 4117s # 4117s # #endif 4117s # static void 4117s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 4117s # { 4117s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 4117s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 4117s # if (skeleton->priv->changed_properties_idle_source != NULL) 4117s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 4117s # g_main_context_unref (skeleton->priv->context); 4117s # g_mutex_clear (&skeleton->priv->lock); 4117s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 4117s # { 4117s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 4117s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 4117s # #else 4117s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 4117s # #endif 4117s # 4117s # g_mutex_init (&skeleton->priv->lock); 4117s # skeleton->priv->context = g_main_context_ref_thread_default (); 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 4117s # { 4117s # GObjectClass *gobject_class; 4117s # GDBusInterfaceSkeletonClass *skeleton_class; 4117s # 4117s # gobject_class = G_OBJECT_CLASS (klass); 4117s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 4117s # 4117s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 4117s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 4117s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 4117s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 4117s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 4117s # 4117s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 4117s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 4117s # #endif 4117s # } 4117s # 4117s # static void 4117s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 4117s # { 4117s # } 4117s # 4117s # /** 4117s # * org_project_bar_frobnicator_skeleton_new: 4117s # * 4117s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 4117s # * 4117s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 4117s # */ 4117s # OrgProjectBarFrobnicator * 4117s # org_project_bar_frobnicator_skeleton_new (void) 4117s # { 4117s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 4117s # } 4117s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 4117s # tmpdir: /tmp/tmp05biz8b4 4117s # codegen: /usr/bin/gdbus-codegen 4117s # /tmp/tmp05biz8b4/tmpqov4309s.xml: 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp05biz8b4/tmpqov4309s.xml', '--output', '-', '--header'] 4117s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4117s # Output: /* 4117s # * This file is generated by gdbus-codegen, do not modify it. 4117s # * 4117s # * The license of this code is the same as for the D-Bus interface description 4117s # * it was derived from. Note that it links to GLib, so must comply with the 4117s # * LGPL linking clauses. 4117s # */ 4117s # 4117s # #ifndef __STDOUT__ 4117s # #define __STDOUT__ 4117s # 4117s # #include 4117s # 4117s # G_BEGIN_DECLS 4117s # 4117s # 4117s # /* ------------------------------------------------------------------------ */ 4117s # /* Declarations for FDPassing */ 4117s # 4117s # #define TYPE_FDPASSING (fdpassing_get_type ()) 4117s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 4117s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 4117s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 4117s # 4117s # struct _FDPassing; 4117s # typedef struct _FDPassing FDPassing; 4117s # typedef struct _FDPassingIface FDPassingIface; 4117s # 4117s # struct _FDPassingIface 4117s # { 4117s # GTypeInterface parent_iface; 4117s # 4117s # gboolean (*handle_hello_fd) ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GUnixFDList *fd_list, 4117s # const gchar *arg_greeting); 4117s # 4117s # gboolean (*handle_no_annotation) ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GVariant *arg_greeting, 4117s # const gchar *arg_greeting_locale); 4117s # 4117s # gboolean (*handle_no_annotation_nested) ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GVariant *arg_files); 4117s # 4117s # }; 4117s # 4117s # GType fdpassing_get_type (void) G_GNUC_CONST; 4117s # 4117s # GDBusInterfaceInfo *fdpassing_interface_info (void); 4117s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 4117s # 4117s # 4117s # /* D-Bus method call completion functions: */ 4117s # void fdpassing_complete_hello_fd ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GUnixFDList *fd_list, 4117s # const gchar *response); 4117s # 4117s # void fdpassing_complete_no_annotation ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GVariant *response, 4117s # const gchar *response_locale); 4117s # 4117s # void fdpassing_complete_no_annotation_nested ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation); 4117s # 4117s # 4117s # 4117s # /* D-Bus method calls: */ 4117s # void fdpassing_call_hello_fd ( 4117s # FDPassing *proxy, 4117s # const gchar *arg_greeting, 4117s # GUnixFDList *fd_list, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data); 4117s # 4117s # gboolean fdpassing_call_hello_fd_finish ( 4117s # FDPassing *proxy, 4117s # gchar **out_response, 4117s # GUnixFDList **out_fd_list, 4117s # GAsyncResult *res, 4117s # GError **error); 4117s # 4117s # gboolean fdpassing_call_hello_fd_sync ( 4117s # FDPassing *proxy, 4117s # const gchar *arg_greeting, 4117s # GUnixFDList *fd_list, 4117s # gchar **out_response, 4117s # GUnixFDList **out_fd_list, 4117s # GCancellable *cancellable, 4117s # GError **error); 4117s # 4117s # void fdpassing_call_no_annotation ( 4117s # FDPassing *proxy, 4117s # GVariant *arg_greeting, 4117s # const gchar *arg_greeting_locale, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data); 4117s # 4117s # gboolean fdpassing_call_no_annotation_finish ( 4117s # FDPassing *proxy, 4117s # GVariant **out_response, 4117s # gchar **out_response_locale, 4117s # GAsyncResult *res, 4117s # GError **error); 4117s # 4117s # gboolean fdpassing_call_no_annotation_sync ( 4117s # FDPassing *proxy, 4117s # GVariant *arg_greeting, 4117s # const gchar *arg_greeting_locale, 4117s # GVariant **out_response, 4117s # gchar **out_response_locale, 4117s # GCancellable *cancellable, 4117s # GError **error); 4117s # 4117s # void fdpassing_call_no_annotation_nested ( 4117s # FDPassing *proxy, 4117s # GVariant *arg_files, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data); 4117s # 4117s # gboolean fdpassing_call_no_annotation_nested_finish ( 4117s # FDPassing *proxy, 4117s # GAsyncResult *res, 4117s # GError **error); 4117s # 4117s # gboolean fdpassing_call_no_annotation_nested_sync ( 4117s # FDPassing *proxy, 4117s # GVariant *arg_files, 4117s # GCancellable *cancellable, 4117s # GError **error); 4117s # 4117s # 4117s # 4117s # /* ---- */ 4117s # 4117s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 4117s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 4117s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 4117s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 4117s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 4117s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 4117s # 4117s # typedef struct _FDPassingProxy FDPassingProxy; 4117s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 4117s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 4117s # 4117s # struct _FDPassingProxy 4117s # { 4117s # /*< private >*/ 4117s # GDBusProxy parent_instance; 4117s # FDPassingProxyPrivate *priv; 4117s # }; 4117s # 4117s # struct _FDPassingProxyClass 4117s # { 4117s # GDBusProxyClass parent_class; 4117s # }; 4117s # 4117s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 4117s # 4117s # #if GLIB_CHECK_VERSION(2, 44, 0) 4117s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 4117s # #endif 4117s # 4117s # void fdpassing_proxy_new ( 4117s # GDBusConnection *connection, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data); 4117s # FDPassing *fdpassing_proxy_new_finish ( 4117s # GAsyncResult *res, 4117s # GError **error); 4117s # FDPassing *fdpassing_proxy_new_sync ( 4117s # GDBusConnection *connection, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GError **error); 4117s # 4117s # void fdpassing_proxy_new_for_bus ( 4117s # GBusType bus_type, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data); 4117s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 4117s # GAsyncResult *res, 4117s # GError **error); 4117s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 4117s # GBusType bus_type, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GError **error); 4117s # 4117s # 4117s # /* ---- */ 4117s # 4117s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 4117s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 4117s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 4117s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 4117s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 4117s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 4117s # 4117s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 4117s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 4117s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 4117s # 4117s # struct _FDPassingSkeleton 4117s # { 4117s # /*< private >*/ 4117s # GDBusInterfaceSkeleton parent_instance; 4117s # FDPassingSkeletonPrivate *priv; 4117s # }; 4117s # 4117s # struct _FDPassingSkeletonClass 4117s # { 4117s # GDBusInterfaceSkeletonClass parent_class; 4117s # }; 4117s # 4117s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 4117s # 4117s # #if GLIB_CHECK_VERSION(2, 44, 0) 4117s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 4117s # #endif 4117s # 4117s # FDPassing *fdpassing_skeleton_new (void); 4117s # 4117s # 4117s # G_END_DECLS 4117s # 4117s # #endif /* __STDOUT__ */ 4117s # /tmp/tmp05biz8b4/tmpl8bsyr8w.xml: 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp05biz8b4/tmpl8bsyr8w.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 4117s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4117s # Output: /* 4117s # * This file is generated by gdbus-codegen, do not modify it. 4117s # * 4117s # * The license of this code is the same as for the D-Bus interface description 4117s # * it was derived from. Note that it links to GLib, so must comply with the 4117s # * LGPL linking clauses. 4117s # */ 4117s # 4117s # #ifndef __STDOUT__ 4117s # #define __STDOUT__ 4117s # 4117s # #include 4117s # 4117s # G_BEGIN_DECLS 4117s # 4117s # 4117s # /* ------------------------------------------------------------------------ */ 4117s # /* Declarations for FDPassing */ 4117s # 4117s # #define TYPE_FDPASSING (fdpassing_get_type ()) 4117s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 4117s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 4117s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 4117s # 4117s # struct _FDPassing; 4117s # typedef struct _FDPassing FDPassing; 4117s # typedef struct _FDPassingIface FDPassingIface; 4117s # 4117s # struct _FDPassingIface 4117s # { 4117s # GTypeInterface parent_iface; 4117s # 4117s # gboolean (*handle_hello_fd) ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GUnixFDList *fd_list, 4117s # const gchar *arg_greeting); 4117s # 4117s # gboolean (*handle_no_annotation) ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GVariant *arg_greeting, 4117s # const gchar *arg_greeting_locale); 4117s # 4117s # gboolean (*handle_no_annotation_nested) ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GVariant *arg_files); 4117s # 4117s # }; 4117s # 4117s # GType fdpassing_get_type (void) G_GNUC_CONST; 4117s # 4117s # GDBusInterfaceInfo *fdpassing_interface_info (void); 4117s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 4117s # 4117s # 4117s # /* D-Bus method call completion functions: */ 4117s # void fdpassing_complete_hello_fd ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GUnixFDList *fd_list, 4117s # const gchar *response); 4117s # 4117s # void fdpassing_complete_no_annotation ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GVariant *response, 4117s # const gchar *response_locale); 4117s # 4117s # void fdpassing_complete_no_annotation_nested ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation); 4117s # 4117s # 4117s # 4117s # /* D-Bus method calls: */ 4117s # void fdpassing_call_hello_fd ( 4117s # FDPassing *proxy, 4117s # const gchar *arg_greeting, 4117s # GUnixFDList *fd_list, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data); 4117s # 4117s # gboolean fdpassing_call_hello_fd_finish ( 4117s # FDPassing *proxy, 4117s # gchar **out_response, 4117s # GUnixFDList **out_fd_list, 4117s # GAsyncResult *res, 4117s # GError **error); 4117s # 4117s # gboolean fdpassing_call_hello_fd_sync ( 4117s # FDPassing *proxy, 4117s # const gchar *arg_greeting, 4117s # GUnixFDList *fd_list, 4117s # gchar **out_response, 4117s # GUnixFDList **out_fd_list, 4117s # GCancellable *cancellable, 4117s # GError **error); 4117s # 4117s # void fdpassing_call_no_annotation ( 4117s # FDPassing *proxy, 4117s # GVariant *arg_greeting, 4117s # const gchar *arg_greeting_locale, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data); 4117s # 4117s # gboolean fdpassing_call_no_annotation_finish ( 4117s # FDPassing *proxy, 4117s # GVariant **out_response, 4117s # gchar **out_response_locale, 4117s # GAsyncResult *res, 4117s # GError **error); 4117s # 4117s # gboolean fdpassing_call_no_annotation_sync ( 4117s # FDPassing *proxy, 4117s # GVariant *arg_greeting, 4117s # const gchar *arg_greeting_locale, 4117s # GVariant **out_response, 4117s # gchar **out_response_locale, 4117s # GCancellable *cancellable, 4117s # GError **error); 4117s # 4117s # void fdpassing_call_no_annotation_nested ( 4117s # FDPassing *proxy, 4117s # GVariant *arg_files, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data); 4117s # 4117s # gboolean fdpassing_call_no_annotation_nested_finish ( 4117s # FDPassing *proxy, 4117s # GAsyncResult *res, 4117s # GError **error); 4117s # 4117s # gboolean fdpassing_call_no_annotation_nested_sync ( 4117s # FDPassing *proxy, 4117s # GVariant *arg_files, 4117s # GCancellable *cancellable, 4117s # GError **error); 4117s # 4117s # 4117s # 4117s # /* ---- */ 4117s # 4117s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 4117s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 4117s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 4117s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 4117s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 4117s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 4117s # 4117s # typedef struct _FDPassingProxy FDPassingProxy; 4117s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 4117s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 4117s # 4117s # struct _FDPassingProxy 4117s # { 4117s # /*< private >*/ 4117s # GDBusProxy parent_instance; 4117s # FDPassingProxyPrivate *priv; 4117s # }; 4117s # 4117s # struct _FDPassingProxyClass 4117s # { 4117s # GDBusProxyClass parent_class; 4117s # }; 4117s # 4117s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 4117s # 4117s # #if GLIB_CHECK_VERSION(2, 44, 0) 4117s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 4117s # #endif 4117s # 4117s # void fdpassing_proxy_new ( 4117s # GDBusConnection *connection, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data); 4117s # FDPassing *fdpassing_proxy_new_finish ( 4117s # GAsyncResult *res, 4117s # GError **error); 4117s # FDPassing *fdpassing_proxy_new_sync ( 4117s # GDBusConnection *connection, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GError **error); 4117s # 4117s # void fdpassing_proxy_new_for_bus ( 4117s # GBusType bus_type, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data); 4117s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 4117s # GAsyncResult *res, 4117s # GError **error); 4117s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 4117s # GBusType bus_type, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GError **error); 4117s # 4117s # 4117s # /* ---- */ 4117s # 4117s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 4117s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 4117s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 4117s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 4117s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 4117s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 4117s # 4117s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 4117s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 4117s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 4117s # 4117s # struct _FDPassingSkeleton 4117s # { 4117s # /*< private >*/ 4117s # GDBusInterfaceSkeleton parent_instance; 4117s # FDPassingSkeletonPrivate *priv; 4117s # }; 4117s # 4117s # struct _FDPassingSkeletonClass 4117s # { 4117s # GDBusInterfaceSkeletonClass parent_class; 4117s # }; 4117s # 4117s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 4117s # 4117s # #if GLIB_CHECK_VERSION(2, 44, 0) 4117s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 4117s # #endif 4117s # 4117s # FDPassing *fdpassing_skeleton_new (void); 4117s # 4117s # 4117s # G_END_DECLS 4117s # 4117s # #endif /* __STDOUT__ */ 4117s # /tmp/tmp05biz8b4/tmpoovhfw_2.xml: 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # 4117s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp05biz8b4/tmpoovhfw_2.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 4117s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4117s # Output: /* 4117s # * This file is generated by gdbus-codegen, do not modify it. 4117s # * 4117s # * The license of this code is the same as for the D-Bus interface description 4117s # * it was derived from. Note that it links to GLib, so must comply with the 4117s # * LGPL linking clauses. 4117s # */ 4117s # 4117s # #ifndef __STDOUT__ 4117s # #define __STDOUT__ 4117s # 4117s # #include 4117s # 4117s # G_BEGIN_DECLS 4117s # 4117s # 4117s # /* ------------------------------------------------------------------------ */ 4117s # /* Declarations for FDPassing */ 4117s # 4117s # #define TYPE_FDPASSING (fdpassing_get_type ()) 4117s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 4117s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 4117s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 4117s # 4117s # struct _FDPassing; 4117s # typedef struct _FDPassing FDPassing; 4117s # typedef struct _FDPassingIface FDPassingIface; 4117s # 4117s # struct _FDPassingIface 4117s # { 4117s # GTypeInterface parent_iface; 4117s # 4117s # gboolean (*handle_hello_fd) ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GUnixFDList *fd_list, 4117s # const gchar *arg_greeting); 4117s # 4117s # gboolean (*handle_no_annotation) ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GUnixFDList *fd_list, 4117s # GVariant *arg_greeting, 4117s # const gchar *arg_greeting_locale); 4117s # 4117s # gboolean (*handle_no_annotation_nested) ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GUnixFDList *fd_list, 4117s # GVariant *arg_files); 4117s # 4117s # }; 4117s # 4117s # GType fdpassing_get_type (void) G_GNUC_CONST; 4117s # 4117s # GDBusInterfaceInfo *fdpassing_interface_info (void); 4117s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 4117s # 4117s # 4117s # /* D-Bus method call completion functions: */ 4117s # void fdpassing_complete_hello_fd ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GUnixFDList *fd_list, 4117s # const gchar *response); 4117s # 4117s # void fdpassing_complete_no_annotation ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GUnixFDList *fd_list, 4117s # GVariant *response, 4117s # const gchar *response_locale); 4117s # 4117s # void fdpassing_complete_no_annotation_nested ( 4117s # FDPassing *object, 4117s # GDBusMethodInvocation *invocation, 4117s # GUnixFDList *fd_list); 4117s # 4117s # 4117s # 4117s # /* D-Bus method calls: */ 4117s # void fdpassing_call_hello_fd ( 4117s # FDPassing *proxy, 4117s # const gchar *arg_greeting, 4117s # GDBusCallFlags call_flags, 4117s # gint timeout_msec, 4117s # GUnixFDList *fd_list, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data); 4117s # 4117s # gboolean fdpassing_call_hello_fd_finish ( 4117s # FDPassing *proxy, 4117s # gchar **out_response, 4117s # GUnixFDList **out_fd_list, 4117s # GAsyncResult *res, 4117s # GError **error); 4117s # 4117s # gboolean fdpassing_call_hello_fd_sync ( 4117s # FDPassing *proxy, 4117s # const gchar *arg_greeting, 4117s # GDBusCallFlags call_flags, 4117s # gint timeout_msec, 4117s # GUnixFDList *fd_list, 4117s # gchar **out_response, 4117s # GUnixFDList **out_fd_list, 4117s # GCancellable *cancellable, 4117s # GError **error); 4117s # 4117s # void fdpassing_call_no_annotation ( 4117s # FDPassing *proxy, 4117s # GVariant *arg_greeting, 4117s # const gchar *arg_greeting_locale, 4117s # GDBusCallFlags call_flags, 4117s # gint timeout_msec, 4117s # GUnixFDList *fd_list, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data); 4117s # 4117s # gboolean fdpassing_call_no_annotation_finish ( 4117s # FDPassing *proxy, 4117s # GVariant **out_response, 4117s # gchar **out_response_locale, 4117s # GUnixFDList **out_fd_list, 4117s # GAsyncResult *res, 4117s # GError **error); 4117s # 4117s # gboolean fdpassing_call_no_annotation_sync ( 4117s # FDPassing *proxy, 4117s # GVariant *arg_greeting, 4117s # const gchar *arg_greeting_locale, 4117s # GDBusCallFlags call_flags, 4117s # gint timeout_msec, 4117s # GUnixFDList *fd_list, 4117s # GVariant **out_response, 4117s # gchar **out_response_locale, 4117s # GUnixFDList **out_fd_list, 4117s # GCancellable *cancellable, 4117s # GError **error); 4117s # 4117s # void fdpassing_call_no_annotation_nested ( 4117s # FDPassing *proxy, 4117s # GVariant *arg_files, 4117s # GDBusCallFlags call_flags, 4117s # gint timeout_msec, 4117s # GUnixFDList *fd_list, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data); 4117s # 4117s # gboolean fdpassing_call_no_annotation_nested_finish ( 4117s # FDPassing *proxy, 4117s # GUnixFDList **out_fd_list, 4117s # GAsyncResult *res, 4117s # GError **error); 4117s # 4117s # gboolean fdpassing_call_no_annotation_nested_sync ( 4117s # FDPassing *proxy, 4117s # GVariant *arg_files, 4117s # GDBusCallFlags call_flags, 4117s # gint timeout_msec, 4117s # GUnixFDList *fd_list, 4117s # GUnixFDList **out_fd_list, 4117s # GCancellable *cancellable, 4117s # GError **error); 4117s # 4117s # 4117s # 4117s # /* ---- */ 4117s # 4117s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 4117s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 4117s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 4117s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 4117s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 4117s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 4117s # 4117s # typedef struct _FDPassingProxy FDPassingProxy; 4117s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 4117s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 4117s # 4117s # struct _FDPassingProxy 4117s # { 4117s # /*< private >*/ 4117s # GDBusProxy parent_instance; 4117s # FDPassingProxyPrivate *priv; 4117s # }; 4117s # 4117s # struct _FDPassingProxyClass 4117s # { 4117s # GDBusProxyClass parent_class; 4117s # }; 4117s # 4117s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 4117s # 4117s # #if GLIB_CHECK_VERSION(2, 44, 0) 4117s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 4117s # #endif 4117s # 4117s # void fdpassing_proxy_new ( 4117s # GDBusConnection *connection, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data); 4117s # FDPassing *fdpassing_proxy_new_finish ( 4117s # GAsyncResult *res, 4117s # GError **error); 4117s # FDPassing *fdpassing_proxy_new_sync ( 4117s # GDBusConnection *connection, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GError **error); 4117s # 4117s # void fdpassing_proxy_new_for_bus ( 4117s # GBusType bus_type, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GAsyncReadyCallback callback, 4117s # gpointer user_data); 4117s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 4117s # GAsyncResult *res, 4117s # GError **error); 4117s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 4117s # GBusType bus_type, 4117s # GDBusProxyFlags flags, 4117s # const gchar *name, 4117s # const gchar *object_path, 4117s # GCancellable *cancellable, 4117s # GError **error); 4117s # 4117s # 4117s # /* ---- */ 4117s # 4117s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 4117s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 4117s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 4117s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 4117s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 4117s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 4117s # 4117s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 4117s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 4117s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 4117s # 4117s # struct _FDPassingSkeleton 4117s # { 4117s # /*< private >*/ 4117s # GDBusInterfaceSkeleton parent_instance; 4117s # FDPassingSkeletonPrivate *priv; 4117s # }; 4117s # 4117s # struct _FDPassingSkeletonClass 4117s # { 4117s # GDBusInterfaceSkeletonClass parent_class; 4117s # }; 4117s # 4117s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 4117s # 4117s # #if GLIB_CHECK_VERSION(2, 44, 0) 4117s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 4117s # #endif 4117s # 4117s # FDPassing *fdpassing_skeleton_new (void); 4117s # 4117s # 4117s # G_END_DECLS 4117s # 4117s # #endif /* __STDOUT__ */ 4117s 1..39 4117s ok - glib/codegen.py.test 4117s # Running test: glib/spawn-singlethread.test 4117s TAP version 13 4117s # random seed: R02Sa6eddb38b4833df6d239f65396ccb2eb 4117s 1..9 4117s # Start of gthread tests 4117s # Executing: glib/spawn-singlethread.test 4117s ok 1 /gthread/spawn-single-sync 4117s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 4117s ok 2 /gthread/spawn-stderr-socket 4117s ok 3 /gthread/spawn-single-async 4117s # thread 1 4117s # thread 1 4117s ok 4 /gthread/spawn-single-async-with-fds 4117s ok 5 /gthread/spawn-async-with-invalid-fds 4117s ok 6 /gthread/spawn-script 4117s ok 7 /gthread/spawn-posix-spawn 4117s # Start of spawn tests 4117s ok 8 /gthread/spawn/nonexistent 4117s # FD map: 4117s # • 5 → 15 4117s # • 6 → 16 4117s # • 7 → 17 4117s # • 8 → 18 4117s # • 9 → 19 4117s # • 10 → 20 4117s # • 11 → 21 4117s # • 12 → 22 4117s # • 13 → 23 4117s # • 3 → 13 4117s ok 9 /gthread/spawn/fd-assignment-clash 4117s # End of spawn tests 4117s # End of gthread tests 4117s ok - glib/spawn-singlethread.test 4117s # Running test: glib/signal-handler.test 4117s TAP version 13 4117s # random seed: R02S78598798eabf9abf94e0b6d3f1880faf 4117s 1..7 4117s # Start of signal tests 4117s # Start of handler tests 4117s # min perf: connected 1 handlers in 0.000 seconds 4117s ok 1 /signal/handler/connect-many 4117s # min perf: disconnected 1 handlers in 0.000 seconds 4117s ok 2 /signal/handler/disconnect-many-ordered 4117s # min perf: disconnected 1 handlers in 0.000 seconds 4117s ok 3 /signal/handler/disconnect-many-inverse 4117s # min perf: disconnected 1 handlers in 0.000 seconds 4117s ok 4 /signal/handler/disconnect-many-random 4117s # min perf: disconnected 1 handlers in 0.000 seconds 4117s ok 5 /signal/handler/disconnect-2-signals 4117s # min perf: disconnected 1 handlers in 0.000 seconds 4117s ok 6 /signal/handler/disconnect-2-objects 4117s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 4117s ok 7 /signal/handler/block-many 4117s # End of handler tests 4117s # End of signal tests 4117s ok - glib/signal-handler.test 4117s # Running test: glib/thread-pool.test 4117s TAP version 13 4117s # random seed: R02Se3664ca05e8ed916b00f756f2dc8077a 4117s 1..5 4117s # Start of thread_pool tests 4117s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 4117s ok 1 /thread_pool/shared 4117s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 4117s ok 2 /thread_pool/exclusive 4117s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 4117s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 4117s ok 3 /thread_pool/create_shared_after_exclusive 4117s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 4117s ok 4 /thread_pool/create_full 4117s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 4117s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 4117s ok 5 /thread_pool/create_exclusive_after_shared 4117s # End of thread_pool tests 4117s ok - glib/thread-pool.test 4117s # Running test: glib/tree.test 4117s TAP version 13 4117s # random seed: R02S4929f329c2035fb40c99268f9b0dc26f 4117s 1..7 4117s # Start of tree tests 4117s ok 1 /tree/search 4117s ok 2 /tree/remove 4117s ok 3 /tree/destroy 4117s ok 4 /tree/traverse 4117s ok 5 /tree/insert 4117s ok 6 /tree/bounds 4117s ok 7 /tree/remove-all 4117s # End of tree tests 4117s ok - glib/tree.test 4117s # Running test: glib/environment.test 4117s TAP version 13 4117s # random seed: R02S306e4c28ca00231a27f7175e47ca72e2 4117s 1..6 4117s # Start of environ tests 4117s # /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. 4117s ok 1 /environ/listenv 4117s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 4117s ok 2 /environ/getenv 4117s ok 3 /environ/setenv 4117s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 4117s ok 4 /environ/array 4117s # /environ/null summary: Test getting and setting variables on a NULL envp array. 4117s ok 5 /environ/null 4117s # /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. 4117s ok 6 /environ/case 4117s # End of environ tests 4117s ok - glib/environment.test 4117s # Running test: glib/cxx.test 4117s TAP version 13 4117s # random seed: R02Sc1901781db13f2879e7a48436a7b1386 4117s 1..2 4117s # Start of gtask tests 4117s # 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. 4117s ok 1 /gtask/name 4117s # Start of name tests 4117s # 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. 4117s ok 2 /gtask/name/macro-wrapper 4117s # End of name tests 4117s # End of gtask tests 4117s ok - glib/cxx.test 4117s # Running test: glib/option-argv0.test 4117s TAP version 13 4117s # random seed: R02Sfcda79049501ba42c0835867e6b25d3e 4117s 1..1 4117s # Start of option tests 4117s ok 1 /option/argv0 4117s # End of option tests 4117s ok - glib/option-argv0.test 4117s # Running test: glib/io-channel-basic.test 4117s TAP version 13 4117s # random seed: R02S630b163d779edbfaed95c61325e8325d 4117s 1..1 4117s # Start of gio tests 4117s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 4117s # # random seed: R02S9d190a1b2f23e238a84a5beb1a636c06 4117s # # GLib-DEBUG: io-channel-basic: child writing 8+581 bytes to 6 4117s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4117s # GLib-DEBUG: io-channel-basic: ...from 5: 581 bytes 4117s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4118s # # GLib-DEBUG: io-channel-basic: child writing 8+4210 bytes to 6 4118s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4118s # GLib-DEBUG: io-channel-basic: ...from 5: 4210 bytes 4118s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4118s # # GLib-DEBUG: io-channel-basic: child writing 8+3437 bytes to 6 4118s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4118s # GLib-DEBUG: io-channel-basic: ...from 5: 3437 bytes 4118s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4118s # # GLib-DEBUG: io-channel-basic: child writing 8+1097 bytes to 6 4118s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4118s # GLib-DEBUG: io-channel-basic: ...from 5: 1097 bytes 4118s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4118s # # GLib-DEBUG: io-channel-basic: child writing 8+453 bytes to 6 4118s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4118s # GLib-DEBUG: io-channel-basic: ...from 5: 453 bytes 4118s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4119s # # GLib-DEBUG: io-channel-basic: child writing 8+1226 bytes to 6 4119s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4119s # GLib-DEBUG: io-channel-basic: ...from 5: 1226 bytes 4119s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4119s # # GLib-DEBUG: io-channel-basic: child writing 8+2288 bytes to 6 4119s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4119s # GLib-DEBUG: io-channel-basic: ...from 5: 2288 bytes 4119s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4119s # # GLib-DEBUG: io-channel-basic: child writing 8+3934 bytes to 6 4119s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4119s # GLib-DEBUG: io-channel-basic: ...from 5: 3934 bytes 4119s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4119s # # GLib-DEBUG: io-channel-basic: child writing 8+378 bytes to 6 4119s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4119s # GLib-DEBUG: io-channel-basic: ...from 5: 378 bytes 4119s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4120s # # GLib-DEBUG: io-channel-basic: child writing 8+1598 bytes to 6 4120s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4120s # GLib-DEBUG: io-channel-basic: ...from 5: 1598 bytes 4120s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4120s # # GLib-DEBUG: io-channel-basic: child writing 8+4079 bytes to 6 4120s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4120s # GLib-DEBUG: io-channel-basic: ...from 5: 4079 bytes 4120s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4120s # # GLib-DEBUG: io-channel-basic: child writing 8+2444 bytes to 6 4120s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4120s # GLib-DEBUG: io-channel-basic: ...from 5: 2444 bytes 4120s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4121s # # GLib-DEBUG: io-channel-basic: child writing 8+4088 bytes to 6 4121s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4121s # GLib-DEBUG: io-channel-basic: ...from 5: 4088 bytes 4121s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4121s # # GLib-DEBUG: io-channel-basic: child writing 8+3691 bytes to 6 4121s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4121s # GLib-DEBUG: io-channel-basic: ...from 5: 3691 bytes 4121s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4121s # # GLib-DEBUG: io-channel-basic: child writing 8+4265 bytes to 6 4121s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4121s # GLib-DEBUG: io-channel-basic: ...from 5: 4265 bytes 4121s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4121s # # GLib-DEBUG: io-channel-basic: child writing 8+3543 bytes to 6 4121s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4121s # GLib-DEBUG: io-channel-basic: ...from 5: 3543 bytes 4121s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4122s # # GLib-DEBUG: io-channel-basic: child writing 8+2889 bytes to 6 4122s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4122s # GLib-DEBUG: io-channel-basic: ...from 5: 2889 bytes 4122s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4122s # # GLib-DEBUG: io-channel-basic: child writing 8+477 bytes to 6 4122s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4122s # GLib-DEBUG: io-channel-basic: ...from 5: 477 bytes 4122s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4122s # Executing: glib/io-channel-basic.test 4122s # # GLib-DEBUG: io-channel-basic: child writing 8+2366 bytes to 6 4122s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4122s # GLib-DEBUG: io-channel-basic: ...from 5: 2366 bytes 4122s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4122s # # GLib-DEBUG: io-channel-basic: child writing 8+3152 bytes to 6 4122s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4122s # GLib-DEBUG: io-channel-basic: ...from 5: 3152 bytes 4122s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4123s # # GLib-DEBUG: io-channel-basic: child writing 8+4220 bytes to 6 4123s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4123s # GLib-DEBUG: io-channel-basic: ...from 5: 4220 bytes 4123s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4123s # # GLib-DEBUG: io-channel-basic: child writing 8+3027 bytes to 6 4123s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4123s # GLib-DEBUG: io-channel-basic: ...from 5: 3027 bytes 4123s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4123s # # GLib-DEBUG: io-channel-basic: child writing 8+2058 bytes to 6 4123s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4123s # GLib-DEBUG: io-channel-basic: ...from 5: 2058 bytes 4123s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4123s # # GLib-DEBUG: io-channel-basic: child writing 8+945 bytes to 6 4123s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4123s # GLib-DEBUG: io-channel-basic: ...from 5: 945 bytes 4123s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4124s # # GLib-DEBUG: io-channel-basic: child writing 8+2384 bytes to 6 4124s # GLib-DEBUG: io-channel-basic: ...from 5: IN 4124s # # GLib-DEBUG: io-channel-basic: child exiting, closing 6 4124s # GLib-DEBUG: io-channel-basic: ...from 5: 2384 bytes 4124s # GLib-DEBUG: io-channel-basic: ...from 5: OK 4124s # GLib-DEBUG: io-channel-basic: ...from 5: HUP 4124s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 4124s # # random seed: R02Sce82972db1626b754e2e93724609de41 4124s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 4124s # # random seed: R02Sb458f73a048f8877ce7b9803294a671d 4124s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 4124s # # random seed: R02S0a20b9c3e355035e707d370b63bdd64f 4124s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 4124s # # random seed: R02Sbbbf74170d8e72abcd73b9be00f0b82e 4124s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 4124s # # random seed: R02Se2db554706acf63a6f9951ba36645332 4124s # # GLib-DEBUG: io-channel-basic: child writing 8+1249 bytes to 13 4124s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4124s # GLib-DEBUG: io-channel-basic: ...from 12: 1249 bytes 4124s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4124s # # GLib-DEBUG: io-channel-basic: child writing 8+801 bytes to 9 4124s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4124s # GLib-DEBUG: io-channel-basic: ...from 8: 801 bytes 4124s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4124s # # GLib-DEBUG: io-channel-basic: child writing 8+1149 bytes to 11 4124s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4124s # GLib-DEBUG: io-channel-basic: ...from 10: 1149 bytes 4124s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4124s # # GLib-DEBUG: io-channel-basic: child writing 8+2426 bytes to 15 4124s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4124s # GLib-DEBUG: io-channel-basic: ...from 14: 2426 bytes 4124s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4124s # # GLib-DEBUG: io-channel-basic: child writing 8+2341 bytes to 17 4124s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4124s # GLib-DEBUG: io-channel-basic: ...from 16: 2341 bytes 4124s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4124s # # GLib-DEBUG: io-channel-basic: child writing 8+3465 bytes to 9 4124s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4124s # GLib-DEBUG: io-channel-basic: ...from 8: 3465 bytes 4124s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4124s # # GLib-DEBUG: io-channel-basic: child writing 8+697 bytes to 11 4124s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4124s # GLib-DEBUG: io-channel-basic: ...from 10: 697 bytes 4124s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4124s # # GLib-DEBUG: io-channel-basic: child writing 8+594 bytes to 13 4124s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4124s # GLib-DEBUG: io-channel-basic: ...from 12: 594 bytes 4124s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4124s # # GLib-DEBUG: io-channel-basic: child writing 8+2235 bytes to 17 4124s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4124s # GLib-DEBUG: io-channel-basic: ...from 16: 2235 bytes 4124s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4124s # # GLib-DEBUG: io-channel-basic: child writing 8+2284 bytes to 15 4124s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4124s # GLib-DEBUG: io-channel-basic: ...from 14: 2284 bytes 4124s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4124s # # GLib-DEBUG: io-channel-basic: child writing 8+4388 bytes to 9 4124s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4124s # GLib-DEBUG: io-channel-basic: ...from 8: 4388 bytes 4124s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4124s # # GLib-DEBUG: io-channel-basic: child writing 8+4747 bytes to 13 4124s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4124s # GLib-DEBUG: io-channel-basic: ...from 12: 4747 bytes 4124s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4124s # # GLib-DEBUG: io-channel-basic: child writing 8+3129 bytes to 11 4124s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4124s # GLib-DEBUG: io-channel-basic: ...from 10: 3129 bytes 4124s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+4444 bytes to 17 4125s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 16: 4444 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+257 bytes to 15 4125s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 14: 257 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+3074 bytes to 13 4125s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 12: 3074 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+3436 bytes to 9 4125s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 8: 3436 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+736 bytes to 11 4125s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 10: 736 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+14 bytes to 17 4125s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 16: 14 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+3657 bytes to 15 4125s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 14: 3657 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+1287 bytes to 13 4125s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 12: 1287 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+1452 bytes to 9 4125s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 8: 1452 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+657 bytes to 17 4125s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 16: 657 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+2539 bytes to 11 4125s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 10: 2539 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+4986 bytes to 15 4125s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 14: 4986 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+2412 bytes to 13 4125s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 12: 2412 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+2327 bytes to 9 4125s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 8: 2327 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+3427 bytes to 17 4125s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 16: 3427 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+3956 bytes to 11 4125s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 10: 3956 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4125s # # GLib-DEBUG: io-channel-basic: child writing 8+2019 bytes to 15 4125s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4125s # GLib-DEBUG: io-channel-basic: ...from 14: 2019 bytes 4125s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+1270 bytes to 13 4126s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 12: 1270 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+924 bytes to 17 4126s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 16: 924 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+323 bytes to 9 4126s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 8: 323 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+3329 bytes to 11 4126s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 10: 3329 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+4180 bytes to 15 4126s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 14: 4180 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+3988 bytes to 13 4126s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 12: 3988 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+4665 bytes to 17 4126s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 16: 4665 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+2344 bytes to 9 4126s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 8: 2344 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+2544 bytes to 11 4126s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 10: 2544 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+2015 bytes to 15 4126s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 14: 2015 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+2046 bytes to 13 4126s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 12: 2046 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+2165 bytes to 17 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+4146 bytes to 11 4126s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 10: 4146 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4126s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 16: 2165 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+1645 bytes to 9 4126s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 8: 1645 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+2575 bytes to 15 4126s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 14: 2575 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+3478 bytes to 13 4126s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 12: 3478 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+4729 bytes to 17 4126s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 16: 4729 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+1326 bytes to 11 4126s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 10: 1326 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+82 bytes to 9 4126s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 8: 82 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4126s # # GLib-DEBUG: io-channel-basic: child writing 8+1030 bytes to 15 4126s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4126s # GLib-DEBUG: io-channel-basic: ...from 14: 1030 bytes 4126s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+1290 bytes to 13 4127s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 12: 1290 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+2231 bytes to 11 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+2759 bytes to 17 4127s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 10: 2231 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4127s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 16: 2759 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+1894 bytes to 9 4127s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 8: 1894 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+1860 bytes to 15 4127s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 14: 1860 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+117 bytes to 13 4127s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 12: 117 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+1563 bytes to 17 4127s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 16: 1563 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+3075 bytes to 11 4127s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 10: 3075 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+3275 bytes to 9 4127s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 8: 3275 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+4279 bytes to 15 4127s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 14: 4279 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4127s # Executing: glib/io-channel-basic.test 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+317 bytes to 13 4127s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 12: 317 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+696 bytes to 17 4127s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 16: 696 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+3497 bytes to 15 4127s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 14: 3497 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+1260 bytes to 11 4127s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 10: 1260 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+2908 bytes to 9 4127s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 8: 2908 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+4838 bytes to 13 4127s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 12: 4838 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+4739 bytes to 17 4127s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 16: 4739 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+2266 bytes to 11 4127s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 10: 2266 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+3003 bytes to 9 4127s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 8: 3003 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4127s # # GLib-DEBUG: io-channel-basic: child writing 8+2420 bytes to 15 4127s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4127s # GLib-DEBUG: io-channel-basic: ...from 14: 2420 bytes 4127s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+2162 bytes to 13 4128s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 12: 2162 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+3473 bytes to 17 4128s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 16: 3473 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+1556 bytes to 11 4128s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 10: 1556 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+4517 bytes to 15 4128s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 14: 4517 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+3862 bytes to 9 4128s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 8: 3862 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+2811 bytes to 13 4128s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 12: 2811 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+939 bytes to 15 4128s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 14: 939 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+1907 bytes to 11 4128s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 10: 1907 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+3365 bytes to 17 4128s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 16: 3365 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+4685 bytes to 9 4128s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 8: 4685 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+4697 bytes to 13 4128s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 12: 4697 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+4223 bytes to 11 4128s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 10: 4223 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+4620 bytes to 15 4128s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 14: 4620 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+3193 bytes to 9 4128s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 8: 3193 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+3298 bytes to 17 4128s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 16: 3298 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+1317 bytes to 13 4128s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 12: 1317 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+2240 bytes to 11 4128s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 10: 2240 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+4088 bytes to 15 4128s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 14: 4088 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+35 bytes to 9 4128s # # GLib-DEBUG: io-channel-basic: child writing 8+1753 bytes to 17 4128s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 8: 35 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4128s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4128s # GLib-DEBUG: io-channel-basic: ...from 16: 1753 bytes 4128s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+1581 bytes to 11 4129s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 10: 1581 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+3067 bytes to 13 4129s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 12: 3067 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+1155 bytes to 15 4129s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 14: 1155 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+4603 bytes to 17 4129s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 16: 4603 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+1235 bytes to 9 4129s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 8: 1235 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+2456 bytes to 11 4129s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 10: 2456 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+2780 bytes to 13 4129s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 12: 2780 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+2975 bytes to 15 4129s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 14: 2975 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+2275 bytes to 17 4129s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 16: 2275 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+4470 bytes to 9 4129s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 8: 4470 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+4971 bytes to 11 4129s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 10: 4971 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+2022 bytes to 13 4129s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 12: 2022 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+1698 bytes to 15 4129s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 14: 1698 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+4643 bytes to 9 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+223 bytes to 17 4129s # GLib-DEBUG: io-channel-basic: ...from 8: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 8: 4643 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4129s # GLib-DEBUG: io-channel-basic: ...from 16: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 16: 223 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+2001 bytes to 11 4129s # GLib-DEBUG: io-channel-basic: ...from 10: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 10: 2001 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+1348 bytes to 13 4129s # GLib-DEBUG: io-channel-basic: ...from 12: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 12: 1348 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4129s # # GLib-DEBUG: io-channel-basic: child writing 8+900 bytes to 15 4129s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4129s # GLib-DEBUG: io-channel-basic: ...from 14: 900 bytes 4129s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4130s # # GLib-DEBUG: io-channel-basic: child writing 8+1932 bytes to 9 4130s # # GLib-DEBUG: io-channel-basic: child writing 8+2448 bytes to 17 4130s # # GLib-DEBUG: io-channel-basic: child exiting, closing 17 4130s # # GLib-DEBUG: io-channel-basic: child exiting, closing 9 4130s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 4130s # GLib-DEBUG: io-channel-basic: ...from 8: 1932 bytes 4130s # GLib-DEBUG: io-channel-basic: ...from 8: OK 4130s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 4130s # GLib-DEBUG: io-channel-basic: ...from 16: 2448 bytes 4130s # GLib-DEBUG: io-channel-basic: ...from 16: OK 4130s # # GLib-DEBUG: io-channel-basic: child writing 8+2887 bytes to 11 4130s # # GLib-DEBUG: io-channel-basic: child exiting, closing 11 4130s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 4130s # GLib-DEBUG: io-channel-basic: ...from 10: 2887 bytes 4130s # GLib-DEBUG: io-channel-basic: ...from 10: OK 4130s # # GLib-DEBUG: io-channel-basic: child writing 8+3595 bytes to 13 4130s # # GLib-DEBUG: io-channel-basic: child exiting, closing 13 4130s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 4130s # GLib-DEBUG: io-channel-basic: ...from 12: 3595 bytes 4130s # GLib-DEBUG: io-channel-basic: ...from 12: OK 4130s # # GLib-DEBUG: io-channel-basic: child writing 8+2733 bytes to 15 4130s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4130s # GLib-DEBUG: io-channel-basic: ...from 14: 2733 bytes 4130s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4130s # # GLib-DEBUG: io-channel-basic: child writing 8+1920 bytes to 15 4130s # GLib-DEBUG: io-channel-basic: ...from 14: IN 4130s # GLib-DEBUG: io-channel-basic: ...from 14: 1920 bytes 4130s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4130s # # GLib-DEBUG: io-channel-basic: child writing 8+3813 bytes to 15 4130s # # GLib-DEBUG: io-channel-basic: child exiting, closing 15 4130s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 4130s # GLib-DEBUG: io-channel-basic: ...from 14: 3813 bytes 4130s # GLib-DEBUG: io-channel-basic: ...from 14: OK 4130s ok 1 /gio/io-basics 4130s # slow test /gio/io-basics executed in 13.16 secs 4130s # End of gio tests 4130s ok - glib/io-channel-basic.test 4130s # Running test: glib/markup-escape.test 4130s TAP version 13 4130s # random seed: R02Se1c420ba5f70a13a5442432777d7cc5f 4130s 1..41 4130s # Start of markup tests 4130s ok 1 /markup/format 4130s # Start of escape-text tests 4130s ok 2 /markup/escape-text/0 4130s ok 3 /markup/escape-text/1 4130s ok 4 /markup/escape-text/2 4130s ok 5 /markup/escape-text/3 4130s ok 6 /markup/escape-text/4 4130s ok 7 /markup/escape-text/5 4130s ok 8 /markup/escape-text/6 4130s ok 9 /markup/escape-text/7 4130s ok 10 /markup/escape-text/8 4130s ok 11 /markup/escape-text/9 4130s ok 12 /markup/escape-text/10 4130s ok 13 /markup/escape-text/11 4130s ok 14 /markup/escape-text/12 4130s ok 15 /markup/escape-text/13 4130s ok 16 /markup/escape-text/14 4130s ok 17 /markup/escape-text/15 4130s ok 18 /markup/escape-text/16 4130s ok 19 /markup/escape-text/17 4130s ok 20 /markup/escape-text/18 4130s ok 21 /markup/escape-text/19 4130s ok 22 /markup/escape-text/20 4130s ok 23 /markup/escape-text/21 4130s ok 24 /markup/escape-text/22 4130s # End of escape-text tests 4130s # Start of escape-unichar tests 4130s ok 25 /markup/escape-unichar/0 4130s ok 26 /markup/escape-unichar/1 4130s ok 27 /markup/escape-unichar/2 4130s ok 28 /markup/escape-unichar/3 4130s ok 29 /markup/escape-unichar/4 4130s ok 30 /markup/escape-unichar/5 4130s ok 31 /markup/escape-unichar/6 4130s ok 32 /markup/escape-unichar/7 4130s ok 33 /markup/escape-unichar/8 4130s ok 34 /markup/escape-unichar/9 4130s ok 35 /markup/escape-unichar/10 4130s ok 36 /markup/escape-unichar/11 4130s ok 37 /markup/escape-unichar/12 4130s ok 38 /markup/escape-unichar/13 4130s ok 39 /markup/escape-unichar/14 4130s ok 40 /markup/escape-unichar/15 4130s ok 41 /markup/escape-unichar/16 4130s # End of escape-unichar tests 4130s # End of markup tests 4130s ok - glib/markup-escape.test 4130s # Running test: glib/gdbus-exit-on-close.test 4130s TAP version 13 4130s # random seed: R02S1b8519d79b8a52a19f628fc82fd248d4 4130s 1..4 4130s # Start of gdbus tests 4130s # Start of exit-on-close tests 4130s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/default/.dirs/home 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/default/.dirs/cache 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/default/.dirs/system-config2 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/default/.dirs/config 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/default/.dirs/system-data2 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/default/.dirs/data 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/default/.dirs/state 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/default/.dirs/runtime 4130s ok 1 /gdbus/exit-on-close/default 4130s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/true/.dirs/home 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/true/.dirs/cache 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/true/.dirs/system-config2 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/true/.dirs/config 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/true/.dirs/system-data2 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/true/.dirs/data 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/true/.dirs/state 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/true/.dirs/runtime 4130s ok 2 /gdbus/exit-on-close/true 4130s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/false/.dirs/home 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/false/.dirs/cache 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/false/.dirs/system-config2 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/false/.dirs/config 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/false/.dirs/system-data2 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/false/.dirs/data 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/false/.dirs/state 4130s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/false/.dirs/runtime 4131s ok 3 /gdbus/exit-on-close/false 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/we-close/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/we-close/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/we-close/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/we-close/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/we-close/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/we-close/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/we-close/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_LN3WJ2/gdbus/exit-on-close/we-close/.dirs/runtime 4131s ok 4 /gdbus/exit-on-close/we-close 4131s # Start of default tests 4131s # End of default tests 4131s # Start of true tests 4131s # End of true tests 4131s # Start of false tests 4131s # End of false tests 4131s # Start of we-close tests 4131s # End of we-close tests 4131s # End of exit-on-close tests 4131s # End of gdbus tests 4131s ok - glib/gdbus-exit-on-close.test 4131s # Running test: glib/resolver-parsing.test 4131s TAP version 13 4131s # random seed: R02S8418247bbddbf7bedeac4c61c7431957 4131s 1..20 4131s # Start of gresolver tests 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/invalid-header/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/invalid-header/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/invalid-header/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/invalid-header/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/invalid-header/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/invalid-header/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/invalid-header/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/invalid-header/.dirs/runtime 4131s ok 1 /gresolver/invalid-header 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/unknown-record-type/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/unknown-record-type/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/unknown-record-type/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/unknown-record-type/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/unknown-record-type/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/unknown-record-type/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/unknown-record-type/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/unknown-record-type/.dirs/runtime 4131s # GLib-GIO-DEBUG: Unrecognised DNS record type 20 4131s ok 2 /gresolver/unknown-record-type 4131s # Start of mx tests 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/valid/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/valid/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/mx/valid/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/valid/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/mx/valid/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/valid/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/valid/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/mx/valid/.dirs/runtime 4131s ok 3 /gresolver/mx/valid 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/.dirs/runtime 4131s ok 4 /gresolver/mx/invalid 4131s # Start of invalid tests 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short/.dirs/runtime 4131s ok 5 /gresolver/mx/invalid/too-short 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short2/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short2/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short2/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short2/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short2/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short2/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short2/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/mx/invalid/too-short2/.dirs/runtime 4131s ok 6 /gresolver/mx/invalid/too-short2 4131s # End of invalid tests 4131s # End of mx tests 4131s # Start of ns tests 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/ns/valid/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/ns/valid/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/ns/valid/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/ns/valid/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/ns/valid/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/ns/valid/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/ns/valid/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/ns/valid/.dirs/runtime 4131s ok 7 /gresolver/ns/valid 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/ns/invalid/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/ns/invalid/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/ns/invalid/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/ns/invalid/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/ns/invalid/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/ns/invalid/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/ns/invalid/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/ns/invalid/.dirs/runtime 4131s ok 8 /gresolver/ns/invalid 4131s # End of ns tests 4131s # Start of soa tests 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/valid/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/valid/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/soa/valid/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/valid/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/soa/valid/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/valid/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/valid/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/soa/valid/.dirs/runtime 4131s ok 9 /gresolver/soa/valid 4131s # Start of invalid tests 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/mname/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/mname/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/mname/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/mname/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/mname/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/mname/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/mname/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/mname/.dirs/runtime 4131s ok 10 /gresolver/soa/invalid/mname 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/rname/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/rname/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/rname/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/rname/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/rname/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/rname/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/rname/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/rname/.dirs/runtime 4131s ok 11 /gresolver/soa/invalid/rname 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/too-short/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/too-short/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/too-short/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/too-short/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/too-short/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/too-short/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/too-short/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/soa/invalid/too-short/.dirs/runtime 4131s ok 12 /gresolver/soa/invalid/too-short 4131s # End of invalid tests 4131s # End of soa tests 4131s # Start of srv tests 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/valid/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/valid/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/srv/valid/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/valid/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/srv/valid/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/valid/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/valid/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/srv/valid/.dirs/runtime 4131s ok 13 /gresolver/srv/valid 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/.dirs/runtime 4131s ok 14 /gresolver/srv/invalid 4131s # Start of invalid tests 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short/.dirs/runtime 4131s ok 15 /gresolver/srv/invalid/too-short 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short2/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short2/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short2/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short2/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short2/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short2/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short2/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/srv/invalid/too-short2/.dirs/runtime 4131s ok 16 /gresolver/srv/invalid/too-short2 4131s # End of invalid tests 4131s # End of srv tests 4131s # Start of txt tests 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/.dirs/runtime 4131s ok 17 /gresolver/txt/valid 4131s # Start of valid tests 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/multiple-strings/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/multiple-strings/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/multiple-strings/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/multiple-strings/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/multiple-strings/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/multiple-strings/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/multiple-strings/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/txt/valid/multiple-strings/.dirs/runtime 4131s ok 18 /gresolver/txt/valid/multiple-strings 4131s # End of valid tests 4131s # Start of invalid tests 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/empty/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/empty/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/empty/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/empty/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/empty/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/empty/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/empty/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/empty/.dirs/runtime 4131s ok 19 /gresolver/txt/invalid/empty 4131s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/overflow/.dirs/home 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/overflow/.dirs/cache 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/overflow/.dirs/system-config2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/overflow/.dirs/config 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/overflow/.dirs/system-data2 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/overflow/.dirs/data 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/overflow/.dirs/state 4131s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_6507J2/gresolver/txt/invalid/overflow/.dirs/runtime 4131s ok 20 /gresolver/txt/invalid/overflow 4131s # End of invalid tests 4131s # End of txt tests 4131s # End of gresolver tests 4131s ok - glib/resolver-parsing.test 4131s # Running test: glib/macros-c-11.test 4131s TAP version 13 4131s # random seed: R02S0934b260426962628a5d5498ee3921c0 4131s 1..4 4131s # Start of C tests 4131s ok 1 /C/standard-11 4131s # End of C tests 4131s # Start of alignof tests 4131s ok 2 /alignof/fallback 4131s # End of alignof tests 4131s # Start of assert tests 4131s ok 3 /assert/static 4131s # End of assert tests 4131s # Start of struct tests 4131s ok 4 /struct/sizeof_member 4131s # End of struct tests 4131s ok - glib/macros-c-11.test 4131s # Running test: glib/charset.test 4131s TAP version 13 4131s # random seed: R02S347a7369212f39fba743b67feb42c1e9 4131s 1..2 4131s # Start of charset tests 4131s # Test 0 4131s # Test 1 4131s # Test 2 4131s # Test 3 4131s ok 1 /charset/language_names_with_category 4131s ok 2 /charset/language_names_with_category_async 4131s # End of charset tests 4131s ok - glib/charset.test 4131s # Running test: glib/network-address.test 4131s TAP version 13 4131s # random seed: R02S6c7cd72ff75fd2c85ae15ddf9978fa32 4131s 1..72 4131s # Start of network-address tests 4131s ok 1 /network-address/basic 4131s ok 2 /network-address/scope-id 4131s ok 3 /network-address/uri-scope-id 4131s ok 4 /network-address/to-string 4131s # Start of parse-host tests 4131s ok 5 /network-address/parse-host/0 4131s ok 6 /network-address/parse-host/1 4131s ok 7 /network-address/parse-host/2 4131s ok 8 /network-address/parse-host/3 4131s ok 9 /network-address/parse-host/4 4131s ok 10 /network-address/parse-host/5 4131s ok 11 /network-address/parse-host/6 4131s ok 12 /network-address/parse-host/7 4131s ok 13 /network-address/parse-host/8 4131s ok 14 /network-address/parse-host/9 4131s ok 15 /network-address/parse-host/10 4131s ok 16 /network-address/parse-host/11 4131s ok 17 /network-address/parse-host/12 4131s ok 18 /network-address/parse-host/13 4131s # End of parse-host tests 4131s # Start of parse-uri tests 4131s ok 19 /network-address/parse-uri/0 4131s ok 20 /network-address/parse-uri/1 4131s ok 21 /network-address/parse-uri/2 4131s ok 22 /network-address/parse-uri/3 4131s ok 23 /network-address/parse-uri/4 4131s ok 24 /network-address/parse-uri/5 4131s ok 25 /network-address/parse-uri/6 4131s ok 26 /network-address/parse-uri/7 4131s ok 27 /network-address/parse-uri/8 4131s ok 28 /network-address/parse-uri/9 4131s # End of parse-uri tests 4131s # Start of resolve-address tests 4131s # Input: 192.168.1.2 4131s ok 29 /network-address/resolve-address/0 4131s # Input: fe80::42 4131s ok 30 /network-address/resolve-address/1 4131s # Input: 192.168.1.2:80 4131s ok 31 /network-address/resolve-address/2 4131s # Input: [fe80::42] 4131s ok 32 /network-address/resolve-address/3 4131s # Input: [fe80::42]:80 4131s ok 33 /network-address/resolve-address/4 4131s # Input: 192.168.258 4131s ok 34 /network-address/resolve-address/5 4131s # Input: 192.11010306 4131s ok 35 /network-address/resolve-address/6 4131s # Input: 3232235778 4131s ok 36 /network-address/resolve-address/7 4131s # Input: 0300.0250.0001.0001 4131s ok 37 /network-address/resolve-address/8 4131s # Input: 0xC0.0xA8.0x01.0x02 4131s ok 38 /network-address/resolve-address/9 4131s # Input: 0xc0.0xa8.0x01.0x02 4131s ok 39 /network-address/resolve-address/10 4131s # Input: 0xc0a80102 4131s ok 40 /network-address/resolve-address/11 4131s # End of resolve-address tests 4131s # Start of loopback tests 4131s ok 41 /network-address/loopback/basic 4131s ok 42 /network-address/loopback/sync 4131s ok 43 /network-address/loopback/async 4131s # End of loopback tests 4131s # Start of localhost tests 4131s ok 44 /network-address/localhost/async 4131s ok 45 /network-address/localhost/sync 4131s # End of localhost tests 4131s # Start of happy-eyeballs tests 4131s ok 46 /network-address/happy-eyeballs/basic 4131s ok 47 /network-address/happy-eyeballs/parallel 4131s ok 48 /network-address/happy-eyeballs/slow-ipv4 4131s ok 49 /network-address/happy-eyeballs/slow-ipv6 4131s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 4132s # Executing: glib/network-address.test 4132s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 4132s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 4132s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 4132s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 4132s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 4132s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 4132s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 4132s # /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. 4132s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 4132s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 4132s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 4132s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 4132s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 4132s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 4132s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 4132s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 4132s ok 57 /network-address/happy-eyeballs/both-error 4132s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 4132s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 4132s ok 58 /network-address/happy-eyeballs/both-error-delays-1 4132s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 4132s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 4132s ok 59 /network-address/happy-eyeballs/both-error-delays-2 4132s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 4132s ok 60 /network-address/happy-eyeballs/both-error-delays-3 4132s # End of happy-eyeballs tests 4132s # End of network-address tests 4132s # Start of gresolver tests 4132s # Start of resolve-address tests 4132s # Input: 192.168.1.2 4132s ok 61 /gresolver/resolve-address/0 4132s # Input: fe80::42 4132s ok 62 /gresolver/resolve-address/1 4132s # Input: 192.168.1.2:80 4132s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 4132s ok 63 /gresolver/resolve-address/2 4132s # Input: [fe80::42] 4132s # Error: Error resolving ?[fe80::42]?: Name or service not known 4132s ok 64 /gresolver/resolve-address/3 4132s # Input: [fe80::42]:80 4132s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 4132s ok 65 /gresolver/resolve-address/4 4132s # Input: 192.168.258 4132s # Error: Error resolving ?192.168.258?: Name or service not known 4132s ok 66 /gresolver/resolve-address/5 4132s # Input: 192.11010306 4132s # Error: Error resolving ?192.11010306?: Name or service not known 4132s ok 67 /gresolver/resolve-address/6 4132s # Input: 3232235778 4132s # Error: Error resolving ?3232235778?: Name or service not known 4132s ok 68 /gresolver/resolve-address/7 4132s # Input: 0300.0250.0001.0001 4132s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 4132s ok 69 /gresolver/resolve-address/8 4132s # Input: 0xC0.0xA8.0x01.0x02 4132s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 4132s ok 70 /gresolver/resolve-address/9 4132s # Input: 0xc0.0xa8.0x01.0x02 4132s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 4132s ok 71 /gresolver/resolve-address/10 4132s # Input: 0xc0a80102 4132s # Error: Error resolving ?0xc0a80102?: Name or service not known 4132s ok 72 /gresolver/resolve-address/11 4132s # End of resolve-address tests 4132s # End of gresolver tests 4132s ok - glib/network-address.test 4132s # Running test: glib/atomic-c-11.test 4132s TAP version 13 4132s # random seed: R02Sb3b9751f0d395ba6108a6736a382866a 4132s 1..2 4132s # Start of atomic tests 4133s ok 1 /atomic/types 4133s ok 2 /atomic/threaded 4133s # slow test /atomic/threaded executed in 0.69 secs 4133s # End of atomic tests 4133s ok - glib/atomic-c-11.test 4133s # Running test: glib/readwrite.test 4133s TAP version 13 4133s # random seed: R02S4196f7045bedcd1c339e783487678900 4133s 1..3 4133s # Start of readwrite tests 4133s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 4133s ok 1 /readwrite/test_g_file_open_readwrite 4133s ok 2 /readwrite/test_g_file_create_readwrite 4133s ok 3 /readwrite/test_g_file_replace_readwrite 4133s # End of readwrite tests 4133s ok - glib/readwrite.test 4133s # Running test: glib/gsocketclient-slow.test 4133s TAP version 13 4133s # random seed: R02S496caf45b460968f168785990c0b2a1c 4133s 1..3 4133s # Start of socket-client tests 4133s # Start of happy-eyeballs tests 4133s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 4133s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbc41f140aaf0 and GSocketClientAsyncConnectData 0xbc41f14042b0 4133s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4133s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4133s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbc41f140c200 for GSocketClientAsyncConnectData 0xbc41f14042b0 4133s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4134s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 4134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4134s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4134s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4134s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 4134s ok 1 /socket-client/happy-eyeballs/slow 4134s # slow test /socket-client/happy-eyeballs/slow executed in 0.61 secs 4134s # Start of cancellation tests 4134s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbc41f140f950 and GSocketClientAsyncConnectData 0xbc41f140ba10 4134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4134s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 4134s ok 2 /socket-client/happy-eyeballs/cancellation/instant 4134s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbc41f140e710 and GSocketClientAsyncConnectData 0xbc41f14042b0 4134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4134s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4134s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbc41f1410540 for GSocketClientAsyncConnectData 0xbc41f14042b0 4134s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4134s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 4134s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4134s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4134s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4134s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 4134s ok 3 /socket-client/happy-eyeballs/cancellation/delayed 4134s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 4134s # End of cancellation tests 4134s # End of happy-eyeballs tests 4134s # End of socket-client tests 4134s ok - glib/gsocketclient-slow.test 4134s # Running test: glib/utf8-validate.test 4134s TAP version 13 4134s # random seed: R02Sa5660f0b9a4cd4d60e0fa774354531ae 4134s 1..216 4134s # Start of utf8 tests 4134s # Vector 0 4134s # Vector 1 4134s # Vector 2 4134s # Vector 3 4134s # Vector 4 4134s # Vector 5 4134s # Vector 6 4134s # Vector 7 4134s # Vector 8 4134s # Vector 9 4134s # Vector 10 4134s # Vector 11 4134s # Vector 12 4134s # Vector 13 4134s # Vector 14 4134s # Vector 15 4134s # Vector 16 4134s # Vector 17 4134s # Vector 18 4134s # Vector 19 4134s # Vector 20 4134s # Vector 21 4134s # Vector 22 4134s # Vector 23 4134s # Vector 24 4134s # Vector 25 4134s # Vector 26 4134s # Vector 27 4134s ok 1 /utf8/get-char-validated 4134s # Start of validate tests 4134s ok 2 /utf8/validate/0 4134s ok 3 /utf8/validate/1 4134s ok 4 /utf8/validate/2 4134s ok 5 /utf8/validate/3 4134s ok 6 /utf8/validate/4 4134s ok 7 /utf8/validate/5 4134s ok 8 /utf8/validate/6 4134s ok 9 /utf8/validate/7 4134s ok 10 /utf8/validate/8 4134s ok 11 /utf8/validate/9 4134s ok 12 /utf8/validate/10 4134s ok 13 /utf8/validate/11 4134s ok 14 /utf8/validate/12 4134s ok 15 /utf8/validate/13 4134s ok 16 /utf8/validate/14 4134s ok 17 /utf8/validate/15 4134s ok 18 /utf8/validate/16 4134s ok 19 /utf8/validate/17 4134s ok 20 /utf8/validate/18 4134s ok 21 /utf8/validate/19 4134s ok 22 /utf8/validate/20 4134s ok 23 /utf8/validate/21 4134s ok 24 /utf8/validate/22 4134s ok 25 /utf8/validate/23 4134s ok 26 /utf8/validate/24 4134s ok 27 /utf8/validate/25 4134s ok 28 /utf8/validate/26 4134s ok 29 /utf8/validate/27 4134s ok 30 /utf8/validate/28 4134s ok 31 /utf8/validate/29 4134s ok 32 /utf8/validate/30 4134s ok 33 /utf8/validate/31 4134s ok 34 /utf8/validate/32 4134s ok 35 /utf8/validate/33 4134s ok 36 /utf8/validate/34 4134s ok 37 /utf8/validate/35 4134s ok 38 /utf8/validate/36 4134s ok 39 /utf8/validate/37 4134s ok 40 /utf8/validate/38 4134s ok 41 /utf8/validate/39 4134s ok 42 /utf8/validate/40 4134s ok 43 /utf8/validate/41 4134s ok 44 /utf8/validate/42 4134s ok 45 /utf8/validate/43 4134s ok 46 /utf8/validate/44 4134s ok 47 /utf8/validate/45 4134s ok 48 /utf8/validate/46 4134s ok 49 /utf8/validate/47 4134s ok 50 /utf8/validate/48 4134s ok 51 /utf8/validate/49 4134s ok 52 /utf8/validate/50 4134s ok 53 /utf8/validate/51 4134s ok 54 /utf8/validate/52 4134s ok 55 /utf8/validate/53 4134s ok 56 /utf8/validate/54 4134s ok 57 /utf8/validate/55 4134s ok 58 /utf8/validate/56 4134s ok 59 /utf8/validate/57 4134s ok 60 /utf8/validate/58 4134s ok 61 /utf8/validate/59 4134s ok 62 /utf8/validate/60 4134s ok 63 /utf8/validate/61 4134s ok 64 /utf8/validate/62 4134s ok 65 /utf8/validate/63 4134s ok 66 /utf8/validate/64 4134s ok 67 /utf8/validate/65 4134s ok 68 /utf8/validate/66 4134s ok 69 /utf8/validate/67 4134s ok 70 /utf8/validate/68 4134s ok 71 /utf8/validate/69 4134s ok 72 /utf8/validate/70 4134s ok 73 /utf8/validate/71 4134s ok 74 /utf8/validate/72 4134s ok 75 /utf8/validate/73 4134s ok 76 /utf8/validate/74 4134s ok 77 /utf8/validate/75 4134s ok 78 /utf8/validate/76 4134s ok 79 /utf8/validate/77 4134s ok 80 /utf8/validate/78 4134s ok 81 /utf8/validate/79 4134s ok 82 /utf8/validate/80 4134s ok 83 /utf8/validate/81 4134s ok 84 /utf8/validate/82 4134s ok 85 /utf8/validate/83 4134s ok 86 /utf8/validate/84 4134s ok 87 /utf8/validate/85 4134s ok 88 /utf8/validate/86 4134s ok 89 /utf8/validate/87 4134s ok 90 /utf8/validate/88 4134s ok 91 /utf8/validate/89 4134s ok 92 /utf8/validate/90 4134s ok 93 /utf8/validate/91 4134s ok 94 /utf8/validate/92 4134s ok 95 /utf8/validate/93 4134s ok 96 /utf8/validate/94 4134s ok 97 /utf8/validate/95 4134s ok 98 /utf8/validate/96 4134s ok 99 /utf8/validate/97 4134s ok 100 /utf8/validate/98 4134s ok 101 /utf8/validate/99 4134s ok 102 /utf8/validate/100 4134s ok 103 /utf8/validate/101 4134s ok 104 /utf8/validate/102 4134s ok 105 /utf8/validate/103 4134s ok 106 /utf8/validate/104 4134s ok 107 /utf8/validate/105 4134s ok 108 /utf8/validate/106 4134s ok 109 /utf8/validate/107 4134s ok 110 /utf8/validate/108 4134s ok 111 /utf8/validate/109 4134s ok 112 /utf8/validate/110 4134s ok 113 /utf8/validate/111 4134s ok 114 /utf8/validate/112 4134s ok 115 /utf8/validate/113 4134s ok 116 /utf8/validate/114 4134s ok 117 /utf8/validate/115 4134s ok 118 /utf8/validate/116 4134s ok 119 /utf8/validate/117 4134s ok 120 /utf8/validate/118 4134s ok 121 /utf8/validate/119 4134s ok 122 /utf8/validate/120 4134s ok 123 /utf8/validate/121 4134s ok 124 /utf8/validate/122 4134s ok 125 /utf8/validate/123 4134s ok 126 /utf8/validate/124 4134s ok 127 /utf8/validate/125 4134s ok 128 /utf8/validate/126 4134s ok 129 /utf8/validate/127 4134s ok 130 /utf8/validate/128 4134s ok 131 /utf8/validate/129 4134s ok 132 /utf8/validate/130 4134s ok 133 /utf8/validate/131 4134s ok 134 /utf8/validate/132 4134s ok 135 /utf8/validate/133 4134s ok 136 /utf8/validate/134 4134s ok 137 /utf8/validate/135 4134s ok 138 /utf8/validate/136 4134s ok 139 /utf8/validate/137 4134s ok 140 /utf8/validate/138 4134s ok 141 /utf8/validate/139 4134s ok 142 /utf8/validate/140 4134s ok 143 /utf8/validate/141 4135s ok 144 /utf8/validate/142 4135s ok 145 /utf8/validate/143 4135s ok 146 /utf8/validate/144 4135s ok 147 /utf8/validate/145 4135s ok 148 /utf8/validate/146 4135s ok 149 /utf8/validate/147 4135s ok 150 /utf8/validate/148 4135s ok 151 /utf8/validate/149 4135s ok 152 /utf8/validate/150 4135s ok 153 /utf8/validate/151 4135s ok 154 /utf8/validate/152 4135s ok 155 /utf8/validate/153 4135s ok 156 /utf8/validate/154 4135s ok 157 /utf8/validate/155 4135s ok 158 /utf8/validate/156 4135s ok 159 /utf8/validate/157 4135s ok 160 /utf8/validate/158 4135s ok 161 /utf8/validate/159 4135s ok 162 /utf8/validate/160 4135s ok 163 /utf8/validate/161 4135s ok 164 /utf8/validate/162 4135s ok 165 /utf8/validate/163 4135s ok 166 /utf8/validate/164 4135s ok 167 /utf8/validate/165 4135s ok 168 /utf8/validate/166 4135s ok 169 /utf8/validate/167 4135s ok 170 /utf8/validate/168 4135s ok 171 /utf8/validate/169 4135s ok 172 /utf8/validate/170 4135s ok 173 /utf8/validate/171 4135s ok 174 /utf8/validate/172 4135s ok 175 /utf8/validate/173 4135s ok 176 /utf8/validate/174 4135s ok 177 /utf8/validate/175 4135s ok 178 /utf8/validate/176 4135s ok 179 /utf8/validate/177 4135s ok 180 /utf8/validate/178 4135s ok 181 /utf8/validate/179 4135s ok 182 /utf8/validate/180 4135s ok 183 /utf8/validate/181 4135s ok 184 /utf8/validate/182 4135s ok 185 /utf8/validate/183 4135s ok 186 /utf8/validate/184 4135s ok 187 /utf8/validate/185 4135s ok 188 /utf8/validate/186 4135s ok 189 /utf8/validate/187 4135s ok 190 /utf8/validate/188 4135s ok 191 /utf8/validate/189 4135s ok 192 /utf8/validate/190 4135s ok 193 /utf8/validate/191 4135s ok 194 /utf8/validate/192 4135s ok 195 /utf8/validate/193 4135s ok 196 /utf8/validate/194 4135s ok 197 /utf8/validate/195 4135s ok 198 /utf8/validate/196 4135s ok 199 /utf8/validate/197 4135s ok 200 /utf8/validate/198 4135s ok 201 /utf8/validate/199 4135s ok 202 /utf8/validate/200 4135s ok 203 /utf8/validate/201 4135s ok 204 /utf8/validate/202 4135s ok 205 /utf8/validate/203 4135s ok 206 /utf8/validate/204 4135s ok 207 /utf8/validate/205 4135s ok 208 /utf8/validate/206 4135s ok 209 /utf8/validate/207 4135s ok 210 /utf8/validate/208 4135s ok 211 /utf8/validate/209 4135s ok 212 /utf8/validate/210 4135s ok 213 /utf8/validate/211 4135s ok 214 /utf8/validate/212 4135s ok 215 /utf8/validate/213 4135s ok 216 /utf8/validate/214 4135s # End of validate tests 4135s # End of utf8 tests 4135s ok - glib/utf8-validate.test 4135s # Running test: glib/enums.test 4135s TAP version 13 4135s # random seed: R02S520f8807655d25bbbee223183b80f6bf 4135s 1..4 4135s # Start of enum tests 4135s ok 1 /enum/basic 4135s ok 2 /enum/define-type 4135s # End of enum tests 4135s # Start of flags tests 4135s ok 3 /flags/basic 4135s ok 4 /flags/define-type 4135s # End of flags tests 4135s ok - glib/enums.test 4135s # Running test: glib/srvtarget.test 4135s TAP version 13 4135s # random seed: R02S2f2fef7388b8a5f68119551c94349195 4135s 1..1 4135s # Start of srvtarget tests 4136s ok 1 /srvtarget/srv-target-ordering 4136s # slow test /srvtarget/srv-target-ordering executed in 1.57 secs 4136s # End of srvtarget tests 4136s ok - glib/srvtarget.test 4136s # Running test: glib/cxx-2b.test 4136s TAP version 13 4136s # random seed: R02S940ae62eb7f4a8ae6e6834b77965b1cc 4136s 1..2 4136s # Start of gtask tests 4136s # 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. 4136s ok 1 /gtask/name 4136s # Start of name tests 4136s # 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. 4136s ok 2 /gtask/name/macro-wrapper 4136s # End of name tests 4136s # End of gtask tests 4136s ok - glib/cxx-2b.test 4136s # Running test: glib/portal-support-snap.test 4136s TAP version 13 4136s # random seed: R02Sc06660a6c8c66c7c7feb95c1999d71b1 4136s 1..7 4136s # Start of portal-support tests 4136s # Start of snap tests 4136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/no-snapctl/.dirs/home 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/no-snapctl/.dirs/cache 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/no-snapctl/.dirs/system-config2 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/no-snapctl/.dirs/config 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/no-snapctl/.dirs/system-data2 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/no-snapctl/.dirs/data 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/no-snapctl/.dirs/state 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/no-snapctl/.dirs/runtime 4136s # Created snap.yaml in /tmp/test_portal-support-snap_GU4YJ2/meta/snap.yaml 4136s ok 1 /portal-support/snap/no-snapctl 4136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/none/.dirs/home 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/none/.dirs/cache 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/none/.dirs/system-config2 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/none/.dirs/config 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/none/.dirs/system-data2 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/none/.dirs/data 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/none/.dirs/state 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/none/.dirs/runtime 4136s # Created snap.yaml in /tmp/test_portal-support-snap_GU4YJ2/meta/snap.yaml 4136s # Created snapctl in /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/none/.dirs/runtime/snapctl 4136s ok 2 /portal-support/snap/none 4136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/all/.dirs/home 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/all/.dirs/cache 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/all/.dirs/system-config2 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/all/.dirs/config 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/all/.dirs/system-data2 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/all/.dirs/data 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/all/.dirs/state 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/all/.dirs/runtime 4136s # Created snap.yaml in /tmp/test_portal-support-snap_GU4YJ2/meta/snap.yaml 4136s # Created snapctl in /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/all/.dirs/runtime/snapctl 4136s ok 3 /portal-support/snap/all 4136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/desktop-only/.dirs/home 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/desktop-only/.dirs/cache 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/desktop-only/.dirs/system-config2 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/desktop-only/.dirs/config 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/desktop-only/.dirs/system-data2 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/desktop-only/.dirs/data 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/desktop-only/.dirs/state 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/desktop-only/.dirs/runtime 4136s # Created snap.yaml in /tmp/test_portal-support-snap_GU4YJ2/meta/snap.yaml 4136s # Created snapctl in /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/desktop-only/.dirs/runtime/snapctl 4136s ok 4 /portal-support/snap/desktop-only 4136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/network-only/.dirs/home 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/network-only/.dirs/cache 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/network-only/.dirs/system-config2 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/network-only/.dirs/config 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/network-only/.dirs/system-data2 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/network-only/.dirs/data 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/network-only/.dirs/state 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/network-only/.dirs/runtime 4136s # Created snap.yaml in /tmp/test_portal-support-snap_GU4YJ2/meta/snap.yaml 4136s # Created snapctl in /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/network-only/.dirs/runtime/snapctl 4136s ok 5 /portal-support/snap/network-only 4136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/gsettings-only/.dirs/home 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/gsettings-only/.dirs/cache 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/gsettings-only/.dirs/system-config2 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/gsettings-only/.dirs/config 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/gsettings-only/.dirs/system-data2 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/gsettings-only/.dirs/data 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/gsettings-only/.dirs/state 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/gsettings-only/.dirs/runtime 4136s # Created snap.yaml in /tmp/test_portal-support-snap_GU4YJ2/meta/snap.yaml 4136s # Created snapctl in /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 4136s ok 6 /portal-support/snap/gsettings-only 4136s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/home 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/cache 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/system-config2 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/config 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/system-data2 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/data 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/state 4136s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/runtime 4136s # Created snap.yaml in /tmp/test_portal-support-snap_GU4YJ2/meta/snap.yaml 4136s # Created snapctl in /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 4136s # Created snapctl in /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 4136s # Created snapctl in /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 4136s # Created snapctl in /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 4136s # Created snapctl in /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 4136s # Created snapctl in /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 4136s # Created snapctl in /tmp/test_portal-support-snap_GU4YJ2/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 4136s ok 7 /portal-support/snap/updates-dynamically 4136s # End of snap tests 4136s # End of portal-support tests 4136s ok - glib/portal-support-snap.test 4136s # Running test: glib/gdatetime.test 4136s TAP version 13 4136s # random seed: R02S18a9c16a39f05d5a1747a308bf484819 4136s 1..68 4136s # Start of GDateTime tests 4136s # Bug Reference: http://bugzilla.gnome.org/702674 4136s ok 1 /GDateTime/invalid 4136s ok 2 /GDateTime/add_days 4136s ok 3 /GDateTime/add_full 4136s ok 4 /GDateTime/add_hours 4136s ok 5 /GDateTime/add_minutes 4136s ok 6 /GDateTime/add_months 4136s ok 7 /GDateTime/add_seconds 4136s ok 8 /GDateTime/add_weeks 4136s ok 9 /GDateTime/add_years 4136s ok 10 /GDateTime/compare 4136s ok 11 /GDateTime/diff 4136s ok 12 /GDateTime/equal 4136s ok 13 /GDateTime/get_day_of_week 4136s ok 14 /GDateTime/get_day_of_month 4136s ok 15 /GDateTime/get_day_of_year 4136s ok 16 /GDateTime/get_hour 4136s ok 17 /GDateTime/get_microsecond 4136s ok 18 /GDateTime/get_minute 4136s ok 19 /GDateTime/get_month 4136s ok 20 /GDateTime/get_second 4136s ok 21 /GDateTime/get_utc_offset 4136s ok 22 /GDateTime/get_year 4136s ok 23 /GDateTime/hash 4136s ok 24 /GDateTime/new_from_unix 4136s ok 25 /GDateTime/new_from_unix_utc 4136s ok 26 /GDateTime/new_from_timeval 4136s ok 27 /GDateTime/new_from_timeval_utc 4136s ok 28 /GDateTime/new_from_iso8601 4136s ok 29 /GDateTime/new_full 4136s ok 30 /GDateTime/now 4136s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 4136s ok 31 /GDateTime/test-6-days-until-end-of-the-month 4136s # %a -> expected: Sat 4136s # %a -> actual: Sat 4136s # %A -> expected: Saturday 4136s # %A -> actual: Saturday 4136s # %b -> expected: Oct 4136s # %b -> actual: Oct 4136s # %B -> expected: October 4136s # %B -> actual: October 4136s # %d -> expected: 24 4136s # %d -> actual: 24 4136s # %d -> expected: 01 4136s # %d -> actual: 01 4136s # %e -> expected: 24 4136s # %e -> actual: 24 4136s # %e -> expected:  1 4136s # %e -> actual:  1 4136s # %f -> expected: 001000 4136s # %f -> actual: 001000 4136s # %h -> expected: Oct 4136s # %h -> actual: Oct 4136s # %H -> expected: 00 4136s # %H -> actual: 00 4136s # %H -> expected: 15 4136s # %H -> actual: 15 4136s # %I -> expected: 12 4136s # %I -> actual: 12 4136s # %I -> expected: 12 4136s # %I -> actual: 12 4136s # %I -> expected: 03 4136s # %I -> actual: 03 4136s # %j -> expected: 297 4136s # %j -> actual: 297 4136s # %k -> expected:  0 4136s # %k -> actual:  0 4136s # %k -> expected: 13 4136s # %k -> actual: 13 4136s # %l -> expected: 12 4136s # %l -> actual: 12 4136s # %I -> expected: 12 4136s # %I -> actual: 12 4136s # %l -> expected:  1 4136s # %l -> actual:  1 4136s # %l -> expected: 10 4136s # %l -> actual: 10 4136s # %m -> expected: 10 4136s # %m -> actual: 10 4136s # %M -> expected: 00 4136s # %M -> actual: 00 4136s # %p -> expected: AM 4136s # %p -> actual: AM 4136s # %p -> expected: PM 4136s # %p -> actual: PM 4136s # %P -> expected: am 4136s # %P -> actual: am 4136s # %P -> expected: pm 4136s # %P -> actual: pm 4136s # %r -> expected: 12:00:00 AM 4136s # %r -> actual: 12:00:00 AM 4136s # %r -> expected: 01:13:13 PM 4136s # %r -> actual: 01:13:13 PM 4136s # %R -> expected: 00:00 4136s # %R -> actual: 00:00 4136s # %R -> expected: 13:13 4136s # %R -> actual: 13:13 4136s # %S -> expected: 00 4136s # %S -> actual: 00 4136s # %t -> expected: 4136s # %t -> actual: 4136s # %u -> expected: 6 4136s # %u -> actual: 6 4136s # %x -> expected: 10/24/09 4136s # %x -> actual: 10/24/09 4136s # %X -> expected: 00:00:00 4136s # %X -> actual: 00:00:00 4136s # %X -> expected: 13:14:15 4136s # %X -> actual: 13:14:15 4136s # %y -> expected: 09 4136s # %y -> actual: 09 4136s # %Y -> expected: 2009 4136s # %Y -> actual: 2009 4136s # %% -> expected: % 4136s # %% -> actual: % 4136s # % -> expected: 4136s # % -> actual: 4136s # %9 -> expected: (null) 4136s # %9 -> actual: (null) 4136s # %Z -> expected: UTC 4136s # %Z -> actual: UTC 4136s ok 32 /GDateTime/printf 4136s # %a -> expected: 4136s # %a -> actual: 4136s # %A -> expected: 4136s # %A -> actual: 4136s # %b -> expected: 10 4136s # %b -> actual: 10 4136s # %B -> expected: 10 4136s # %B -> actual: 10 4136s # %c -> expected: 2009ǯ1024 0000ʬ00 4136s # %c -> actual: 2009ǯ1024 0000ʬ00 4136s # %C -> expected: 20 4136s # %C -> actual: 20 4136s # %d -> expected: 24 4136s # %d -> actual: 24 4136s # %d -> expected: 01 4136s # %d -> actual: 01 4136s # %e -> expected: 24 4136s # %e -> actual: 24 4136s # %h -> expected: 10 4136s # %h -> actual: 10 4136s # %H -> expected: 00 4136s # %H -> actual: 00 4136s # %H -> expected: 15 4136s # %H -> actual: 15 4136s # %I -> expected: 12 4136s # %I -> actual: 12 4136s # %I -> expected: 12 4136s # %I -> actual: 12 4136s # %I -> expected: 03 4136s # %I -> actual: 03 4136s # %j -> expected: 297 4136s # %j -> actual: 297 4136s # %k -> expected: ?0 4136s # %k -> actual: ?0 4136s # %k -> expected: 13 4136s # %k -> actual: 13 4136s # %l -> expected: 12 4136s # %l -> actual: 12 4136s # %I -> expected: 12 4136s # %I -> actual: 12 4136s # %l -> expected: ?1 4136s # %l -> actual: ?1 4136s # %l -> expected: 10 4136s # %l -> actual: 10 4136s # %m -> expected: 10 4136s # %m -> actual: 10 4136s # %M -> expected: 00 4136s # %M -> actual: 00 4136s # %p -> expected: 4136s # %p -> actual: 4136s # %p -> expected: 4136s # %p -> actual: 4136s # %P -> expected: 4136s # %P -> actual: 4136s # %P -> expected: 4136s # %P -> actual: 4136s # %r -> expected: 1200ʬ00 4136s # %r -> actual: 1200ʬ00 4136s # %r -> expected: 0113ʬ13 4136s # %r -> actual: 0113ʬ13 4136s # %R -> expected: 00:00 4136s # %R -> actual: 00:00 4136s # %R -> expected: 13:13 4136s # %R -> actual: 13:13 4136s # %S -> expected: 00 4136s # %S -> actual: 00 4136s # %t -> expected: 4136s # %t -> actual: 4136s # %u -> expected: 6 4136s # %u -> actual: 6 4136s # %x -> expected: 2009ǯ1024 4136s # %x -> actual: 2009ǯ1024 4136s # %X -> expected: 0000ʬ00 4136s # %X -> actual: 0000ʬ00 4136s # %X -> expected: 1314ʬ15 4136s # %X -> actual: 1314ʬ15 4136s # %y -> expected: 09 4136s # %y -> actual: 09 4136s # %Y -> expected: 2009 4136s # %Y -> actual: 2009 4136s # %% -> expected: % 4136s # %% -> actual: % 4136s # % -> expected: 4136s # % -> actual: 4136s # %9 -> expected: (null) 4136s # %9 -> actual: (null) 4136s # %Ec -> expected: ʿ21ǯ1024 0000ʬ00 4136s # %Ec -> actual: ʿ21ǯ1024 0000ʬ00 4136s # %EC -> expected: ʿ 4136s # %EC -> actual: ʿ 4136s # %Ex -> expected: ʿ21ǯ1024 4136s # %Ex -> actual: ʿ21ǯ1024 4136s # %EX -> expected: 0000ʬ00 4136s # %EX -> actual: 0000ʬ00 4136s # %Ey -> expected: 21 4136s # %Ey -> actual: 21 4136s # %EY -> expected: ʿ21ǯ 4136s # %EY -> actual: ʿ21ǯ 4136s ok 33 /GDateTime/non_utf8_printf 4136s # ???? -> expected: ???? 4136s # ???? -> actual: ???? 4136s # %H?%M -> expected: 23?15 4136s # %H?%M -> actual: 23?15 4136s # %H?%M -> expected: 23?15 4136s # %H?%M -> actual: 23?15 4136s ok 34 /GDateTime/format_unrepresentable 4136s ok 35 /GDateTime/format_iso8601 4137s # Executing: glib/gdatetime.test 4137s ok 36 /GDateTime/strftime 4137s # slow test /GDateTime/strftime executed in 0.64 secs 4137s # %d -> expected: 01 4137s # %d -> actual: 01 4137s # %_d -> expected: 1 4137s # %_d -> actual: 1 4137s # %-d -> expected: 1 4137s # %-d -> actual: 1 4137s # %0d -> expected: 01 4137s # %0d -> actual: 01 4137s # %d -> expected: 21 4137s # %d -> actual: 21 4137s # %_d -> expected: 21 4137s # %_d -> actual: 21 4137s # %-d -> expected: 21 4137s # %-d -> actual: 21 4137s # %0d -> expected: 21 4137s # %0d -> actual: 21 4137s # %e -> expected:  1 4137s # %e -> actual:  1 4137s # %_e -> expected: 1 4137s # %_e -> actual: 1 4137s # %-e -> expected: 1 4137s # %-e -> actual: 1 4137s # %0e -> expected: 01 4137s # %0e -> actual: 01 4137s # %e -> expected: 21 4137s # %e -> actual: 21 4137s # %_e -> expected: 21 4137s # %_e -> actual: 21 4137s # %-e -> expected: 21 4137s # %-e -> actual: 21 4137s # %0e -> expected: 21 4137s # %0e -> actual: 21 4137s # %a -> expected: Thu 4137s # %a -> actual: Thu 4137s # %^a -> expected: THU 4137s # %^a -> actual: THU 4137s # %#a -> expected: THU 4137s # %#a -> actual: THU 4137s # %A -> expected: Thursday 4137s # %A -> actual: Thursday 4137s # %^A -> expected: THURSDAY 4137s # %^A -> actual: THURSDAY 4137s # %#A -> expected: THURSDAY 4137s # %#A -> actual: THURSDAY 4137s # %b -> expected: Jan 4137s # %b -> actual: Jan 4137s # %^b -> expected: JAN 4137s # %^b -> actual: JAN 4137s # %#b -> expected: JAN 4137s # %#b -> actual: JAN 4137s # %B -> expected: January 4137s # %B -> actual: January 4137s # %^B -> expected: JANUARY 4137s # %^B -> actual: JANUARY 4137s # %#B -> expected: JANUARY 4137s # %#B -> actual: JANUARY 4137s # %h -> expected: Jan 4137s # %h -> actual: Jan 4137s # %^h -> expected: JAN 4137s # %^h -> actual: JAN 4137s # %#h -> expected: JAN 4137s # %#h -> actual: JAN 4137s # %Z -> expected: UTC 4137s # %Z -> actual: UTC 4137s # %^Z -> expected: UTC 4137s # %^Z -> actual: UTC 4137s # %#Z -> expected: utc 4137s # %#Z -> actual: utc 4137s # %H -> expected: 01 4137s # %H -> actual: 01 4137s # %_H -> expected: 1 4137s # %_H -> actual: 1 4137s # %-H -> expected: 1 4137s # %-H -> actual: 1 4137s # %0H -> expected: 01 4137s # %0H -> actual: 01 4137s # %H -> expected: 21 4137s # %H -> actual: 21 4137s # %_H -> expected: 21 4137s # %_H -> actual: 21 4137s # %-H -> expected: 21 4137s # %-H -> actual: 21 4137s # %0H -> expected: 21 4137s # %0H -> actual: 21 4137s # %I -> expected: 01 4137s # %I -> actual: 01 4137s # %_I -> expected: 1 4137s # %_I -> actual: 1 4137s # %-I -> expected: 1 4137s # %-I -> actual: 1 4137s # %0I -> expected: 01 4137s # %0I -> actual: 01 4137s # %I -> expected: 11 4137s # %I -> actual: 11 4137s # %_I -> expected: 11 4137s # %_I -> actual: 11 4137s # %-I -> expected: 11 4137s # %-I -> actual: 11 4137s # %0I -> expected: 11 4137s # %0I -> actual: 11 4137s # %k -> expected:  1 4137s # %k -> actual:  1 4137s # %_k -> expected: 1 4137s # %_k -> actual: 1 4137s # %-k -> expected: 1 4137s # %-k -> actual: 1 4137s # %0k -> expected: 01 4137s # %0k -> actual: 01 4137s # %l -> expected:  1 4137s # %l -> actual:  1 4137s # %_l -> expected: 1 4137s # %_l -> actual: 1 4137s # %-l -> expected: 1 4137s # %-l -> actual: 1 4137s # %0l -> expected: 01 4137s # %0l -> actual: 01 4137s # %l -> expected: 11 4137s # %l -> actual: 11 4137s # %_l -> expected: 11 4137s # %_l -> actual: 11 4137s # %-l -> expected: 11 4137s # %-l -> actual: 11 4137s # %0l -> expected: 11 4137s # %0l -> actual: 11 4137s # %p -> expected: AM 4137s # %p -> actual: AM 4137s # %^p -> expected: AM 4137s # %^p -> actual: AM 4137s # %#p -> expected: am 4137s # %#p -> actual: am 4137s # %P -> expected: am 4137s # %P -> actual: am 4137s # %^P -> expected: AM 4137s # %^P -> actual: AM 4137s # %#P -> expected: am 4137s # %#P -> actual: am 4137s # %OH -> expected: ۲۳ 4137s # %OH -> actual: ۲۳ 4137s # %OI -> expected: ۱۱ 4137s # %OI -> actual: ۱۱ 4137s # %OM -> expected: ۰۰ 4137s # %OM -> actual: ۰۰ 4137s # %Om -> expected: ۰۷ 4137s # %Om -> actual: ۰۷ 4137s # %0Om -> expected: ۰۷ 4137s # %0Om -> actual: ۰۷ 4137s # %-Om -> expected: ۷ 4137s # %-Om -> actual: ۷ 4137s # %_Om -> expected: ۷ 4137s # %_Om -> actual: ۷ 4137s # %c -> expected: thu 01 jan 2009 00:00:00 utc 4137s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 4137s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 4137s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 4137s # %C -> expected: 20 4137s # %C -> actual: 20 4137s # %EC -> expected: 20 4137s # %EC -> actual: 20 4137s # %x -> expected: 02/01/09 4137s # %x -> actual: 02/01/09 4137s # %Ex -> expected: 02/01/09 4137s # %Ex -> actual: 02/01/09 4137s # %X -> expected: 01:02:03 4137s # %X -> actual: 01:02:03 4137s # %EX -> expected: 01:02:03 4137s # %EX -> actual: 01:02:03 4137s # %y -> expected: 09 4137s # %y -> actual: 09 4137s # %Ey -> expected: 09 4137s # %Ey -> actual: 09 4137s # %Y -> expected: 2009 4137s # %Y -> actual: 2009 4137s # %EY -> expected: 2009 4137s # %EY -> actual: 2009 4137s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 4137s # Bug Reference: http://bugzilla.gnome.org/749206 4137s # %B -> expected: January 4137s # %B -> actual: January 4137s # %OB -> expected: February 4137s # %OB -> actual: February 4137s # %b -> expected: Mar 4137s # %b -> actual: Mar 4137s # %Ob -> expected: Apr 4137s # %Ob -> actual: Apr 4137s # %h -> expected: May 4137s # %h -> actual: May 4137s # %Oh -> expected: Jun 4137s # %Oh -> actual: Jun 4137s # %B -> expected: Juli 4137s # %B -> actual: Juli 4137s # %OB -> expected: August 4137s # %OB -> actual: August 4137s # %b -> expected: Sep 4137s # %b -> actual: Sep 4137s # %Ob -> expected: Okt 4137s # %Ob -> actual: Okt 4137s # %h -> expected: Nov 4137s # %h -> actual: Nov 4137s # %Oh -> expected: Dez 4137s # %Oh -> actual: Dez 4137s # %B -> expected: enero 4137s # %B -> actual: enero 4137s # %OB -> expected: febrero 4137s # %OB -> actual: febrero 4137s # %b -> expected: mar 4137s # %b -> actual: mar 4137s # %Ob -> expected: abr 4137s # %Ob -> actual: abr 4137s # %h -> expected: may 4137s # %h -> actual: may 4137s # %Oh -> expected: jun 4137s # %Oh -> actual: jun 4137s # %B -> expected: juillet 4137s # %B -> actual: juillet 4137s # %OB -> expected: août 4137s # %OB -> actual: août 4137s # %b -> expected: sept. 4137s # %b -> actual: sept. 4137s # %Ob -> expected: oct. 4137s # %Ob -> actual: oct. 4137s # %h -> expected: nov. 4137s # %h -> actual: nov. 4137s # %Oh -> expected: déc. 4137s # %Oh -> actual: déc. 4137s # %B -> expected: Ιανουαρίου 4137s # %B -> actual: Ιανουαρίου 4137s # %B -> expected: Φεβρουαρίου 4137s # %B -> actual: Φεβρουαρίου 4137s # %B -> expected: Μαρτίου 4137s # %B -> actual: Μαρτίου 4137s # %OB -> expected: Απρίλιος 4137s # %OB -> actual: Απρίλιος 4137s # %OB -> expected: Μάιος 4137s # %OB -> actual: Μάιος 4137s # %OB -> expected: Ιούνιος 4137s # %OB -> actual: Ιούνιος 4137s # %b -> expected: Ιουλ 4137s # %b -> actual: Ιουλ 4137s # %Ob -> expected: Αύγ 4137s # %Ob -> actual: Αύγ 4137s # %B -> expected: svibnja 4137s # %B -> actual: svibnja 4137s # %B -> expected: lipnja 4137s # %B -> actual: lipnja 4137s # %B -> expected: srpnja 4137s # %B -> actual: srpnja 4137s # %OB -> expected: Kolovoz 4137s # %OB -> actual: kolovoz 4137s # %OB -> expected: Rujan 4137s # %OB -> actual: rujan 4137s # %OB -> expected: Listopad 4137s # %OB -> actual: listopad 4137s # %b -> expected: Stu 4137s # %b -> actual: stu 4137s # %Ob -> expected: Pro 4137s # %Ob -> actual: pro 4137s # %B -> expected: sausio 4137s # %B -> actual: sausio 4137s # %B -> expected: vasario 4137s # %B -> actual: vasario 4137s # %B -> expected: kovo 4137s # %B -> actual: kovo 4137s # %OB -> expected: balandis 4137s # %OB -> actual: balandis 4137s # %OB -> expected: gegužė 4137s # %OB -> actual: gegužė 4137s # %OB -> expected: birželis 4137s # %OB -> actual: birželis 4137s # %b -> expected: liep. 4137s # %b -> actual: liep. 4137s # %Ob -> expected: rugp. 4137s # %Ob -> actual: rugp. 4137s # %B -> expected: maja 4137s # %B -> actual: maja 4137s # %B -> expected: czerwca 4137s # %B -> actual: czerwca 4137s # %B -> expected: lipca 4137s # %B -> actual: lipca 4137s # %OB -> expected: sierpień 4137s # %OB -> actual: sierpień 4137s # %OB -> expected: wrzesień 4137s # %OB -> actual: wrzesień 4137s # %OB -> expected: październik 4137s # %OB -> actual: październik 4137s # %b -> expected: lis 4137s # %b -> actual: lis 4137s # %Ob -> expected: gru 4137s # %Ob -> actual: gru 4137s # %B -> expected: января 4137s # %B -> actual: января 4137s # %B -> expected: февраля 4137s # %B -> actual: февраля 4137s # %B -> expected: марта 4137s # %B -> actual: марта 4137s # %OB -> expected: Апрель 4137s # %OB -> actual: Апрель 4137s # %OB -> expected: Май 4137s # %OB -> actual: Май 4137s # %OB -> expected: Июнь 4137s # %OB -> actual: Июнь 4137s # %b -> expected: июл 4137s # %b -> actual: июл 4137s # %Ob -> expected: авг 4137s # %Ob -> actual: авг 4137s # %b -> expected: мая 4137s # %b -> actual: мая 4137s # %Ob -> expected: май 4137s # %Ob -> actual: май 4137s ok 38 /GDateTime/month_names 4137s ok 39 /GDateTime/to_local 4137s ok 40 /GDateTime/to_unix 4137s ok 41 /GDateTime/to_timeval 4137s ok 42 /GDateTime/to_utc 4137s ok 43 /GDateTime/now_utc 4137s ok 44 /GDateTime/dst 4137s # Bug Reference: http://bugzilla.gnome.org/642935 4137s ok 45 /GDateTime/test_z 4140s ok 46 /GDateTime/test-all-dates 4140s # slow test /GDateTime/test-all-dates executed in 2.57 secs 4140s ok 47 /GDateTime/unix_usec 4140s # Start of new_from_unix tests 4140s # Bug Reference: http://bugzilla.gnome.org/782089 4140s ok 48 /GDateTime/new_from_unix/overflow 4140s # End of new_from_unix tests 4140s # Start of new_from_timeval tests 4140s # Bug Reference: http://bugzilla.gnome.org/782089 4140s # Maximum supported GTimeVal.tv_sec = 253402300799 4140s ok 49 /GDateTime/new_from_timeval/overflow 4140s # End of new_from_timeval tests 4140s # Start of new_from_iso8601 tests 4140s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 4140s # Vector 0: 1990-11-01T10:21:17Z 4140s # Vector 1: 19901101T102117Z 4140s # Vector 2: 1970-01-01T00:00:17.12Z 4140s # Vector 3: 1970-01-01T00:00:17.1234Z 4140s # Vector 4: 1970-01-01T00:00:17.123456Z 4140s # Vector 5: 1980-02-22T12:36:00+02:00 4140s # Vector 6: 1990-12-31T15:59:60-08:00 4140s # Vector 7: 4140s # Vector 8: x 4140s # Vector 9: 123x 4140s # Vector 10: 2001-10+x 4140s # Vector 11: 1980-02-22T 4140s # Vector 12: 2001-10-08Tx 4140s # Vector 13: 2001-10-08T10:11x 4140s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 4140s # Vector 15: 1980-02-22T10:36:00Zulu 4140s # Vector 16: 2T0+819855292164632335 4140s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 4140s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 4140s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 4140s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 4140s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 4140s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 4140s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 4140s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 4140s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 4140s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 4140s # Vector 27: 20180803T140805.446178377+0100 4140s # Vector 28: 21474836480803T140805.446178377+0100 4140s # Vector 29: 20181303T140805.446178377+0100 4140s # Vector 30: 20180003T140805.446178377+0100 4140s # Vector 31: 20180800T140805.446178377+0100 4140s # Vector 32: 20180832T140805.446178377+0100 4140s # Vector 33: 20180803T240805.446178377+0100 4140s # Vector 34: 20180803T146005.446178377+0100 4140s # Vector 35: 20180803T140863.446178377+0100 4140s # Vector 36: 20180803T140805.446178377+10000 4140s # Vector 37: -0005-01-01T00:00:00Z 4140s # Vector 38: 2018-08-06 4140s # Vector 39: 20180803T140805,446178377+0100 4140s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 4140s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 4140s # Vector 42: 1990-11-01T10:21:17 4140s # Vector 43: 1719W462 407777-07 4140s # Vector 44: 4011090 260528Z 4140s # Vector 45: 0000W011 228214-22 4140s ok 50 /GDateTime/new_from_iso8601/2 4140s # End of new_from_iso8601 tests 4140s # Start of format_mixed tests 4140s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 4140s # %b -> expected: mar 4140s # %b -> actual: Mar 4140s # %B -> expected: march 4140s # %B -> actual: March 4140s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 4140s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 4140s # %b -> expected: mar 4140s # %b -> actual: Mar 4140s # %B -> expected: march 4140s # %B -> actual: March 4140s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 4140s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 4140s # %b -> expected: Mär 4140s # %b -> actual: Mär 4140s # %B -> expected: März 4140s # %B -> actual: März 4140s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 4140s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 4140s # %b -> expected: Mär 4140s # %b -> actual: Mär 4140s # %B -> expected: März 4140s # %B -> actual: März 4140s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 4140s # End of format_mixed tests 4140s # Start of strftime tests 4140s # %r -> expected: (null) 4140s # %r -> actual: (null) 4140s ok 55 /GDateTime/strftime/error_handling 4140s # End of strftime tests 4140s # Start of eras tests 4140s # %Ec -> expected: 令和05年06月01日 00時00分00秒 4140s # %Ec -> actual: 令和05年06月01日 00時00分00秒 4140s # %EC -> expected: 令和 4140s # %EC -> actual: 令和 4140s # %Ex -> expected: 令和05年06月01日 4140s # %Ex -> actual: 令和05年06月01日 4140s # %EX -> expected: 00時00分00秒 4140s # %EX -> actual: 00時00分00秒 4140s # %Ey -> expected: 05 4140s # %Ey -> actual: 05 4140s # %EY -> expected: 令和05年 4140s # %EY -> actual: 令和05年 4140s # %Ec -> expected: 平成31年04月30日 00時00分00秒 4140s # %Ec -> actual: 平成31年04月30日 00時00分00秒 4140s # %EC -> expected: 平成 4140s # %EC -> actual: 平成 4140s # %Ex -> expected: 平成31年04月30日 4140s # %Ex -> actual: 平成31年04月30日 4140s # %EX -> expected: 00時00分00秒 4140s # %EX -> actual: 00時00分00秒 4140s # %Ey -> expected: 31 4140s # %Ey -> actual: 31 4140s # %EY -> expected: 平成31年 4140s # %EY -> actual: 平成31年 4140s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 4140s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 4140s # %EC -> expected: 昭和 4140s # %EC -> actual: 昭和 4140s # %Ex -> expected: 昭和元年12月25日 4140s # %Ex -> actual: 昭和元年12月25日 4140s # %EX -> expected: 00時00分00秒 4140s # %EX -> actual: 00時00分00秒 4140s # %Ey -> expected: 01 4140s # %Ey -> actual: 01 4140s # %EY -> expected: 昭和元年 4140s # %EY -> actual: 昭和元年 4140s ok 56 /GDateTime/eras/japan 4140s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 4140s # Vector 0: 4140s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 4140s # 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年 4140s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 4140s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 4140s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 4140s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 4140s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 4140s # Vector 8: + 4140s # Vector 9: +: 4140s # Vector 10: +:: 4140s # Vector 11: +:200 4140s # Vector 12: +:2nonsense 4140s # Vector 13: +:2nonsense: 4140s # Vector 14: +:2: 4140s # Vector 15: +:2:: 4140s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 4140s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 4140s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 4140s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 4140s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 4140s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 4140s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 4140s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 4140s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 4140s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 4140s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 4140s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 4140s # Vector 28: +:2:2020/01/01 4140s # Vector 29: +:2:2020/01/01: 4140s # Vector 30: +:2:2020/01/01:: 4140s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 4140s # Vector 32: +:2:2020/01/01:+* 4140s # Vector 33: +:2:2020/01/01:+*: 4140s # Vector 34: +:2:2020/01/01:+*:: 4140s # Vector 35: +:2:2020/01/01:+*:令和 4140s # Vector 36: +:2:2020/01/01:+*:令和: 4140s # Vector 37: +:2:2020/01/01:+*:令和:; 4140s ok 58 /GDateTime/eras/parsing 4140s # End of eras tests 4140s # End of GDateTime tests 4140s # Start of GTimeZone tests 4140s ok 59 /GTimeZone/find-interval 4140s ok 60 /GTimeZone/adjust-time 4140s ok 61 /GTimeZone/no-header 4140s ok 62 /GTimeZone/no-header-identifier 4140s ok 63 /GTimeZone/posix-parse 4140s # Bug Reference: http://bugzilla.gnome.org/697715 4140s ok 64 /GTimeZone/floating-point 4140s # System time zone identifier: Etc/UTC 4140s ok 65 /GTimeZone/identifier 4140s # Vector 0: -158400 4140s # Vector 1: -10000 4140s # Vector 2: -3600 4140s # Vector 3: -61 4140s # Vector 4: -60 4140s # Vector 5: -59 4140s # Vector 6: 0 4140s # Vector 7: 59 4140s # Vector 8: 60 4140s # Vector 9: 61 4140s # Vector 10: 3600 4140s # Vector 11: 10000 4140s # Vector 12: 158400 4140s ok 66 /GTimeZone/new-offset 4140s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 4140s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 4140s ok 67 /GTimeZone/parse-rfc8536 4140s # /GTimeZone/caching summary: GTimeZone instances are cached 4140s ok 68 /GTimeZone/caching 4140s # End of GTimeZone tests 4140s ok - glib/gdatetime.test 4140s # Running test: glib/gvariant.test 4140s TAP version 13 4140s # random seed: R02Sbdc9480314e3a73c8f9eb9783a0b9a2c 4140s 1..64 4140s # Start of gvariant tests 4140s ok 1 /gvariant/type 4140s ok 2 /gvariant/typeinfo 4140s # slow test /gvariant/typeinfo executed in 0.51 secs 4140s ok 3 /gvariant/string 4140s ok 4 /gvariant/utf8 4141s ok 5 /gvariant/containers 4141s ok 6 /gvariant/format-strings 4141s ok 7 /gvariant/invalid-varargs 4141s ok 8 /gvariant/varargs 4141s ok 9 /gvariant/valist 4141s ok 10 /gvariant/builder-memory 4141s ok 11 /gvariant/hashing 4141s ok 12 /gvariant/byteswap 4142s # Executing: glib/gvariant.test 4142s ok 13 /gvariant/parser 4142s # slow test /gvariant/parser executed in 1.26 secs 4142s ok 14 /gvariant/parse-failures 4142s ok 15 /gvariant/parse-positional 4142s ok 16 /gvariant/floating 4142s ok 17 /gvariant/bytestring 4142s ok 18 /gvariant/lookup-value 4142s ok 19 /gvariant/lookup 4142s ok 20 /gvariant/compare 4142s ok 21 /gvariant/equal 4142s ok 22 /gvariant/fixed-array 4142s ok 23 /gvariant/check-format-string 4142s ok 24 /gvariant/checksum-basic 4142s ok 25 /gvariant/checksum-nested 4142s ok 26 /gvariant/gbytes 4142s ok 27 /gvariant/print-context 4142s ok 28 /gvariant/error-quark 4142s ok 29 /gvariant/stack-builder-init 4142s ok 30 /gvariant/stack-dict-init 4142s ok 31 /gvariant/unaligned-construction 4142s # Start of type tests 4142s # Start of string-scan tests 4142s # Start of recursion tests 4142s ok 32 /gvariant/type/string-scan/recursion/tuple 4142s ok 33 /gvariant/type/string-scan/recursion/array 4142s # End of recursion tests 4142s # End of string-scan tests 4142s # End of type tests 4142s # Start of serialiser tests 4143s ok 34 /gvariant/serialiser/maybe 4143s ok 35 /gvariant/serialiser/array 4143s # slow test /gvariant/serialiser/array executed in 0.65 secs 4144s ok 36 /gvariant/serialiser/tuple 4144s ok 37 /gvariant/serialiser/variant 4144s ok 38 /gvariant/serialiser/strings 4145s ok 39 /gvariant/serialiser/byteswap 4145s # slow test /gvariant/serialiser/byteswap executed in 1.82 secs 4145s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 4145s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 4145s ok 40 /gvariant/serialiser/children 4145s # Start of fuzz tests 4146s ok 41 /gvariant/serialiser/fuzz/1% 4147s ok 42 /gvariant/serialiser/fuzz/5% 4147s # slow test /gvariant/serialiser/fuzz/5% executed in 1.06 secs 4147s # Executing: glib/gvariant.test 4148s ok 43 /gvariant/serialiser/fuzz/9% 4148s # slow test /gvariant/serialiser/fuzz/9% executed in 1.12 secs 4150s ok 44 /gvariant/serialiser/fuzz/13% 4150s # slow test /gvariant/serialiser/fuzz/13% executed in 1.96 secs 4152s ok 45 /gvariant/serialiser/fuzz/17% 4152s # slow test /gvariant/serialiser/fuzz/17% executed in 1.91 secs 4152s # End of fuzz tests 4152s # End of serialiser tests 4152s # Start of varargs tests 4152s # Start of subprocess tests 4152s # End of subprocess tests 4152s # End of varargs tests 4152s # Start of byteswap tests 4152s # /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. 4152s ok 46 /gvariant/byteswap/non-normal-non-aligned 4152s # End of byteswap tests 4152s # Start of parser tests 4152s ok 47 /gvariant/parser/integer-bounds 4152s ok 48 /gvariant/parser/recursion 4152s # Start of recursion tests 4152s ok 49 /gvariant/parser/recursion/typedecls 4152s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 4152s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 4152s # Text form 0: @mmmu 5 4152s # Text form 1: @mmmas ['hello'] 4152s # Text form 2: @mmmu just just nothing 4152s # Text form 3: @mmmas just just nothing 4152s # Text form 4: @mmmu just nothing 4152s # Text form 5: @mmmas just nothing 4152s # Text form 6: @mmmu nothing 4152s # Text form 7: @mmmas nothing 4152s ok 50 /gvariant/parser/recursion/maybes 4152s # End of recursion tests 4152s # End of parser tests 4152s # Start of parse tests 4152s # Start of subprocess tests 4152s # End of subprocess tests 4152s # End of parse tests 4152s # Start of normal-checking tests 4152s ok 51 /gvariant/normal-checking/tuples 4152s ok 52 /gvariant/normal-checking/array-offsets 4152s ok 53 /gvariant/normal-checking/array-offsets2 4152s ok 54 /gvariant/normal-checking/tuple-offsets 4152s ok 55 /gvariant/normal-checking/tuple-offsets2 4152s ok 56 /gvariant/normal-checking/tuple-offsets3 4152s ok 57 /gvariant/normal-checking/tuple-offsets4 4152s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 4152s ok 58 /gvariant/normal-checking/tuple-offsets5 4152s ok 59 /gvariant/normal-checking/empty-object-path 4152s # Start of array-offsets tests 4152s ok 60 /gvariant/normal-checking/array-offsets/overlapped 4152s ok 61 /gvariant/normal-checking/array-offsets/minimal-sized 4152s # End of array-offsets tests 4152s # Start of tuple-offsets tests 4152s ok 62 /gvariant/normal-checking/tuple-offsets/minimal-sized 4152s # End of tuple-offsets tests 4152s # End of normal-checking tests 4152s # Start of recursion-limits tests 4152s ok 63 /gvariant/recursion-limits/variant-in-variant 4152s ok 64 /gvariant/recursion-limits/array-in-variant 4152s # End of recursion-limits tests 4152s # End of gvariant tests 4152s ok - glib/gvariant.test 4152s # Running test: glib/atomic-c-90.test 4152s TAP version 13 4152s # random seed: R02S027520332d23da64a4b4c951108b06a0 4152s 1..2 4152s # Start of atomic tests 4152s ok 1 /atomic/types 4152s # Executing: glib/atomic-c-90.test 4153s ok 2 /atomic/threaded 4153s # slow test /atomic/threaded executed in 0.69 secs 4153s # End of atomic tests 4153s ok - glib/atomic-c-90.test 4153s # Running test: glib/tls-interaction.test 4153s TAP version 13 4153s # random seed: R02S7d002d9e74a3253390e6f64352faa8cf 4153s 1..42 4153s # Start of tls-interaction tests 4153s # Start of ask-password tests 4153s # Start of invoke-with-loop tests 4153s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 4153s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 4153s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 4153s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 4153s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 4153s # End of invoke-with-loop tests 4153s # Start of invoke-without-loop tests 4153s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 4153s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 4153s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 4153s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 4153s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 4153s # End of invoke-without-loop tests 4153s # Start of invoke-in-loop tests 4153s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 4153s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 4153s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 4153s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 4153s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 4153s # End of invoke-in-loop tests 4153s # Start of sync tests 4153s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 4153s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 4153s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 4153s # End of sync tests 4153s # Start of async tests 4153s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 4153s ok 20 /tls-interaction/ask-password/async/async-implementation-success 4153s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 4153s # End of async tests 4153s # End of ask-password tests 4153s # Start of request-certificate tests 4153s # Start of invoke-with-loop tests 4153s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 4153s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 4153s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 4153s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 4153s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 4153s # End of invoke-with-loop tests 4153s # Start of invoke-without-loop tests 4153s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 4153s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 4153s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 4153s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 4153s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 4153s # End of invoke-without-loop tests 4153s # Start of invoke-in-loop tests 4153s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 4153s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 4153s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 4153s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 4153s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 4153s # End of invoke-in-loop tests 4153s # Start of sync tests 4153s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 4153s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 4153s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 4153s # End of sync tests 4153s # Start of async tests 4153s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 4153s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 4153s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 4153s # End of async tests 4153s # End of request-certificate tests 4153s # End of tls-interaction tests 4153s ok - glib/tls-interaction.test 4153s # Running test: glib/node.test 4153s TAP version 13 4153s # random seed: R02Sbe6f84e086eac50800408b36cc183103 4153s 1..6 4153s # Start of node tests 4153s ok 1 /node/allocation 4153s ok 2 /node/construction 4153s ok 3 /node/traversal 4153s ok 4 /node/misc 4153s ok 5 /node/unlink 4153s ok 6 /node/copy 4153s # End of node tests 4153s ok - glib/node.test 4153s # Running test: glib/timeout.test 4153s TAP version 13 4153s # random seed: R02S6ce4e172b037d7304a4793e05fa493d7 4153s 1..5 4153s # Start of timeout tests 4153s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 4155s ok 1 /timeout/seconds 4155s # slow test /timeout/seconds executed in 2.10 secs 4157s ok 2 /timeout/seconds-once 4157s # slow test /timeout/seconds-once executed in 2.10 secs 4157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 4157s # Executing: glib/timeout.test 4159s ok 3 /timeout/weeks-overflow 4159s # slow test /timeout/weeks-overflow executed in 2.10 secs 4159s ok 4 /timeout/far-future-ready-time 4162s # Executing: glib/timeout.test 4167s # Executing: glib/timeout.test 4169s ok 5 /timeout/rounding 4169s # slow test /timeout/rounding executed in 10.09 secs 4169s # End of timeout tests 4169s ok - glib/timeout.test 4169s # Running test: glib/portal-support-flatpak-gsettings-only.test 4169s TAP version 13 4169s # random seed: R02Sf3927f9202c7c22c14966801dc7a98b3 4169s 1..1 4169s # Start of portal-support tests 4169s # Start of flatpak tests 4169s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_EO9CK2/portal-support/flatpak/gsettings/.dirs/home 4169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_EO9CK2/portal-support/flatpak/gsettings/.dirs/cache 4169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_EO9CK2/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_EO9CK2/portal-support/flatpak/gsettings/.dirs/system-config2 4169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_EO9CK2/portal-support/flatpak/gsettings/.dirs/config 4169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_EO9CK2/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_EO9CK2/portal-support/flatpak/gsettings/.dirs/system-data2 4169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_EO9CK2/portal-support/flatpak/gsettings/.dirs/data 4169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_EO9CK2/portal-support/flatpak/gsettings/.dirs/state 4169s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_EO9CK2/portal-support/flatpak/gsettings/.dirs/runtime 4169s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_EO9CK2/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 4169s ok 1 /portal-support/flatpak/gsettings 4169s # End of flatpak tests 4169s # End of portal-support tests 4169s ok - glib/portal-support-flatpak-gsettings-only.test 4169s # Running test: glib/properties-introspection.test 4169s TAP version 13 4169s # random seed: R02S610b6ef400b73287b13812ae13b4e26d 4169s 1..2 4169s # Start of properties tests 4169s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 4169s ok 1 /properties/introspection 4169s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 4169s ok 2 /properties/collision 4169s # End of properties tests 4169s ok - glib/properties-introspection.test 4169s # Running test: glib/param.test 4169s TAP version 13 4169s # random seed: R02Sa1b072e058b17f878cffa5313917ad56 4169s 1..32 4169s # Start of param tests 4169s ok 1 /param/value 4169s ok 2 /param/strings 4169s ok 3 /param/qdata 4169s ok 4 /param/validate 4169s ok 5 /param/convert 4169s ok 6 /param/implement # SKIP Skipping slow /param/implement test 4169s ok 7 /param/default 4169s ok 8 /param/is-valid-name 4169s # Start of invalid-name tests 4169s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 4170s ok 9 /param/invalid-name/colon 4170s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 4170s ok 10 /param/invalid-name/first-char 4170s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 4171s ok 11 /param/invalid-name/empty 4171s # End of invalid-name tests 4171s # Start of implement tests 4171s # Start of subprocess tests 4171s # End of subprocess tests 4171s # End of implement tests 4171s # End of param tests 4171s # Start of value tests 4171s ok 12 /value/transform 4171s # End of value tests 4171s # Start of paramspec tests 4171s ok 13 /paramspec/char 4171s ok 14 /paramspec/uchar 4171s ok 15 /paramspec/int 4171s ok 16 /paramspec/uint 4171s ok 17 /paramspec/long 4171s ok 18 /paramspec/ulong 4171s ok 19 /paramspec/int64 4171s ok 20 /paramspec/uint64 4171s ok 21 /paramspec/float 4171s ok 22 /paramspec/double 4171s ok 23 /paramspec/unichar 4171s ok 24 /paramspec/param 4171s ok 25 /paramspec/null-param 4171s ok 26 /paramspec/string 4171s ok 27 /paramspec/override 4171s ok 28 /paramspec/gtype 4171s ok 29 /paramspec/variant 4171s ok 30 /paramspec/custom 4171s ok 31 /paramspec/pool 4171s # Start of variant tests 4171s ok 32 /paramspec/variant/cmp 4171s # End of variant tests 4171s # End of paramspec tests 4171s ok - glib/param.test 4171s # Running test: glib/utils-c-17.test 4171s TAP version 13 4171s # random seed: R02S6b8082bfa550841a0cf36472b3081345 4171s 1..40 4171s # Start of utils tests 4171s ok 1 /utils/language-names 4171s ok 2 /utils/locale-variants 4171s ok 3 /utils/version 4171s ok 4 /utils/appname 4171s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 4171s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 4171s ok 5 /utils/prgname-thread-safety 4171s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 4171s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 4171s ok 6 /utils/tmpdir 4171s ok 7 /utils/basic_bits 4171s ok 8 /utils/bits 4171s ok 9 /utils/swap 4171s ok 10 /utils/find-program 4171s ok 11 /utils/find-program-for-path 4171s ok 12 /utils/debug 4171s ok 13 /utils/codeset 4171s ok 14 /utils/codeset2 4171s ok 15 /utils/console-charset 4171s ok 16 /utils/gettext 4171s ok 17 /utils/username 4171s ok 18 /utils/realname 4171s ok 19 /utils/hostname 4171s ok 20 /utils/xdgdirs 4171s ok 21 /utils/specialdir 4171s # NAME: Ubuntu 4171s ok 22 /utils/os-info 4171s ok 23 /utils/clear-pointer 4171s ok 24 /utils/clear-pointer-cast 4171s ok 25 /utils/take-pointer 4171s ok 26 /utils/clear-source 4171s ok 27 /utils/misc-mem 4171s # /utils/aligned-mem summary: Aligned memory allocator 4171s # Alignment must not be zero 4171s # Alignment must be a power of two 4171s # Alignment must be a multiple of sizeof(void*) 4171s ok 28 /utils/aligned-mem 4171s # /utils/free-sized summary: Check that g_free_sized() works 4171s ok 29 /utils/free-sized 4171s ok 30 /utils/nullify 4171s ok 31 /utils/atexit 4171s ok 32 /utils/check-setuid 4171s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 4171s ok 33 /utils/int-limits 4171s ok 34 /utils/clear-list 4171s ok 35 /utils/clear-slist 4171s # Start of specialdir tests 4171s ok 36 /utils/specialdir/desktop 4171s # End of specialdir tests 4171s # Start of clear-pointer tests 4171s ok 37 /utils/clear-pointer/side-effects 4171s # End of clear-pointer tests 4171s # Start of aligned-mem tests 4171s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 4171s ok 38 /utils/aligned-mem/alignment 4171s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 4171s ok 39 /utils/aligned-mem/zeroed 4171s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 4171s ok 40 /utils/aligned-mem/free-sized 4171s # Start of subprocess tests 4171s # End of subprocess tests 4171s # End of aligned-mem tests 4171s # End of utils tests 4171s ok - glib/utils-c-17.test 4171s # Running test: glib/io-channel.test 4171s TAP version 13 4171s # random seed: R02S8e04d7744bdb83395f98d7772f82f1b1 4171s 1..2 4171s # Start of io-channel tests 4171s # Line one 4171s # 4171s # Line two 4171s # 4171s # Line three 4171s # 4171s # /* Hello */ 4171s # 4171s # \x1234\x567890\x6666 4171s # 4171s # read 62 bytes, wrote 62 bytes 4171s ok 1 /io-channel/read-write 4171s # Start of read-line tests 4171s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 4171s ok 2 /io-channel/read-line/embedded-nuls 4171s # End of read-line tests 4171s # End of io-channel tests 4171s ok - glib/io-channel.test 4171s # Running test: glib/simple-proxy.test 4171s TAP version 13 4171s # random seed: R02Se7e54ec484e929938f906f222e5a9578 4171s 1..3 4171s # Start of static-proxy tests 4171s ok 1 /static-proxy/uri 4171s ok 2 /static-proxy/socks 4171s ok 3 /static-proxy/ignore 4171s # End of static-proxy tests 4171s ok - glib/simple-proxy.test 4171s # Running test: glib/thumbnail-verification.test 4171s TAP version 13 4171s # random seed: R02S0d4c632034989feddb0fdb5a7a4b0de9 4171s 1..1 4171s # Start of png-thumbs tests 4171s ok 1 /png-thumbs/validity 4171s # End of png-thumbs tests 4171s ok - glib/thumbnail-verification.test 4171s # Running test: glib/accumulator.test 4171s TAP version 13 4171s # random seed: R02S11defaba55b11232def75199a6393106 4171s 1..1 4171s # Start of gobject tests 4171s ok 1 /gobject/accumulator 4171s # End of gobject tests 4171s ok - glib/accumulator.test 4171s # Running test: glib/rwlock.test 4171s TAP version 13 4171s # random seed: R02S43674e7a9057ee98f608f3c59e07f1f6 4171s 1..8 4171s # Start of thread tests 4171s ok 1 /thread/rwlock1 4171s ok 2 /thread/rwlock2 4171s ok 3 /thread/rwlock3 4171s ok 4 /thread/rwlock4 4171s ok 5 /thread/rwlock5 4171s ok 6 /thread/rwlock6 4172s # Executing: glib/rwlock.test 4177s # Executing: glib/rwlock.test 4182s # Executing: glib/rwlock.test 4187s # Executing: glib/rwlock.test 4192s # Executing: glib/rwlock.test 4197s # Executing: glib/rwlock.test 4202s # Executing: glib/rwlock.test 4207s # Executing: glib/rwlock.test 4209s ok 7 /thread/rwlock7 4209s # slow test /thread/rwlock7 executed in 38.08 secs 4209s ok 8 /thread/rwlock8 4209s # End of thread tests 4209s ok - glib/rwlock.test 4209s # Running test: glib/bytes.test 4209s TAP version 13 4209s # random seed: R02S09debe40113f0bf9a05e5cdd82e7096d 4209s 1..21 4209s # Start of bytes tests 4209s ok 1 /bytes/new 4209s ok 2 /bytes/new-take 4209s ok 3 /bytes/new-static 4209s ok 4 /bytes/new-with-free-func 4209s ok 5 /bytes/new-from-bytes 4209s ok 6 /bytes/new-from-bytes-slice 4209s ok 7 /bytes/new-from-bytes-shared-ref 4209s ok 8 /bytes/hash 4209s ok 9 /bytes/equal 4209s ok 10 /bytes/compare 4209s ok 11 /bytes/null 4209s ok 12 /bytes/get-region 4209s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 4209s ok 13 /bytes/unref-null 4209s # Start of to-data tests 4209s ok 14 /bytes/to-data/transferred 4209s ok 15 /bytes/to-data/two-refs 4209s ok 16 /bytes/to-data/non-malloc 4209s ok 17 /bytes/to-data/different-free-func 4209s # End of to-data tests 4209s # Start of to-array tests 4209s ok 18 /bytes/to-array/transferred 4209s ok 19 /bytes/to-array/two-refs 4209s ok 20 /bytes/to-array/non-malloc 4209s # Start of transferred tests 4209s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 4209s ok 21 /bytes/to-array/transferred/oversize 4209s # End of transferred tests 4209s # End of to-array tests 4209s # End of bytes tests 4209s ok - glib/bytes.test 4209s # Running test: glib/utf8-performance.test 4209s TAP version 13 4209s # random seed: R02Sb0fb66d6921fe576e2db3025760ec5b1 4209s 1..36 4209s # Start of utf8 tests 4209s # Start of perf tests 4209s # Start of get_char tests 4209s # max perf: 14.3 MB/s 4209s ok 1 /utf8/perf/get_char/ascii 4209s # max perf: 67.0 MB/s 4209s ok 2 /utf8/perf/get_char/latin1 4209s # max perf: 160.0 MB/s 4209s ok 3 /utf8/perf/get_char/cyrillic 4209s # max perf: 156.0 MB/s 4209s ok 4 /utf8/perf/get_char/han 4209s # End of get_char tests 4209s # Start of get_char-backwards tests 4209s # max perf: 43.0 MB/s 4209s ok 5 /utf8/perf/get_char-backwards/ascii 4209s # max perf: 67.0 MB/s 4209s ok 6 /utf8/perf/get_char-backwards/latin1 4209s # max perf: 80.0 MB/s 4209s ok 7 /utf8/perf/get_char-backwards/cyrillic 4209s # max perf: 156.0 MB/s 4209s ok 8 /utf8/perf/get_char-backwards/han 4209s # End of get_char-backwards tests 4209s # Start of get_char_validated tests 4209s # max perf: 43.0 MB/s 4209s ok 9 /utf8/perf/get_char_validated/ascii 4209s # max perf: 67.0 MB/s 4209s ok 10 /utf8/perf/get_char_validated/latin1 4209s # max perf: 160.0 MB/s 4209s ok 11 /utf8/perf/get_char_validated/cyrillic 4209s # max perf: 156.0 MB/s 4209s ok 12 /utf8/perf/get_char_validated/han 4209s # End of get_char_validated tests 4209s # Start of utf8_to_ucs4 tests 4209s # max perf: 21.5 MB/s 4209s ok 13 /utf8/perf/utf8_to_ucs4/ascii 4209s # max perf: 33.5 MB/s 4209s ok 14 /utf8/perf/utf8_to_ucs4/latin1 4209s # max perf: 80.0 MB/s 4209s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 4209s # max perf: 156.0 MB/s 4209s ok 16 /utf8/perf/utf8_to_ucs4/han 4209s # End of utf8_to_ucs4 tests 4209s # Start of utf8_to_ucs4-sized tests 4209s # max perf: 43.0 MB/s 4209s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 4209s # max perf: 33.5 MB/s 4209s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 4209s # max perf: 80.0 MB/s 4209s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 4209s # max perf: 78.0 MB/s 4209s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 4209s # End of utf8_to_ucs4-sized tests 4209s # Start of utf8_to_ucs4_fast tests 4209s # max perf: 21.5 MB/s 4209s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 4209s # max perf: inf MB/s 4209s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 4209s # max perf: 160.0 MB/s 4209s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 4209s # max perf: 156.0 MB/s 4209s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 4209s # End of utf8_to_ucs4_fast tests 4209s # Start of utf8_to_ucs4_fast-sized tests 4209s # max perf: 43.0 MB/s 4209s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 4209s # max perf: 67.0 MB/s 4209s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 4209s # max perf: 160.0 MB/s 4209s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 4209s # max perf: 156.0 MB/s 4209s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 4209s # End of utf8_to_ucs4_fast-sized tests 4209s # Start of utf8_validate tests 4209s # max perf: inf MB/s 4209s ok 29 /utf8/perf/utf8_validate/ascii 4209s # max perf: inf MB/s 4209s ok 30 /utf8/perf/utf8_validate/latin1 4209s # max perf: 160.0 MB/s 4209s ok 31 /utf8/perf/utf8_validate/cyrillic 4209s # max perf: 156.0 MB/s 4209s ok 32 /utf8/perf/utf8_validate/han 4209s # End of utf8_validate tests 4209s # Start of utf8_validate-sized tests 4209s # max perf: 43.0 MB/s 4209s ok 33 /utf8/perf/utf8_validate-sized/ascii 4209s # max perf: 67.0 MB/s 4209s ok 34 /utf8/perf/utf8_validate-sized/latin1 4209s # max perf: 160.0 MB/s 4209s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 4209s # max perf: 156.0 MB/s 4209s ok 36 /utf8/perf/utf8_validate-sized/han 4209s # End of utf8_validate-sized tests 4209s # End of perf tests 4209s # End of utf8 tests 4209s ok - glib/utf8-performance.test 4209s # Running test: glib/guuid.test 4209s TAP version 13 4209s # random seed: R02Sd4e772a4bb7b9e638e50f0b6589213ed 4209s 1..2 4209s # Start of uuid tests 4209s ok 1 /uuid/string 4209s ok 2 /uuid/random 4209s # End of uuid tests 4209s ok - glib/guuid.test 4209s # Running test: glib/glistmodel.test 4209s TAP version 13 4209s # random seed: R02Sa0f66edbef55934fe993d96b977e921d 4209s 1..18 4209s # Start of glistmodel tests 4209s # Start of store tests 4209s ok 1 /glistmodel/store/properties 4209s ok 2 /glistmodel/store/non-gobjects 4209s ok 3 /glistmodel/store/boundaries 4209s ok 4 /glistmodel/store/refcounts 4209s ok 5 /glistmodel/store/sorted 4209s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 4209s ok 6 /glistmodel/store/splice-replace-middle 4209s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 4209s ok 7 /glistmodel/store/splice-replace-all 4209s ok 8 /glistmodel/store/splice-noop 4209s ok 9 /glistmodel/store/splice-remove-multiple 4209s ok 10 /glistmodel/store/splice-add-multiple 4209s ok 11 /glistmodel/store/splice-wrong-type 4209s ok 12 /glistmodel/store/item-type 4209s ok 13 /glistmodel/store/remove-all 4209s ok 14 /glistmodel/store/sort 4209s ok 15 /glistmodel/store/get-item-cache 4209s ok 16 /glistmodel/store/items-changed 4209s ok 17 /glistmodel/store/past-end 4209s ok 18 /glistmodel/store/find 4209s # End of store tests 4209s # End of glistmodel tests 4209s ok - glib/glistmodel.test 4209s # Running test: glib/spawn-path-search.test 4209s TAP version 13 4209s # random seed: R02S3944432dbb9c9acf6345791e44a8febc 4209s 1..7 4209s # Start of spawn tests 4209s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 4209s # 4209s # this is spawn-test-helper from glib/tests 4209s # 4209s ok 1 /spawn/do-not-search 4209s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 4209s # 4209s # this is spawn-test-helper from path-test-subdir 4209s # 4209s ok 2 /spawn/search-path 4209s # /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. 4209s # 4209s # this is spawn-test-helper from path-test-subdir 4209s # 4209s ok 3 /spawn/search-path-from-envp 4209s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 4209s # 4209s # this is spawn-test-helper from path-test-subdir 4209s # 4209s ok 4 /spawn/search-path-ambiguous 4209s # 4209s # this is spawn-test-helper from path-test-subdir 4209s # 4209s ok 5 /spawn/search-path-heap-allocation 4209s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 4209s # 4209s # this is spawn-test-helper from glib/tests 4209s # 4209s ok 6 /spawn/search-path-fallback-in-environ 4209s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 4209s # 4209s # this is spawn-test-helper from glib/tests 4209s # 4209s ok 7 /spawn/search-path-fallback-in-envp 4209s # End of spawn tests 4209s ok - glib/spawn-path-search.test 4209s # Running test: glib/repository.test 4209s TAP version 13 4209s # random seed: R02Sf079995bc1c2203db9da7aedd3e18d95 4209s 1..21 4209s # Start of repository tests 4209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/basic/.dirs/home 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/basic/.dirs/cache 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/basic/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/basic/.dirs/system-config2 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/basic/.dirs/config 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/basic/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/basic/.dirs/system-data2 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/basic/.dirs/data 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/basic/.dirs/state 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/basic/.dirs/runtime 4209s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4209s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 4209s ok 1 /repository/basic 4209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/info/.dirs/home 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/info/.dirs/cache 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/info/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/info/.dirs/system-config2 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/info/.dirs/config 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/info/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/info/.dirs/system-data2 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/info/.dirs/data 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/info/.dirs/state 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/info/.dirs/runtime 4209s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4209s # /repository/info summary: Test retrieving some basic info blobs from a typelib 4209s ok 2 /repository/info 4209s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/dependencies/.dirs/home 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/dependencies/.dirs/cache 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/dependencies/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/dependencies/.dirs/system-config2 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/dependencies/.dirs/config 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/dependencies/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/dependencies/.dirs/system-data2 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/dependencies/.dirs/data 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/dependencies/.dirs/state 4209s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/dependencies/.dirs/runtime 4209s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 4210s ok 3 /repository/dependencies 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/arg-info/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/arg-info/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/arg-info/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/arg-info/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/arg-info/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/arg-info/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/arg-info/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/arg-info/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/arg-info/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/arg-info/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 4210s ok 4 /repository/arg-info 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/callable-info/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/callable-info/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/callable-info/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/callable-info/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/callable-info/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/callable-info/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/callable-info/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/callable-info/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/callable-info/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/callable-info/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 4210s ok 5 /repository/callable-info 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/callback-info/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/callback-info/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/callback-info/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/callback-info/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/callback-info/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/callback-info/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/callback-info/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/callback-info/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/callback-info/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/callback-info/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 4210s ok 6 /repository/callback-info 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/char-types/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/char-types/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/char-types/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/char-types/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/char-types/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/char-types/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/char-types/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/char-types/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/char-types/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/char-types/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 4210s ok 7 /repository/char-types 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/constructor-return-type/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/constructor-return-type/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/constructor-return-type/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/constructor-return-type/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/constructor-return-type/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/constructor-return-type/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/constructor-return-type/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/constructor-return-type/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 4210s ok 8 /repository/constructor-return-type 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/enum-info-c-identifier/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/enum-info-c-identifier/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/enum-info-c-identifier/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/enum-info-c-identifier/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/enum-info-c-identifier/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/enum-info-c-identifier/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/enum-info-c-identifier/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/enum-info-c-identifier/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 4210s ok 9 /repository/enum-info-c-identifier 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/enum-info-static-methods/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/enum-info-static-methods/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/enum-info-static-methods/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/enum-info-static-methods/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/enum-info-static-methods/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/enum-info-static-methods/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/enum-info-static-methods/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/enum-info-static-methods/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/enum-info-static-methods summary: Test an enum with methods 4210s ok 10 /repository/enum-info-static-methods 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/error-quark/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/error-quark/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/error-quark/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/error-quark/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/error-quark/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/error-quark/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/error-quark/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/error-quark/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/error-quark/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/error-quark/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/error-quark summary: Test finding an error quark by error domain 4210s ok 11 /repository/error-quark 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/flags-info-c-identifier/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/flags-info-c-identifier/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/flags-info-c-identifier/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/flags-info-c-identifier/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/flags-info-c-identifier/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/flags-info-c-identifier/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/flags-info-c-identifier/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/flags-info-c-identifier/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 4210s ok 12 /repository/flags-info-c-identifier 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/fundamental-ref-func/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/fundamental-ref-func/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/fundamental-ref-func/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/fundamental-ref-func/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/fundamental-ref-func/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/fundamental-ref-func/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/fundamental-ref-func/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/fundamental-ref-func/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 4210s ok 13 /repository/fundamental-ref-func 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/instance-method-ownership-transfer/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/instance-method-ownership-transfer/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/instance-method-ownership-transfer/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/instance-method-ownership-transfer/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/instance-method-ownership-transfer/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/instance-method-ownership-transfer/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/instance-method-ownership-transfer/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/instance-method-ownership-transfer/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 4210s ok 14 /repository/instance-method-ownership-transfer 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/object-gtype-interfaces/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/object-gtype-interfaces/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/object-gtype-interfaces/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/object-gtype-interfaces/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/object-gtype-interfaces/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/object-gtype-interfaces/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/object-gtype-interfaces/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/object-gtype-interfaces/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 4210s ok 15 /repository/object-gtype-interfaces 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/signal-info-with-array-length-arg/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/signal-info-with-array-length-arg/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/signal-info-with-array-length-arg/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/signal-info-with-array-length-arg/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/signal-info-with-array-length-arg/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/signal-info-with-array-length-arg/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/signal-info-with-array-length-arg/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/signal-info-with-array-length-arg/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 4210s ok 16 /repository/signal-info-with-array-length-arg 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/type-info-name/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/type-info-name/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/type-info-name/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/type-info-name/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/type-info-name/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/type-info-name/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/type-info-name/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/type-info-name/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 4210s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 4210s ok 17 /repository/type-info-name 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/vfunc-info-with-no-invoker/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/vfunc-info-with-no-invoker/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/vfunc-info-with-no-invoker/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/vfunc-info-with-no-invoker/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/vfunc-info-with-no-invoker/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/vfunc-info-with-no-invoker/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/vfunc-info-with-no-invoker/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/vfunc-info-with-no-invoker/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 4210s ok 18 /repository/vfunc-info-with-no-invoker 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-interface/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-interface/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-interface/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-interface/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 4210s ok 19 /repository/vfunc-info-with-invoker-on-interface 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-object/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-object/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-object/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-object/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-object/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 4210s ok 20 /repository/vfunc-info-with-invoker-on-object 4210s # Start of base-info tests 4210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_QH43J2/repository/base-info/clear/.dirs/home 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_QH43J2/repository/base-info/clear/.dirs/cache 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_QH43J2/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_QH43J2/repository/base-info/clear/.dirs/system-config2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_QH43J2/repository/base-info/clear/.dirs/config 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_QH43J2/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_QH43J2/repository/base-info/clear/.dirs/system-data2 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_QH43J2/repository/base-info/clear/.dirs/data 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_QH43J2/repository/base-info/clear/.dirs/state 4210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_QH43J2/repository/base-info/clear/.dirs/runtime 4210s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4210s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 4210s ok 21 /repository/base-info/clear 4210s # End of base-info tests 4210s # End of repository tests 4210s ok - glib/repository.test 4210s # Running test: glib/cancellable.test 4210s TAP version 13 4210s # random seed: R02S213d8a7bc449d25acc3469f0f5821634 4210s 1..10 4210s # Start of cancellable tests 4210s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 4210s ok 2 /cancellable/null 4210s # /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 4210s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 4210s # /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 4210s ok 4 /cancellable/resets-on-cancel-callback-hangs 4210s ok 5 /cancellable/poll-fd 4210s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 4210s ok 6 /cancellable/poll-fd-cancelled 4210s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 4210s ok 7 /cancellable/poll-fd-cancelled-threaded 4210s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 4210s ok 8 /cancellable/cancel-reset-races 4210s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 4210s ok 9 /cancellable/cancel-reset-connect-races 4210s # End of cancellable tests 4210s # Start of cancellable-source tests 4210s # /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) 4210s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 4212s ok 10 /cancellable-source/threaded-dispose 4212s # slow test /cancellable-source/threaded-dispose executed in 1.88 secs 4212s # End of cancellable-source tests 4212s ok - glib/cancellable.test 4212s # Running test: glib/portal-support-none.test 4212s TAP version 13 4212s # random seed: R02Sf83e1c571e373bbf99b2c4de38615cd6 4212s 1..1 4212s # Start of portal-support tests 4212s ok 1 /portal-support/none 4212s # End of portal-support tests 4212s ok - glib/portal-support-none.test 4212s # Running test: glib/error.test 4212s TAP version 13 4212s # random seed: R02S279360da87397534c5859daeb4668a10 4212s 1..3 4212s # Start of error tests 4212s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_A59GK2/error/from-errno/.dirs/home 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_A59GK2/error/from-errno/.dirs/cache 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_A59GK2/error/from-errno/.dirs/system-config1:/tmp/test_error_A59GK2/error/from-errno/.dirs/system-config2 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_A59GK2/error/from-errno/.dirs/config 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_A59GK2/error/from-errno/.dirs/system-data1:/tmp/test_error_A59GK2/error/from-errno/.dirs/system-data2 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_A59GK2/error/from-errno/.dirs/data 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_A59GK2/error/from-errno/.dirs/state 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_A59GK2/error/from-errno/.dirs/runtime 4212s ok 1 /error/from-errno 4212s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_A59GK2/error/from-file-error/.dirs/home 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_A59GK2/error/from-file-error/.dirs/cache 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_A59GK2/error/from-file-error/.dirs/system-config1:/tmp/test_error_A59GK2/error/from-file-error/.dirs/system-config2 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_A59GK2/error/from-file-error/.dirs/config 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_A59GK2/error/from-file-error/.dirs/system-data1:/tmp/test_error_A59GK2/error/from-file-error/.dirs/system-data2 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_A59GK2/error/from-file-error/.dirs/data 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_A59GK2/error/from-file-error/.dirs/state 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_A59GK2/error/from-file-error/.dirs/runtime 4212s ok 2 /error/from-file-error 4212s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_A59GK2/error/from-win32-error/.dirs/home 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_A59GK2/error/from-win32-error/.dirs/cache 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_A59GK2/error/from-win32-error/.dirs/system-config1:/tmp/test_error_A59GK2/error/from-win32-error/.dirs/system-config2 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_A59GK2/error/from-win32-error/.dirs/config 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_A59GK2/error/from-win32-error/.dirs/system-data1:/tmp/test_error_A59GK2/error/from-win32-error/.dirs/system-data2 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_A59GK2/error/from-win32-error/.dirs/data 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_A59GK2/error/from-win32-error/.dirs/state 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_A59GK2/error/from-win32-error/.dirs/runtime 4212s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 4212s # End of error tests 4212s ok - glib/error.test 4212s # Running test: glib/timer.test 4212s TAP version 13 4212s # random seed: R02Sd4b0818d94ddde447d7f62ba718a8721 4212s 1..10 4212s # Start of timer tests 4212s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 4212s ok 2 /timer/stop 4212s ok 3 /timer/continue 4212s ok 4 /timer/reset 4212s ok 5 /timer/is_active 4212s # End of timer tests 4212s # Start of timeval tests 4212s ok 6 /timeval/add 4212s ok 7 /timeval/from-iso8601 4212s ok 8 /timeval/to-iso8601 4212s # Start of to-iso8601 tests 4212s ok 9 /timeval/to-iso8601/overflow 4212s # End of to-iso8601 tests 4212s # End of timeval tests 4212s # Start of usleep tests 4212s ok 10 /usleep/with-zero-wait 4212s # End of usleep tests 4212s ok - glib/timer.test 4212s # Running test: glib/dynamictests.test 4212s TAP version 13 4212s # random seed: R02S049d2c0adb586394c4b05c05a8a5b861 4212s 1..2 4212s # Start of GObject tests 4212s # Executing: glib/dynamictests.test 4212s ok 1 /GObject/threaded-dynamic-ref-unref-init 4212s ok 2 /GObject/dynamic-interface-properties 4212s # End of GObject tests 4212s ok - glib/dynamictests.test 4212s # Running test: glib/filter-streams.test 4212s TAP version 13 4212s # random seed: R02Sdd270e940b1b59aeea7190ee7311aa9b 4212s 1..4 4212s # Start of filter-stream tests 4212s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 4212s ok 1 /filter-stream/input 4212s ok 2 /filter-stream/output 4212s ok 3 /filter-stream/async-input 4212s ok 4 /filter-stream/async-output 4212s # End of filter-stream tests 4212s ok - glib/filter-streams.test 4212s # Running test: glib/throws.test 4212s TAP version 13 4212s # random seed: R02Sd7ce99758f23a2a93ada6b52683fa4e1 4212s 1..3 4212s # Start of throws tests 4212s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_47KDK2/throws/invoke-gerror/.dirs/home 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_47KDK2/throws/invoke-gerror/.dirs/cache 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_47KDK2/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_47KDK2/throws/invoke-gerror/.dirs/system-config2 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_47KDK2/throws/invoke-gerror/.dirs/config 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_47KDK2/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_47KDK2/throws/invoke-gerror/.dirs/system-data2 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_47KDK2/throws/invoke-gerror/.dirs/data 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_47KDK2/throws/invoke-gerror/.dirs/state 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_47KDK2/throws/invoke-gerror/.dirs/runtime 4212s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4212s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 4212s ok 1 /throws/invoke-gerror 4212s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_47KDK2/throws/vfunc-can-throw-gerror/.dirs/home 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_47KDK2/throws/vfunc-can-throw-gerror/.dirs/cache 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_47KDK2/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_47KDK2/throws/vfunc-can-throw-gerror/.dirs/system-config2 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_47KDK2/throws/vfunc-can-throw-gerror/.dirs/config 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_47KDK2/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_47KDK2/throws/vfunc-can-throw-gerror/.dirs/system-data2 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_47KDK2/throws/vfunc-can-throw-gerror/.dirs/data 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_47KDK2/throws/vfunc-can-throw-gerror/.dirs/state 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_47KDK2/throws/vfunc-can-throw-gerror/.dirs/runtime 4212s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4212s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 4212s ok 2 /throws/vfunc-can-throw-gerror 4212s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_47KDK2/throws/callback-can-throw-gerror/.dirs/home 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_47KDK2/throws/callback-can-throw-gerror/.dirs/cache 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_47KDK2/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_47KDK2/throws/callback-can-throw-gerror/.dirs/system-config2 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_47KDK2/throws/callback-can-throw-gerror/.dirs/config 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_47KDK2/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_47KDK2/throws/callback-can-throw-gerror/.dirs/system-data2 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_47KDK2/throws/callback-can-throw-gerror/.dirs/data 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_47KDK2/throws/callback-can-throw-gerror/.dirs/state 4212s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_47KDK2/throws/callback-can-throw-gerror/.dirs/runtime 4212s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4212s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 4212s ok 3 /throws/callback-can-throw-gerror 4212s # End of throws tests 4212s ok - glib/throws.test 4212s # Running test: glib/pattern.test 4212s TAP version 13 4212s # random seed: R02S09fb2d205be7c7be49d774578c262273 4212s 1..90 4212s # Start of pattern tests 4212s # Start of compile tests 4212s ok 1 /pattern/compile/0 4212s ok 2 /pattern/compile/1 4212s ok 3 /pattern/compile/2 4212s ok 4 /pattern/compile/3 4212s ok 5 /pattern/compile/4 4212s ok 6 /pattern/compile/5 4212s ok 7 /pattern/compile/6 4212s ok 8 /pattern/compile/7 4212s ok 9 /pattern/compile/8 4212s ok 10 /pattern/compile/9 4212s ok 11 /pattern/compile/10 4212s ok 12 /pattern/compile/11 4212s ok 13 /pattern/compile/12 4212s ok 14 /pattern/compile/13 4212s # End of compile tests 4212s # Start of copy tests 4212s ok 15 /pattern/copy/0 4212s ok 16 /pattern/copy/1 4212s ok 17 /pattern/copy/2 4212s ok 18 /pattern/copy/3 4212s ok 19 /pattern/copy/4 4212s ok 20 /pattern/copy/5 4212s ok 21 /pattern/copy/6 4212s ok 22 /pattern/copy/7 4212s ok 23 /pattern/copy/8 4212s ok 24 /pattern/copy/9 4212s ok 25 /pattern/copy/10 4212s ok 26 /pattern/copy/11 4212s ok 27 /pattern/copy/12 4212s ok 28 /pattern/copy/13 4212s # End of copy tests 4212s # Start of match tests 4212s ok 29 /pattern/match/0 4212s ok 30 /pattern/match/1 4212s ok 31 /pattern/match/2 4212s ok 32 /pattern/match/3 4212s ok 33 /pattern/match/4 4212s ok 34 /pattern/match/5 4212s ok 35 /pattern/match/6 4212s ok 36 /pattern/match/7 4212s ok 37 /pattern/match/8 4212s ok 38 /pattern/match/9 4212s ok 39 /pattern/match/10 4212s ok 40 /pattern/match/11 4212s ok 41 /pattern/match/12 4212s ok 42 /pattern/match/13 4212s ok 43 /pattern/match/14 4212s ok 44 /pattern/match/15 4212s ok 45 /pattern/match/16 4212s ok 46 /pattern/match/17 4212s ok 47 /pattern/match/18 4212s ok 48 /pattern/match/19 4212s ok 49 /pattern/match/20 4212s ok 50 /pattern/match/21 4212s ok 51 /pattern/match/22 4212s ok 52 /pattern/match/23 4212s ok 53 /pattern/match/24 4212s ok 54 /pattern/match/25 4212s ok 55 /pattern/match/26 4212s ok 56 /pattern/match/27 4212s ok 57 /pattern/match/28 4212s ok 58 /pattern/match/29 4212s ok 59 /pattern/match/30 4212s ok 60 /pattern/match/31 4212s ok 61 /pattern/match/32 4212s ok 62 /pattern/match/33 4212s ok 63 /pattern/match/34 4212s ok 64 /pattern/match/35 4212s ok 65 /pattern/match/36 4212s ok 66 /pattern/match/37 4212s ok 67 /pattern/match/38 4212s ok 68 /pattern/match/39 4212s ok 69 /pattern/match/40 4212s ok 70 /pattern/match/41 4212s ok 71 /pattern/match/42 4212s ok 72 /pattern/match/43 4212s ok 73 /pattern/match/44 4212s ok 74 /pattern/match/45 4212s ok 75 /pattern/match/46 4212s ok 76 /pattern/match/47 4212s ok 77 /pattern/match/48 4212s ok 78 /pattern/match/49 4212s ok 79 /pattern/match/50 4212s # End of match tests 4212s # Start of equal tests 4212s ok 80 /pattern/equal/0 4212s ok 81 /pattern/equal/1 4212s ok 82 /pattern/equal/2 4212s ok 83 /pattern/equal/3 4212s ok 84 /pattern/equal/4 4212s ok 85 /pattern/equal/5 4212s ok 86 /pattern/equal/6 4212s ok 87 /pattern/equal/7 4212s ok 88 /pattern/equal/8 4212s ok 89 /pattern/equal/9 4212s ok 90 /pattern/equal/10 4212s # End of equal tests 4212s # End of pattern tests 4212s ok - glib/pattern.test 4212s # Running test: glib/tls-database.test 4212s TAP version 13 4212s # random seed: R02S43574425e8f0e59aa88d5f345a5e98c3 4212s 1..1 4212s # Start of tls-backend tests 4212s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 4212s ok 1 /tls-backend/set-default-database 4212s # End of tls-backend tests 4212s ok - glib/tls-database.test 4212s # Running test: glib/data-output-stream.test 4212s TAP version 13 4212s # random seed: R02Sd64c1d84c87e9ee0c5e6b38aaaa65429 4212s 1..7 4212s # Start of data-output-stream tests 4212s ok 1 /data-output-stream/basic 4212s ok 2 /data-output-stream/write-lines-LF 4212s ok 3 /data-output-stream/write-lines-CR 4212s ok 4 /data-output-stream/write-lines-CR-LF 4212s ok 5 /data-output-stream/write-int 4212s ok 6 /data-output-stream/seek 4212s ok 7 /data-output-stream/truncate 4212s # End of data-output-stream tests 4212s ok - glib/data-output-stream.test 4212s # Running test: glib/type-flags.test 4212s TAP version 13 4212s # random seed: R02S10ff921b06c4929e4df1ccabc1037cb4 4212s 1..4 4212s # Start of type tests 4212s # Start of flags tests 4212s ok 1 /type/flags/interface 4212s ok 2 /type/flags/final 4212s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 4212s ok 3 /type/flags/deprecated 4212s # Start of final tests 4212s ok 4 /type/flags/final/instance-check 4212s # End of final tests 4212s # End of flags tests 4212s # End of type tests 4212s ok - glib/type-flags.test 4212s # Running test: glib/array-test.test 4212s TAP version 13 4212s # random seed: R02Sb50b4f9555144bed43a37f1d5943f3da 4212s 1..113 4212s # Start of array tests 4212s ok 1 /array/ref-count 4212s ok 2 /array/steal 4212s ok 3 /array/clear-func 4212s ok 4 /array/binary-search 4212s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 4212s ok 5 /array/copy-sized 4212s ok 6 /array/overflow-append-vals 4212s ok 7 /array/overflow-set-size 4212s # Start of new tests 4212s ok 8 /array/new/zero-terminated 4212s ok 9 /array/new/take 4212s ok 10 /array/new/take-zero-terminated 4212s # Start of take tests 4212s ok 11 /array/new/take/empty 4212s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 4212s # End of take tests 4212s # End of new tests 4212s # Start of set-size tests 4212s ok 13 /array/set-size/non-zero-terminated-no-clear 4212s ok 14 /array/set-size/non-zero-terminated-clear 4212s ok 15 /array/set-size/zero-terminated-no-clear 4212s ok 16 /array/set-size/zero-terminated-clear 4212s # Start of sized tests 4212s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 4212s ok 18 /array/set-size/sized/non-zero-terminated-clear 4212s ok 19 /array/set-size/sized/zero-terminated-no-clear 4212s ok 20 /array/set-size/sized/zero-terminated-clear 4212s # End of sized tests 4212s # End of set-size tests 4212s # Start of append-val tests 4212s ok 21 /array/append-val/non-zero-terminated-no-clear 4212s ok 22 /array/append-val/non-zero-terminated-clear 4212s ok 23 /array/append-val/zero-terminated-no-clear 4212s ok 24 /array/append-val/zero-terminated-clear 4212s # End of append-val tests 4212s # Start of prepend-val tests 4212s ok 25 /array/prepend-val/non-zero-terminated-no-clear 4212s ok 26 /array/prepend-val/non-zero-terminated-clear 4212s ok 27 /array/prepend-val/zero-terminated-no-clear 4212s ok 28 /array/prepend-val/zero-terminated-clear 4212s # End of prepend-val tests 4212s # Start of prepend-vals tests 4212s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 4212s ok 30 /array/prepend-vals/non-zero-terminated-clear 4212s ok 31 /array/prepend-vals/zero-terminated-no-clear 4212s ok 32 /array/prepend-vals/zero-terminated-clear 4212s # End of prepend-vals tests 4212s # Start of insert-vals tests 4212s ok 33 /array/insert-vals/non-zero-terminated-no-clear 4212s ok 34 /array/insert-vals/non-zero-terminated-clear 4212s ok 35 /array/insert-vals/zero-terminated-no-clear 4212s ok 36 /array/insert-vals/zero-terminated-clear 4212s # End of insert-vals tests 4212s # Start of remove-index tests 4212s ok 37 /array/remove-index/non-zero-terminated-no-clear 4212s ok 38 /array/remove-index/non-zero-terminated-clear 4212s ok 39 /array/remove-index/zero-terminated-no-clear 4212s ok 40 /array/remove-index/zero-terminated-clear 4212s # End of remove-index tests 4212s # Start of remove-index-fast tests 4212s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 4212s ok 42 /array/remove-index-fast/non-zero-terminated-clear 4212s ok 43 /array/remove-index-fast/zero-terminated-no-clear 4212s ok 44 /array/remove-index-fast/zero-terminated-clear 4212s # End of remove-index-fast tests 4212s # Start of remove-range tests 4212s ok 45 /array/remove-range/non-zero-terminated-no-clear 4212s ok 46 /array/remove-range/non-zero-terminated-clear 4212s ok 47 /array/remove-range/zero-terminated-no-clear 4212s ok 48 /array/remove-range/zero-terminated-clear 4212s # End of remove-range tests 4212s # Start of copy tests 4212s ok 49 /array/copy/non-zero-terminated-no-clear 4212s ok 50 /array/copy/non-zero-terminated-clear 4212s ok 51 /array/copy/zero-terminated-no-clear 4212s ok 52 /array/copy/zero-terminated-clear 4212s # End of copy tests 4212s # Start of sort tests 4212s ok 53 /array/sort/non-zero-terminated-no-clear 4212s ok 54 /array/sort/non-zero-terminated-clear 4212s ok 55 /array/sort/zero-terminated-no-clear 4212s ok 56 /array/sort/zero-terminated-clear 4212s # End of sort tests 4212s # Start of sort-with-data tests 4212s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 4212s ok 58 /array/sort-with-data/non-zero-terminated-clear 4212s ok 59 /array/sort-with-data/zero-terminated-no-clear 4212s ok 60 /array/sort-with-data/zero-terminated-clear 4212s # End of sort-with-data tests 4212s # End of array tests 4212s # Start of pointerarray tests 4212s ok 61 /pointerarray/add 4212s ok 62 /pointerarray/insert 4212s ok 63 /pointerarray/new-take 4212s ok 64 /pointerarray/new-take-null-terminated 4212s ok 65 /pointerarray/new-from-array 4212s ok 66 /pointerarray/new-from-null-terminated-array 4212s ok 67 /pointerarray/free-func 4212s ok 68 /pointerarray/array_extend_and_steal 4212s ok 69 /pointerarray/sort 4212s ok 70 /pointerarray/sort-with-data 4212s ok 71 /pointerarray/sort-values 4212s ok 72 /pointerarray/sort-values-with-data 4212s ok 73 /pointerarray/remove-range 4212s ok 74 /pointerarray/steal 4212s # Start of free tests 4212s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 4212s ok 75 /pointerarray/free/null-terminated 4212s # End of free tests 4212s # Start of new-take tests 4212s ok 76 /pointerarray/new-take/empty 4212s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 4212s ok 78 /pointerarray/new-take/with-free-func 4212s # End of new-take tests 4212s # Start of new-take-null-terminated tests 4212s ok 79 /pointerarray/new-take-null-terminated/empty 4212s ok 80 /pointerarray/new-take-null-terminated/with-free-func 4212s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 4212s # End of new-take-null-terminated tests 4212s # Start of new-from-array tests 4212s ok 82 /pointerarray/new-from-array/empty 4212s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 4212s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 4212s # End of new-from-array tests 4212s # Start of new-from-null-terminated-array tests 4212s ok 85 /pointerarray/new-from-null-terminated-array/empty 4212s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 4212s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 4212s # End of new-from-null-terminated-array tests 4212s # Start of ref-count tests 4212s ok 88 /pointerarray/ref-count/not-null-terminated 4212s ok 89 /pointerarray/ref-count/null-terminated 4212s # End of ref-count tests 4212s # Start of array_copy tests 4212s # /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 4212s ok 90 /pointerarray/array_copy/not-null-terminated 4212s # /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 4212s ok 91 /pointerarray/array_copy/null-terminated 4212s # End of array_copy tests 4212s # Start of array_extend tests 4212s ok 92 /pointerarray/array_extend/not-null-terminated 4212s ok 93 /pointerarray/array_extend/null-terminated 4212s # End of array_extend tests 4212s # Start of sort tests 4212s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 4212s ok 94 /pointerarray/sort/example 4212s # End of sort tests 4212s # Start of sort-with-data tests 4212s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 4212s ok 95 /pointerarray/sort-with-data/example 4212s # End of sort-with-data tests 4212s # Start of sort-values tests 4212s ok 96 /pointerarray/sort-values/example 4212s # End of sort-values tests 4212s # Start of sort-values-with-data tests 4212s ok 97 /pointerarray/sort-values-with-data/example 4212s # End of sort-values-with-data tests 4212s # Start of find tests 4212s ok 98 /pointerarray/find/empty 4212s ok 99 /pointerarray/find/non-empty 4212s # End of find tests 4212s # Start of steal_index tests 4212s ok 100 /pointerarray/steal_index/not-null-terminated 4212s ok 101 /pointerarray/steal_index/null-terminated 4212s # End of steal_index tests 4212s # End of pointerarray tests 4212s # Start of bytearray tests 4212s ok 102 /bytearray/steal 4212s ok 103 /bytearray/append 4212s ok 104 /bytearray/prepend 4212s ok 105 /bytearray/remove 4212s ok 106 /bytearray/remove-fast 4212s ok 107 /bytearray/remove-range 4212s ok 108 /bytearray/ref-count 4212s ok 109 /bytearray/sort 4212s ok 110 /bytearray/sort-with-data 4212s ok 111 /bytearray/new-take 4212s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 4212s ok 113 /bytearray/free-to-bytes 4212s # End of bytearray tests 4212s ok - glib/array-test.test 4212s # Running test: glib/objects-refcount2.test 4212s TAP version 13 4212s # random seed: R02Sd8bfba7fc448eca4540c8340762bb725 4212s 1..1 4212s # Start of gobject tests 4212s # Start of refcount tests 4212s # init 0xba5d1f77f740 4212s # 4212s # . 4212s # . 4212s # . 4212s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4213s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4214s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4215s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4216s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # Executing: glib/objects-refcount2.test 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4217s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4218s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4219s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4220s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4221s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # Executing: glib/objects-refcount2.test 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4222s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4223s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4224s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4225s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4226s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # Executing: glib/objects-refcount2.test 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4227s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4228s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4229s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4230s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4231s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # Executing: glib/objects-refcount2.test 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4232s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4233s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4234s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4235s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4236s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # Executing: glib/objects-refcount2.test 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4237s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # . 4238s # dispose 0xba5d1f77f740! 4238s # 4238s ok 1 /gobject/refcount/object-advanced 4238s # slow test /gobject/refcount/object-advanced executed in 25.70 secs 4238s # End of refcount tests 4238s # End of gobject tests 4238s ok - glib/objects-refcount2.test 4238s # Running test: glib/portal-support-snap-classic.test 4238s TAP version 13 4238s # random seed: R02S7438fca725af8c2b8dc15eec79fe67cf 4238s 1..3 4238s # Start of portal-support tests 4238s # Start of snap-classic tests 4238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/no-snapctl/.dirs/home 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/no-snapctl/.dirs/cache 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/no-snapctl/.dirs/system-config2 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/no-snapctl/.dirs/config 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/no-snapctl/.dirs/system-data2 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/no-snapctl/.dirs/data 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/no-snapctl/.dirs/state 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/no-snapctl/.dirs/runtime 4238s ok 1 /portal-support/snap-classic/no-snapctl 4238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/none/.dirs/home 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/none/.dirs/cache 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/none/.dirs/system-config2 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/none/.dirs/config 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/none/.dirs/system-data2 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/none/.dirs/data 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/none/.dirs/state 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/none/.dirs/runtime 4238s # Created snap.yaml in /tmp/test_portal-support-snap-classic_HFG1J2/meta/snap.yaml 4238s # Created snapctl in /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/none/.dirs/runtime/snapctl 4238s ok 2 /portal-support/snap-classic/none 4238s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/all/.dirs/home 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/all/.dirs/cache 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/all/.dirs/system-config2 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/all/.dirs/config 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/all/.dirs/system-data2 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/all/.dirs/data 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/all/.dirs/state 4238s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/all/.dirs/runtime 4238s # Created snap.yaml in /tmp/test_portal-support-snap-classic_HFG1J2/meta/snap.yaml 4238s # Created snapctl in /tmp/test_portal-support-snap-classic_HFG1J2/portal-support/snap-classic/all/.dirs/runtime/snapctl 4238s ok 3 /portal-support/snap-classic/all 4238s # End of snap-classic tests 4238s # End of portal-support tests 4238s ok - glib/portal-support-snap-classic.test 4238s # Running test: glib/macros.test 4238s TAP version 13 4238s # random seed: R02Sf4ed841865d474ec3e7066e5d856783a 4238s 1..3 4238s # Start of alignof tests 4238s ok 1 /alignof/fallback 4238s # End of alignof tests 4238s # Start of assert tests 4238s ok 2 /assert/static 4238s # End of assert tests 4238s # Start of struct tests 4238s ok 3 /struct/sizeof_member 4238s # End of struct tests 4238s ok - glib/macros.test 4238s # Running test: glib/cxx-98.test 4238s TAP version 13 4238s # random seed: R02Scdd6a2de179217ea7dc0471dd2f2fb2e 4238s 1..2 4238s # Start of gtask tests 4238s # 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. 4238s ok 1 /gtask/name 4238s # Start of name tests 4238s # 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. 4238s ok 2 /gtask/name/macro-wrapper 4238s # End of name tests 4238s # End of gtask tests 4238s ok - glib/cxx-98.test 4238s # Running test: glib/g-file.test 4238s TAP version 13 4238s # random seed: R02Sd18893f05c847381fc3c9e6bf72142e1 4238s 1..8 4238s # Start of g-file tests 4238s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 4238s ok 1 /g-file/test_g_file_new_null 4238s ok 2 /g-file/test_g_file_new_for_path 4238s ok 3 /g-file/test_g_file_new_for_uri 4238s ok 4 /g-file/test_g_file_dup 4238s ok 5 /g-file/test_g_file_get_parse_name_utf8 4238s file:///tmp/test-tmp-glib_g-file.test-9VZZJ2 4238s file:///tmp 4238s file:///tmp 4238s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 4238s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 4238s ok 6 /g-file/test_g_file_new_for_commandline_arg 4238s /dir1 /dir1/dir2/dir3/ 4238s /dir1/ /dir1/dir2/dir3/ 4238s /dir1 /dir1/dir2/dir3 4238s /dir1/ /dir1/dir2/dir3 4238s /tmp/ /something/ 4238s /dir1/dir2 /dir1/ 4238s //dir1/new //dir1/new/dir2/dir3 4238s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 4238s file:///dir1 file:///dir1/dir2/dir3/ 4238s file:///dir1/ file:///dir1/dir2/dir3/ 4238s file:///dir1 file:///dir1/dir2/dir3 4238s file:///dir1/ file:///dir1/dir2/dir3 4238s file:///tmp/ file:///something/ 4238s file:///dir1/dir2 file:///dir1/ 4238s file:////dir1/new file:////dir1/new/dir2/dir3 4238s 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 4238s ok 7 /g-file/test_g_file_has_prefix 4238s ok 8 /g-file/test_g_file_get_parent_child 4238s # End of g-file tests 4238s ok - glib/g-file.test 4238s # Running test: glib/mutex.test 4238s TAP version 13 4238s # random seed: R02S01cb037ce1e51dc67ac1456e369d6250 4238s 1..17 4238s # Start of thread tests 4238s ok 1 /thread/mutex1 4238s ok 2 /thread/mutex2 4238s ok 3 /thread/mutex3 4238s ok 4 /thread/mutex4 4242s # Executing: glib/mutex.test 4247s # Executing: glib/mutex.test 4252s # Executing: glib/mutex.test 4257s # Executing: glib/mutex.test 4262s # Executing: glib/mutex.test 4267s # Executing: glib/mutex.test 4272s # Executing: glib/mutex.test 4276s ok 5 /thread/mutex5 4276s # slow test /thread/mutex5 executed in 37.87 secs 4276s # Start of mutex tests 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4276s # /thread/mutex/errno summary: Validates that errno is not touched upon return 4276s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 4277s # Executing: glib/mutex.test 4278s ok 6 /thread/mutex/errno 4278s # slow test /thread/mutex/errno executed in 2.29 secs 4278s # Start of perf tests 4278s # max perf: inf mips 4278s ok 7 /thread/mutex/perf/uncontended 4278s # Start of contended tests 4278s # max perf: inf mips 4278s ok 8 /thread/mutex/perf/contended/1 4278s # max perf: inf mips 4278s ok 9 /thread/mutex/perf/contended/2 4278s # max perf: 4.000000 mips 4278s ok 10 /thread/mutex/perf/contended/3 4278s # max perf: inf mips 4278s ok 11 /thread/mutex/perf/contended/4 4278s # max perf: 6.000000 mips 4278s ok 12 /thread/mutex/perf/contended/5 4278s # max perf: 7.000000 mips 4278s ok 13 /thread/mutex/perf/contended/6 4278s # max perf: 8.000000 mips 4278s ok 14 /thread/mutex/perf/contended/7 4278s # max perf: 0.024390 mips 4278s ok 15 /thread/mutex/perf/contended/8 4278s # max perf: 0.023474 mips 4278s ok 16 /thread/mutex/perf/contended/9 4278s # max perf: 0.023758 mips 4278s ok 17 /thread/mutex/perf/contended/10 4278s # End of contended tests 4278s # End of perf tests 4278s # End of mutex tests 4278s # End of thread tests 4278s ok - glib/mutex.test 4278s # Running test: glib/include.test 4278s TAP version 13 4278s # random seed: R02S1d0c4defc8cbc9e6a293746d4d902668 4278s 1..1 4278s # Start of include tests 4278s ok 1 /include/rwlock 4278s # End of include tests 4278s ok - glib/include.test 4278s # Running test: glib/socket-listener.test 4278s TAP version 13 4278s # random seed: R02S32063265bcf816329315d099eb0206bd 4278s 1..1 4278s # Start of socket-listener tests 4278s ok 1 /socket-listener/event-signal 4278s # End of socket-listener tests 4278s ok - glib/socket-listener.test 4278s # Running test: glib/value.test 4278s TAP version 13 4278s # random seed: R02Sbb1c936fadf9f5d7703163d362526971 4278s 1..8 4278s # Start of value tests 4278s ok 1 /value/basic 4278s ok 2 /value/collection 4278s ok 3 /value/copying 4278s ok 4 /value/enum-transformation 4278s ok 5 /value/gtype 4278s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 4278s ok 6 /value/string 4278s # Next: GObject object in GValue of GObject to GValue of GObject 4278s # Next: GObject object in GValue of GObject to GValue of TestInterface 4278s # Next: GObject object in GValue of GObject to GValue of TestObjectA 4278s # Next: GObject object in GValue of GObject to GValue of TestObjectB 4278s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 4278s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 4278s # Next: TestObjectA object in GValue of GObject to GValue of GObject 4278s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 4278s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 4278s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 4278s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 4278s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 4278s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 4278s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 4278s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 4278s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 4278s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 4278s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 4278s # Next: TestObjectB object in GValue of GObject to GValue of GObject 4278s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 4278s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 4278s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 4278s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 4278s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 4278s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 4278s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 4278s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 4278s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 4278s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 4278s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 4278s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 4278s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 4278s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 4278s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 4278s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 4278s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 4278s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 4278s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 4278s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 4278s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 4278s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 4278s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 4278s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 4278s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 4278s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 4278s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 4278s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 4278s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 4278s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 4278s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 4278s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 4278s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 4278s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 4278s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 4278s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 4278s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 4278s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 4278s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 4278s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 4278s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 4278s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 4278s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 4278s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 4278s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 4278s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 4278s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 4278s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 4278s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 4278s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 4278s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 4278s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 4278s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 4278s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 4278s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 4278s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 4278s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 4278s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 4278s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 4278s ok 7 /value/transform-object 4278s # Start of array tests 4278s ok 8 /value/array/basic 4278s # End of array tests 4278s # End of value tests 4278s ok - glib/value.test 4278s # Running test: glib/rcbox.test 4278s TAP version 13 4278s # random seed: R02Se7905efb3d04416a2c123d2b9b45fd76 4278s 1..8 4278s # Start of rcbox tests 4278s ok 1 /rcbox/new 4278s # global_point = 0xbaf6d796c870 4278s ok 2 /rcbox/release-full 4278s # global_point_a = 0xbaf6d796c870 4278s # global_point_b = 0xbaf6d796c830 4278s ok 3 /rcbox/dup 4278s ok 4 /rcbox/alignment 4278s # End of rcbox tests 4278s # Start of atomic-rcbox tests 4278s ok 5 /atomic-rcbox/new 4278s # global_point = 0xbaf6d796ca40 4278s ok 6 /atomic-rcbox/release-full 4278s # global_point_a = 0xbaf6d796ca40 4278s # global_point_b = 0xbaf6d796ca00 4278s ok 7 /atomic-rcbox/dup 4278s ok 8 /atomic-rcbox/alignment 4278s # End of atomic-rcbox tests 4278s ok - glib/rcbox.test 4278s # Running test: glib/simple-async-result.test 4278s TAP version 13 4278s # random seed: R02Sdf0acabe6aba114d9cafe06bb85def15 4278s 1..2 4278s # Start of gio tests 4278s # Start of simple-async-result tests 4278s ok 1 /gio/simple-async-result/test 4278s # GLib-GIO-DEBUG: GTask 0xb3dadd2486e0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 4278s ok 2 /gio/simple-async-result/valid 4278s # End of simple-async-result tests 4278s # End of gio tests 4278s ok - glib/simple-async-result.test 4278s # Running test: glib/mappedfile.test 4278s TAP version 13 4278s # random seed: R02S1951f2b3ea5b7e2d65499975f92a0840 4278s 1..7 4278s # Start of mappedfile tests 4278s ok 1 /mappedfile/basic 4278s ok 2 /mappedfile/empty 4278s ok 3 /mappedfile/device 4278s ok 4 /mappedfile/nonexisting 4278s ok 5 /mappedfile/writable 4278s ok 6 /mappedfile/writable_fd 4278s ok 7 /mappedfile/gbytes 4278s # End of mappedfile tests 4278s ok - glib/mappedfile.test 4278s # Running test: glib/gdbus-proxy-well-known-name.test 4278s TAP version 13 4278s # random seed: R02S0596bfc2cd1fdc1e8094afd28a494e98 4278s 1..1 4278s # Start of gdbus tests 4278s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_Q4R3J2/gdbus/proxy-well-known-name/.dirs/home 4278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_Q4R3J2/gdbus/proxy-well-known-name/.dirs/cache 4278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_Q4R3J2/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_Q4R3J2/gdbus/proxy-well-known-name/.dirs/system-config2 4278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_Q4R3J2/gdbus/proxy-well-known-name/.dirs/config 4278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_Q4R3J2/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_Q4R3J2/gdbus/proxy-well-known-name/.dirs/system-data2 4278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_Q4R3J2/gdbus/proxy-well-known-name/.dirs/data 4278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_Q4R3J2/gdbus/proxy-well-known-name/.dirs/state 4278s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_Q4R3J2/gdbus/proxy-well-known-name/.dirs/runtime 4279s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4279s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4279s ok 1 /gdbus/proxy-well-known-name 4279s # End of gdbus tests 4279s ok - glib/gdbus-proxy-well-known-name.test 4279s # Running test: glib/utils-c-11.test 4279s TAP version 13 4279s # random seed: R02Sd09fcc7294c10413da5f077c3faf6148 4279s 1..40 4279s # Start of utils tests 4279s ok 1 /utils/language-names 4279s ok 2 /utils/locale-variants 4279s ok 3 /utils/version 4279s ok 4 /utils/appname 4279s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 4279s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 4279s ok 5 /utils/prgname-thread-safety 4279s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 4279s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 4279s ok 6 /utils/tmpdir 4279s ok 7 /utils/basic_bits 4279s ok 8 /utils/bits 4279s ok 9 /utils/swap 4279s ok 10 /utils/find-program 4279s ok 11 /utils/find-program-for-path 4279s ok 12 /utils/debug 4279s ok 13 /utils/codeset 4279s ok 14 /utils/codeset2 4279s ok 15 /utils/console-charset 4279s ok 16 /utils/gettext 4279s ok 17 /utils/username 4279s ok 18 /utils/realname 4279s ok 19 /utils/hostname 4279s ok 20 /utils/xdgdirs 4279s ok 21 /utils/specialdir 4279s # NAME: Ubuntu 4279s ok 22 /utils/os-info 4279s ok 23 /utils/clear-pointer 4279s ok 24 /utils/clear-pointer-cast 4279s ok 25 /utils/take-pointer 4279s ok 26 /utils/clear-source 4279s ok 27 /utils/misc-mem 4279s # /utils/aligned-mem summary: Aligned memory allocator 4279s # Alignment must not be zero 4279s # Alignment must be a power of two 4279s # Alignment must be a multiple of sizeof(void*) 4279s ok 28 /utils/aligned-mem 4279s # /utils/free-sized summary: Check that g_free_sized() works 4279s ok 29 /utils/free-sized 4279s ok 30 /utils/nullify 4279s ok 31 /utils/atexit 4279s ok 32 /utils/check-setuid 4279s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 4279s ok 33 /utils/int-limits 4279s ok 34 /utils/clear-list 4279s ok 35 /utils/clear-slist 4279s # Start of specialdir tests 4279s ok 36 /utils/specialdir/desktop 4279s # End of specialdir tests 4279s # Start of clear-pointer tests 4279s ok 37 /utils/clear-pointer/side-effects 4279s # End of clear-pointer tests 4279s # Start of aligned-mem tests 4279s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 4279s ok 38 /utils/aligned-mem/alignment 4279s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 4279s ok 39 /utils/aligned-mem/zeroed 4279s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 4279s ok 40 /utils/aligned-mem/free-sized 4279s # Start of subprocess tests 4279s # End of subprocess tests 4279s # End of aligned-mem tests 4279s # End of utils tests 4279s ok - glib/utils-c-11.test 4279s # Running test: glib/shell.test 4279s TAP version 13 4279s # random seed: R02Se4a7279bcd8f6c01afa30013978400bb 4279s 1..51 4279s # Start of shell tests 4279s # Start of cmdline tests 4279s test cmdline: foo bar 4279s ok 1 /shell/cmdline/0 4279s test cmdline: foo 'bar' 4279s ok 2 /shell/cmdline/1 4279s test cmdline: foo "bar" 4279s ok 3 /shell/cmdline/2 4279s test cmdline: foo '' 'bar' 4279s ok 4 /shell/cmdline/3 4279s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 4279s ok 5 /shell/cmdline/4 4279s test cmdline: foo blah foo bar baz 4279s ok 6 /shell/cmdline/5 4279s test cmdline: foo ' spaces more spaces lots of spaces in this ' 4279s ok 7 /shell/cmdline/6 4279s test cmdline: foo \ 4279s bar 4279s ok 8 /shell/cmdline/7 4279s test cmdline: foo '' '' 4279s ok 9 /shell/cmdline/8 4279s test cmdline: foo \" la la la 4279s ok 10 /shell/cmdline/9 4279s test cmdline: foo \ foo woo woo\ 4279s ok 11 /shell/cmdline/10 4279s test cmdline: foo "yada yada \$\"" 4279s ok 12 /shell/cmdline/11 4279s test cmdline: foo "c:\\" 4279s ok 13 /shell/cmdline/12 4279s test cmdline: foo # bla bla bla 4279s bar 4279s ok 14 /shell/cmdline/13 4279s test cmdline: foo a#b 4279s ok 15 /shell/cmdline/14 4279s test cmdline: #foo 4279s ok 16 /shell/cmdline/15 4279s test cmdline: foo bar \ 4279s ok 17 /shell/cmdline/16 4279s test cmdline: foo 'bar baz 4279s ok 18 /shell/cmdline/17 4279s test cmdline: foo '"bar" baz 4279s ok 19 /shell/cmdline/18 4279s test cmdline: 4279s ok 20 /shell/cmdline/19 4279s test cmdline: 4279s ok 21 /shell/cmdline/20 4279s test cmdline: # foo bar 4279s ok 22 /shell/cmdline/21 4279s test cmdline: foo '/bar/summer'\''09 tours.pdf' 4279s ok 23 /shell/cmdline/22 4279s # End of cmdline tests 4279s # Start of quote tests 4279s ok 24 /shell/quote/0 4279s ok 25 /shell/quote/1 4279s ok 26 /shell/quote/2 4279s ok 27 /shell/quote/3 4279s ok 28 /shell/quote/4 4279s ok 29 /shell/quote/5 4279s ok 30 /shell/quote/6 4279s # End of quote tests 4279s # Start of unquote tests 4279s ok 31 /shell/unquote/0 4279s ok 32 /shell/unquote/1 4279s ok 33 /shell/unquote/2 4279s ok 34 /shell/unquote/3 4279s ok 35 /shell/unquote/4 4279s ok 36 /shell/unquote/5 4279s ok 37 /shell/unquote/6 4279s ok 38 /shell/unquote/7 4279s ok 39 /shell/unquote/8 4279s ok 40 /shell/unquote/9 4279s ok 41 /shell/unquote/10 4279s ok 42 /shell/unquote/11 4279s ok 43 /shell/unquote/12 4279s ok 44 /shell/unquote/13 4279s ok 45 /shell/unquote/14 4279s ok 46 /shell/unquote/15 4279s ok 47 /shell/unquote/16 4279s ok 48 /shell/unquote/17 4279s ok 49 /shell/unquote/18 4279s ok 50 /shell/unquote/19 4279s ok 51 /shell/unquote/20 4279s # End of unquote tests 4279s # End of shell tests 4279s ok - glib/shell.test 4279s # Running test: glib/gdbus-non-socket.test 4279s TAP version 13 4279s # random seed: R02Sd2e126cf947047d88e7a4f6e10e230fa 4279s 1..1 4279s # Start of gdbus tests 4279s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_S577J2/gdbus/non-socket/.dirs/home 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_S577J2/gdbus/non-socket/.dirs/cache 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_S577J2/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_S577J2/gdbus/non-socket/.dirs/system-config2 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_S577J2/gdbus/non-socket/.dirs/config 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_S577J2/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_S577J2/gdbus/non-socket/.dirs/system-data2 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_S577J2/gdbus/non-socket/.dirs/data 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_S577J2/gdbus/non-socket/.dirs/state 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_S577J2/gdbus/non-socket/.dirs/runtime 4279s ok 1 /gdbus/non-socket 4279s # End of gdbus tests 4279s ok - glib/gdbus-non-socket.test 4279s # Running test: glib/object-info.test 4279s TAP version 13 4279s # random seed: R02S768f4f11560746cbc5637658e6798246 4279s 1..2 4279s # Start of object-info tests 4279s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_T3ZGK2/object-info/find-method-using-interfaces/.dirs/home 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_T3ZGK2/object-info/find-method-using-interfaces/.dirs/cache 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_T3ZGK2/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_T3ZGK2/object-info/find-method-using-interfaces/.dirs/system-config2 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_T3ZGK2/object-info/find-method-using-interfaces/.dirs/config 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_T3ZGK2/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_T3ZGK2/object-info/find-method-using-interfaces/.dirs/system-data2 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_T3ZGK2/object-info/find-method-using-interfaces/.dirs/data 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_T3ZGK2/object-info/find-method-using-interfaces/.dirs/state 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_T3ZGK2/object-info/find-method-using-interfaces/.dirs/runtime 4279s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4279s ok 1 /object-info/find-method-using-interfaces 4279s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_T3ZGK2/object-info/find-vfunc-using-interfaces/.dirs/home 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_T3ZGK2/object-info/find-vfunc-using-interfaces/.dirs/cache 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_T3ZGK2/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_T3ZGK2/object-info/find-vfunc-using-interfaces/.dirs/system-config2 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_T3ZGK2/object-info/find-vfunc-using-interfaces/.dirs/config 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_T3ZGK2/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_T3ZGK2/object-info/find-vfunc-using-interfaces/.dirs/system-data2 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_T3ZGK2/object-info/find-vfunc-using-interfaces/.dirs/data 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_T3ZGK2/object-info/find-vfunc-using-interfaces/.dirs/state 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_T3ZGK2/object-info/find-vfunc-using-interfaces/.dirs/runtime 4279s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4279s ok 2 /object-info/find-vfunc-using-interfaces 4279s # End of object-info tests 4279s ok - glib/object-info.test 4279s # Running test: glib/init.test 4279s TAP version 13 4279s # random seed: R02S63d2cba06524f105bf600ef0ed3f20ba 4279s 1..2 4279s # Start of thread tests 4279s # Start of deprecated tests 4279s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_DCDIK2/thread/deprecated/init/.dirs/home 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_DCDIK2/thread/deprecated/init/.dirs/cache 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_DCDIK2/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_DCDIK2/thread/deprecated/init/.dirs/system-config2 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_DCDIK2/thread/deprecated/init/.dirs/config 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_DCDIK2/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_DCDIK2/thread/deprecated/init/.dirs/system-data2 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_DCDIK2/thread/deprecated/init/.dirs/data 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_DCDIK2/thread/deprecated/init/.dirs/state 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_DCDIK2/thread/deprecated/init/.dirs/runtime 4279s ok 1 /thread/deprecated/init 4279s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_DCDIK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_DCDIK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_DCDIK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_DCDIK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_DCDIK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_DCDIK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_DCDIK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_DCDIK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_DCDIK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 4279s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_DCDIK2/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 4279s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 4279s # End of deprecated tests 4279s # End of thread tests 4279s ok - glib/init.test 4279s # Running test: glib/pollable.test 4279s TAP version 13 4279s # random seed: R02S4d4f2f64973c8c8ae1e51893c41e7329 4279s 1..6 4279s # Start of pollable tests 4279s ok 1 /pollable/converter 4279s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 4279s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb739b2673760 and GSocketClientAsyncConnectData 0xb739b2666ad0 4279s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4279s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4279s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb739b2674820 for GSocketClientAsyncConnectData 0xb739b2666ad0 4279s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4279s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4279s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4279s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 4279s ok 2 /pollable/socket 4279s # Start of unix tests 4279s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 4279s ok 3 /pollable/unix/pipe 4279s # /pollable/unix/pty summary: Test that PTYs are considered pollable 4279s ok 4 /pollable/unix/pty 4279s # /pollable/unix/file summary: Test that regular files are not considered pollable 4279s ok 5 /pollable/unix/file 4279s # /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 4279s ok 6 /pollable/unix/nulldev 4279s # End of unix tests 4279s # End of pollable tests 4279s ok - glib/pollable.test 4279s # Running test: glib/properties-refcount4.test 4279s TAP version 13 4279s # random seed: R02Sb394b6362757914f062e5ef979f04320 4279s 1..1 4279s # Start of gobject tests 4279s # Start of refcount tests 4279s ok 1 /gobject/refcount/properties-4 4279s # End of refcount tests 4279s # End of gobject tests 4279s ok - glib/properties-refcount4.test 4279s # Running test: glib/reference.test 4279s TAP version 13 4279s # random seed: R02S5767839cf86c1c8cffabf85845d56d8d 4279s 1..29 4279s # Start of type tests 4279s ok 1 /type/fundamentals 4279s ok 2 /type/qdata 4279s ok 3 /type/query 4279s ok 4 /type/class-private 4279s # End of type tests 4279s # Start of object tests 4279s ok 5 /object/clear 4279s ok 6 /object/clear-function 4279s ok 7 /object/set 4279s ok 8 /object/set-function 4279s ok 9 /object/value 4279s ok 10 /object/initially-unowned 4279s ok 11 /object/weak-pointer 4279s ok 12 /object/weak-ref 4279s ok 13 /object/toggle-ref 4279s ok 14 /object/qdata 4279s ok 15 /object/qdata2 4279s # Start of set tests 4279s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 4279s ok 16 /object/set/derived-type 4279s # End of set tests 4279s # Start of weak-pointer tests 4279s ok 17 /object/weak-pointer/clear 4279s ok 18 /object/weak-pointer/clear-function 4279s ok 19 /object/weak-pointer/set 4279s ok 20 /object/weak-pointer/set-function 4279s # End of weak-pointer tests 4279s # Start of weak-ref tests 4279s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 4279s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 4279s ok 21 /object/weak-ref/on-dispose 4279s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 4279s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 4279s ok 22 /object/weak-ref/on-run-dispose 4279s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 4279s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 4279s ok 23 /object/weak-ref/on-toggle-notify 4279s ok 24 /object/weak-ref/in-toggle-notify 4279s ok 25 /object/weak-ref/many 4279s # Start of concurrent tests 4282s ok 26 /object/weak-ref/concurrent/0 4282s # slow test /object/weak-ref/concurrent/0 executed in 2.90 secs 4282s # Executing: glib/reference.test 4285s ok 27 /object/weak-ref/concurrent/1 4285s # slow test /object/weak-ref/concurrent/1 executed in 3.20 secs 4285s # End of concurrent tests 4285s # End of weak-ref tests 4285s # Start of toggle-ref tests 4285s ok 28 /object/toggle-ref/ref-on-dispose 4285s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 4285s # End of toggle-ref tests 4285s # End of object tests 4285s ok - glib/reference.test 4285s # Running test: glib/utf8-pointer.test 4285s TAP version 13 4285s # random seed: R02Sb38a77b2fdcf90480f7ba09b50953b79 4285s 1..3 4285s # Start of utf8 tests 4286s ok 1 /utf8/offsets 4286s # slow test /utf8/offsets executed in 1.40 secs 4286s ok 2 /utf8/lengths 4286s ok 3 /utf8/find 4286s # End of utf8 tests 4286s ok - glib/utf8-pointer.test 4286s # Running test: glib/io-stream.test 4286s TAP version 13 4286s # random seed: R02S20c47913f351c49a76526d450a480e01 4286s 1..3 4286s # Start of io-stream tests 4286s ok 1 /io-stream/copy-chunks 4286s # Start of close tests 4286s # Start of async tests 4286s ok 2 /io-stream/close/async/memory 4286s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 4287s ok 3 /io-stream/close/async/file 4287s # End of async tests 4287s # End of close tests 4287s # End of io-stream tests 4287s ok - glib/io-stream.test 4287s # Running test: glib/proxy-test.test 4287s TAP version 13 4287s # random seed: R02S0f968ab918a5ca84c7c876d08f131407 4287s 1..11 4287s # Start of proxy tests 4287s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 4287s ok 1 /proxy/direct_sync 4287s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 4287s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf33b5e95ac0 and GSocketClientAsyncConnectData 0xaf33b5e8b390 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4287s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf33b5e964d0 for GSocketClientAsyncConnectData 0xaf33b5e8b390 4287s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4287s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4287s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4287s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 4287s ok 2 /proxy/direct_async 4287s ok 3 /proxy/single_sync 4287s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 4287s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf33b5e97dd0 and GSocketClientAsyncConnectData 0xaf33b5e96f20 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4287s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf33b5e98930 for GSocketClientAsyncConnectData 0xaf33b5e96f20 4287s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4287s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4287s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4287s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 4287s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 4287s ok 4 /proxy/single_async 4287s ok 5 /proxy/multiple_sync 4287s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 4287s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf33b5e98660 and GSocketClientAsyncConnectData 0xaf33b5e98430 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4287s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf33b5e98fb0 for GSocketClientAsyncConnectData 0xaf33b5e98430 4287s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4287s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4287s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4287s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4287s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf33b5e989c0 for GSocketClientAsyncConnectData 0xaf33b5e98430 4287s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4287s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4287s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4287s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 4287s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 4287s ok 6 /proxy/multiple_async 4287s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 4287s ok 7 /proxy/invalid-uris-sync 4287s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 4287s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 4287s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf33b5e98930 and GSocketClientAsyncConnectData 0xaf33b5e98240 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 4287s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 4287s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 4287s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf33b5e983b0 and GSocketClientAsyncConnectData 0xaf33b5e98240 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 4287s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 4287s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 4287s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf33b5e983b0 and GSocketClientAsyncConnectData 0xaf33b5e98240 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4287s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf33b5e92b00 for GSocketClientAsyncConnectData 0xaf33b5e98240 4287s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4287s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4287s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4287s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 4287s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 4287s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf33b5e98660 and GSocketClientAsyncConnectData 0xaf33b5e98720 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4287s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf33b5e961e0 for GSocketClientAsyncConnectData 0xaf33b5e98720 4287s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4287s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4287s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4287s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 4287s ok 8 /proxy/invalid-uris-async 4287s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 4287s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf33b5e983b0 and GSocketClientAsyncConnectData 0xaf33b5e98240 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 4287s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 4287s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 4287s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 4287s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf33b5e983b0 and GSocketClientAsyncConnectData 0xaf33b5e98720 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4287s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf33b5e99070 for GSocketClientAsyncConnectData 0xaf33b5e98720 4287s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4287s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4287s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4287s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 4287s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 4287s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 4287s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf33b5e983b0 and GSocketClientAsyncConnectData 0xaf33b5e98240 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4287s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf33b5e997f0 for GSocketClientAsyncConnectData 0xaf33b5e98240 4287s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4287s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4287s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4287s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 4287s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 4287s ok 9 /proxy/dns 4287s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 4287s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf33b5e983b0 and GSocketClientAsyncConnectData 0xaf33b5e98720 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4287s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf33b5e99820 for GSocketClientAsyncConnectData 0xaf33b5e98720 4287s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4287s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4287s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4287s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 4287s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 4287s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 4287s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf33b5e983b0 and GSocketClientAsyncConnectData 0xaf33b5e97d10 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4287s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf33b5e99d60 for GSocketClientAsyncConnectData 0xaf33b5e97d10 4287s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4287s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4287s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4287s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 4287s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 4287s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 4287s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xaf33b5e983b0 and GSocketClientAsyncConnectData 0xaf33b5e98720 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4287s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xaf33b5e98ce0 for GSocketClientAsyncConnectData 0xaf33b5e98720 4287s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4287s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4287s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4287s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 4287s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 4287s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 4287s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 4287s ok 10 /proxy/override 4287s ok 11 /proxy/enumerator-ports 4287s # End of proxy tests 4287s ok - glib/proxy-test.test 4287s # Running test: glib/rand.test 4287s TAP version 13 4287s # random seed: R02Sb7f59a469c0fb68da9c009c09576066b 4287s 1..2 4287s # Start of rand tests 4287s ok 1 /rand/test-rand 4287s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 4287s ok 2 /rand/double-range 4287s # End of rand tests 4287s ok - glib/rand.test 4287s # Running test: glib/gobject-query.py.test 4287s TAP version 13 4287s ok 1 __main__.TestGobjectQuery.test_froots 4287s # gobject-query: /usr/bin/gobject-query 4287s # Running: ['/usr/bin/gobject-query', 'froots'] 4287s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4287s # Output: ├void 4287s # ├GInterface 4287s # │ └GTypePlugin 4287s # ├gchar 4287s # ├guchar 4287s # ├gboolean 4287s # ├gint 4287s # ├guint 4287s # ├glong 4287s # ├gulong 4287s # ├gint64 4287s # ├guint64 4287s # ├GEnum 4287s # ├GFlags 4287s # ├gfloat 4287s # ├gdouble 4287s # ├gchararray 4287s # ├gpointer 4287s # │ └GType 4287s # ├GBoxed 4287s # │ └GValueArray 4287s # ├GParam 4287s # │ ├GParamChar 4287s # │ ├GParamUChar 4287s # │ ├GParamBoolean 4287s # │ ├GParamInt 4287s # │ ├GParamUInt 4287s # │ ├GParamLong 4287s # │ ├GParamULong 4287s # │ ├GParamInt64 4287s # │ ├GParamUInt64 4287s # │ ├GParamUnichar 4287s # │ ├GParamEnum 4287s # │ ├GParamFlags 4287s # │ ├GParamFloat 4287s # │ ├GParamDouble 4287s # │ ├GParamString 4287s # │ ├GParamParam 4287s # │ ├GParamBoxed 4287s # │ ├GParamPointer 4287s # │ ├GParamValueArray 4287s # │ ├GParamObject 4287s # │ ├GParamOverride 4287s # │ ├GParamGType 4287s # │ └GParamVariant 4287s # ├GObject 4287s # └GVariant 4287s ok 2 __main__.TestGobjectQuery.test_help 4287s # gobject-query: /usr/bin/gobject-query 4287s # Running: ['/usr/bin/gobject-query', '--help'] 4287s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4287s # Output: usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 4287s # -r specify root type 4287s # -n don't descend type tree 4287s # -h show help 4287s # -b specify indent string 4287s # -i specify incremental indent string 4287s # -s specify line spacing 4287s # qualifiers: 4287s # froots iterate over fundamental roots 4287s # tree print type tree 4287s ok 3 __main__.TestGobjectQuery.test_tree 4287s # gobject-query: /usr/bin/gobject-query 4287s # Running: ['/usr/bin/gobject-query', 'tree'] 4287s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4287s # Output: GObject 4287s ok 4 __main__.TestGobjectQuery.test_version 4287s # gobject-query: /usr/bin/gobject-query 4287s # Running: ['/usr/bin/gobject-query', '--version'] 4287s # Environment: {'SUDO_GID': '1000', 'MAIL': '/var/mail/ubuntu', 'no_proxy': '127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com', 'USER': 'ubuntu', 'ADT_TEST_TRIGGERS': 'pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1', 'SHLVL': '2', 'HOME': '/home/ubuntu', 'OLDPWD': '/home/ubuntu', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/tmp/dbus-zeDkXaD05G,guid=ee7028b6110c88b1217c81b065eb4b13', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'https_proxy': 'http://squid.internal:3128', 'SUDO_UID': '1000', 'LOGNAME': 'ubuntu', 'AUTOPKGTEST_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'ADTTMP': '/tmp/autopkgtest.EAVBVb/autopkgtest_tmp', 'http_proxy': 'http://squid.internal:3128', '_': '/tmp/autopkgtest.EAVBVb/build.opb/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.EAVBVb/autopkgtest_tmp', 'DISPLAY': ':99', 'LOCPATH': '/tmp/tmp.sWTsAJmEzv', 'LANG': 'C.UTF-8', 'XAUTHORITY': '/tmp/xvfb-run.3NMVyq/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.EAVBVb/build.opb/src"; mkdir -p -m 1777 -- "/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest.EAVBVb/installed-tests-artifacts"; export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 "/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export AUTOPKGTEST_TMP="/tmp/autopkgtest.EAVBVb/autopkgtest_tmp"; export ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=1; 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=pygobject/3.47.0-3build1 glib2.0/2.79.3-3ubuntu1\'; chmod +x /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests; touch /tmp/autopkgtest.EAVBVb/installed-tests-stdout /tmp/autopkgtest.EAVBVb/installed-tests-stderr; /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/installed-tests 2> >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stderr >&2) > >(tee -a /tmp/autopkgtest.EAVBVb/installed-tests-stdout);', 'DEB_BUILD_OPTIONS': 'parallel=1', 'DEBIAN_FRONTEND': 'noninteractive', 'SHELL': '/bin/bash', 'SUDO_USER': 'ubuntu', 'PWD': '/tmp/autopkgtest.EAVBVb/build.opb/src', 'ADT_ARTIFACTS': '/tmp/autopkgtest.EAVBVb/installed-tests-artifacts', 'GIO_USE_VFS': 'local', 'LC_ALL': 'C.UTF-8', 'G_DEBUG': 'fatal-warnings'} 4287s # Output: 2.79.3 4287s 1..4 4287s # Executing: glib/gobject-query.py.test 4287s ok - glib/gobject-query.py.test 4287s # Running test: glib/tls-certificate.test 4287s TAP version 13 4287s # random seed: R02Sc879a0945bc5d0f0b06944a03a9807fb 4287s 1..19 4287s # Start of tls-certificate tests 4287s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 4287s ok 1 /tls-certificate/pem-parser 4287s ok 2 /tls-certificate/pem-parser-handles-chain 4287s ok 3 /tls-certificate/from_file 4287s ok 4 /tls-certificate/from_files 4287s ok 5 /tls-certificate/from_files_crlf 4287s ok 6 /tls-certificate/from_files_pkcs8 4287s ok 7 /tls-certificate/from_files_pkcs8enc 4287s ok 8 /tls-certificate/list_from_file 4287s ok 9 /tls-certificate/pkcs11-uri 4287s ok 10 /tls-certificate/pkcs11-uri-unsupported 4287s ok 11 /tls-certificate/from_pkcs12 4287s ok 12 /tls-certificate/from_pkcs12_file 4287s ok 13 /tls-certificate/not-valid-before 4287s ok 14 /tls-certificate/not-valid-after 4287s ok 15 /tls-certificate/subject-name 4287s ok 16 /tls-certificate/issuer-name 4287s ok 17 /tls-certificate/dns-names 4287s ok 18 /tls-certificate/ip-addresses 4287s ok 19 /tls-certificate/pem-parser-no-sentinel 4287s # End of tls-certificate tests 4287s ok - glib/tls-certificate.test 4287s # Running test: glib/portal-support-flatpak-network-only.test 4287s TAP version 13 4287s # random seed: R02S926ad50cc5a8b2cd33852b64cebb5792 4287s 1..1 4287s # Start of portal-support tests 4287s # Start of flatpak tests 4287s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_RPCFK2/portal-support/flatpak/network/.dirs/home 4287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_RPCFK2/portal-support/flatpak/network/.dirs/cache 4287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_RPCFK2/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_RPCFK2/portal-support/flatpak/network/.dirs/system-config2 4287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_RPCFK2/portal-support/flatpak/network/.dirs/config 4287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_RPCFK2/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_RPCFK2/portal-support/flatpak/network/.dirs/system-data2 4287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_RPCFK2/portal-support/flatpak/network/.dirs/data 4287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_RPCFK2/portal-support/flatpak/network/.dirs/state 4287s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_RPCFK2/portal-support/flatpak/network/.dirs/runtime 4287s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_RPCFK2/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 4287s ok 1 /portal-support/flatpak/network 4287s # End of flatpak tests 4287s # End of portal-support tests 4287s ok - glib/portal-support-flatpak-network-only.test 4287s # Running test: glib/markup-parse.test 4287s TAP version 13 4287s # random seed: R02S263d71d130f6e72aa289427137847dd8 4287s 1..71 4287s # Start of markup tests 4287s # Start of parse tests 4287s ok 1 /markup/parse/valid-9.gmarkup 4287s ok 2 /markup/parse/fail-52.gmarkup 4287s ok 3 /markup/parse/fail-50.gmarkup 4287s ok 4 /markup/parse/fail-9.gmarkup 4287s ok 5 /markup/parse/fail-34.gmarkup 4287s ok 6 /markup/parse/fail-54.gmarkup 4287s ok 7 /markup/parse/fail-13.gmarkup 4287s ok 8 /markup/parse/fail-18.gmarkup 4287s ok 9 /markup/parse/valid-12.gmarkup 4287s ok 10 /markup/parse/fail-7.gmarkup 4287s ok 11 /markup/parse/fail-2.gmarkup 4287s ok 12 /markup/parse/fail-17.gmarkup 4287s ok 13 /markup/parse/fail-4.gmarkup 4287s ok 14 /markup/parse/fail-5.gmarkup 4287s ok 15 /markup/parse/valid-10.gmarkup 4287s ok 16 /markup/parse/fail-53.gmarkup 4287s ok 17 /markup/parse/valid-1.gmarkup 4287s ok 18 /markup/parse/fail-12.gmarkup 4287s ok 19 /markup/parse/fail-28.gmarkup 4287s ok 20 /markup/parse/fail-51.gmarkup 4287s ok 21 /markup/parse/fail-1.gmarkup 4287s ok 22 /markup/parse/valid-3.gmarkup 4287s ok 23 /markup/parse/fail-26.gmarkup 4287s ok 24 /markup/parse/fail-45.gmarkup 4287s ok 25 /markup/parse/fail-3.gmarkup 4287s ok 26 /markup/parse/fail-41.gmarkup 4287s ok 27 /markup/parse/valid-15.gmarkup 4287s ok 28 /markup/parse/fail-36.gmarkup 4287s ok 29 /markup/parse/valid-7.gmarkup 4287s ok 30 /markup/parse/fail-40.gmarkup 4287s ok 31 /markup/parse/fail-11.gmarkup 4287s ok 32 /markup/parse/valid-14.gmarkup 4287s ok 33 /markup/parse/fail-25.gmarkup 4287s ok 34 /markup/parse/fail-19.gmarkup 4287s ok 35 /markup/parse/valid-6.gmarkup 4287s ok 36 /markup/parse/fail-44.gmarkup 4287s ok 37 /markup/parse/valid-11.gmarkup 4287s ok 38 /markup/parse/valid-17.gmarkup 4287s ok 39 /markup/parse/valid-8.gmarkup 4287s ok 40 /markup/parse/valid-13.gmarkup 4287s ok 41 /markup/parse/fail-49.gmarkup 4287s ok 42 /markup/parse/fail-14.gmarkup 4287s ok 43 /markup/parse/fail-29.gmarkup 4287s ok 44 /markup/parse/valid-5.gmarkup 4287s ok 45 /markup/parse/fail-46.gmarkup 4287s ok 46 /markup/parse/fail-33.gmarkup 4287s ok 47 /markup/parse/fail-47.gmarkup 4287s ok 48 /markup/parse/fail-39.gmarkup 4287s ok 49 /markup/parse/fail-10.gmarkup 4287s ok 50 /markup/parse/fail-31.gmarkup 4287s ok 51 /markup/parse/fail-37.gmarkup 4287s ok 52 /markup/parse/fail-48.gmarkup 4287s ok 53 /markup/parse/fail-6.gmarkup 4287s ok 54 /markup/parse/fail-42.gmarkup 4287s ok 55 /markup/parse/fail-32.gmarkup 4287s ok 56 /markup/parse/fail-24.gmarkup 4287s ok 57 /markup/parse/fail-35.gmarkup 4287s ok 58 /markup/parse/valid-2.gmarkup 4287s ok 59 /markup/parse/fail-23.gmarkup 4287s ok 60 /markup/parse/fail-43.gmarkup 4287s ok 61 /markup/parse/fail-27.gmarkup 4287s ok 62 /markup/parse/fail-16.gmarkup 4287s ok 63 /markup/parse/valid-16.gmarkup 4287s ok 64 /markup/parse/fail-22.gmarkup 4287s ok 65 /markup/parse/fail-21.gmarkup 4287s ok 66 /markup/parse/fail-38.gmarkup 4287s ok 67 /markup/parse/fail-30.gmarkup 4287s ok 68 /markup/parse/fail-15.gmarkup 4287s ok 69 /markup/parse/valid-4.gmarkup 4287s ok 70 /markup/parse/fail-20.gmarkup 4287s ok 71 /markup/parse/fail-8.gmarkup 4287s # End of parse tests 4287s # End of markup tests 4287s ok - glib/markup-parse.test 4287s # Running test: glib/flags.test 4287s TAP version 13 4287s # random seed: R02S9ec0e4c28e9c1060af25404304067737 4287s 1..1 4287s # Start of gobject tests 4287s # Start of flags tests 4287s ok 1 /gobject/flags/validate 4287s # End of flags tests 4287s # End of gobject tests 4287s ok - glib/flags.test 4287s # Running test: glib/base64.test 4287s TAP version 13 4287s # random seed: R02S5c993ebfacdb21885e1b5bc48837a9e6 4287s 1..28 4287s # Start of base64 tests 4287s ok 1 /base64/encode 4287s ok 2 /base64/decode 4287s ok 3 /base64/decode-inplace 4287s ok 4 /base64/encode-decode 4287s # Start of full tests 4287s ok 5 /base64/full/1 4287s ok 6 /base64/full/2 4287s ok 7 /base64/full/3 4287s ok 8 /base64/full/4 4287s # End of full tests 4287s # Start of encode tests 4287s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 4287s ok 9 /base64/encode/empty 4287s # Start of incremental tests 4287s # Start of small-block tests 4287s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 4287s ok 10 /base64/encode/incremental/small-block/1 4287s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 4287s ok 11 /base64/encode/incremental/small-block/2 4287s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 4287s ok 12 /base64/encode/incremental/small-block/3 4287s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 4287s ok 13 /base64/encode/incremental/small-block/4 4287s # End of small-block tests 4287s # End of incremental tests 4287s # End of encode tests 4287s # Start of incremental tests 4287s # Start of nobreak tests 4287s ok 14 /base64/incremental/nobreak/1 4287s ok 15 /base64/incremental/nobreak/2 4287s ok 16 /base64/incremental/nobreak/3 4287s ok 17 /base64/incremental/nobreak/4-a 4287s ok 18 /base64/incremental/nobreak/4-b 4287s ok 19 /base64/incremental/nobreak/4-c 4287s # End of nobreak tests 4287s # Start of break tests 4287s ok 20 /base64/incremental/break/1 4287s ok 21 /base64/incremental/break/2 4287s ok 22 /base64/incremental/break/3 4287s # End of break tests 4287s # Start of smallblock tests 4287s ok 23 /base64/incremental/smallblock/1 4287s ok 24 /base64/incremental/smallblock/2 4287s ok 25 /base64/incremental/smallblock/3 4287s ok 26 /base64/incremental/smallblock/4 4287s # End of smallblock tests 4287s # End of incremental tests 4287s # Start of decode tests 4287s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 4287s ok 27 /base64/decode/empty 4287s # End of decode tests 4287s # Start of encode-decode tests 4287s # Vector 0: 4287s # Vector 1: f 4287s # Vector 2: fo 4287s # Vector 3: foo 4287s # Vector 4: foob 4287s # Vector 5: fooba 4287s # Vector 6: foobar 4287s ok 28 /base64/encode-decode/rfc4648 4287s # End of encode-decode tests 4287s # End of base64 tests 4287s ok - glib/base64.test 4287s # Running test: glib/static-link.test 4287s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 4287s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 4287s and make sure you have glib build dependencies installed, including 4287s meson. 4287s ok # SKIP - glib/static-link.test 4287s # Running test: glib/unix.test 4287s TAP version 13 4287s # random seed: R02Scbedae7a28d8e6b1839e5366581eeae7 4287s 1..17 4287s # Start of glib-unix tests 4287s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 4287s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 4287s ok 1 /glib-unix/closefrom 4287s ok 2 /glib-unix/pipe 4287s # /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 4287s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 4287s ok 3 /glib-unix/pipe-stdio-overwrite 4287s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 4287s ok 4 /glib-unix/pipe-struct 4287s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 4287s ok 5 /glib-unix/pipe-struct-auto 4287s ok 6 /glib-unix/error 4287s ok 7 /glib-unix/nonblocking 4288s ok 8 /glib-unix/sighup 4288s # slow test /glib-unix/sighup executed in 0.50 secs 4288s ok 9 /glib-unix/sigterm 4288s # slow test /glib-unix/sigterm executed in 0.50 secs 4289s ok 10 /glib-unix/sighup_again 4289s # slow test /glib-unix/sighup_again executed in 0.50 secs 4289s ok 11 /glib-unix/sighup_add_remove 4289s ok 12 /glib-unix/sighup_nested 4291s ok 13 /glib-unix/callback_after_signal 4291s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 4291s ok 14 /glib-unix/child-wait 4291s # Start of closefrom tests 4291s # Start of subprocess tests 4291s # End of subprocess tests 4291s # End of closefrom tests 4291s # Start of pipe tests 4291s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 4291s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 4291s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 4291s ok 15 /glib-unix/pipe/fd-cloexec 4291s # End of pipe tests 4291s # Start of get-passwd-entry tests 4291s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 4291s ok 16 /glib-unix/get-passwd-entry/root 4291s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 4291s ok 17 /glib-unix/get-passwd-entry/nonexistent 4291s # End of get-passwd-entry tests 4291s # End of glib-unix tests 4291s ok - glib/unix.test 4291s # Running test: glib/custom-dispatch.test 4291s TAP version 13 4291s # random seed: R02S54eff1e1c8e41263d4385634d5bd3b0c 4291s 1..2 4291s # Start of properties tests 4291s # Start of custom-dispatch tests 4291s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 4291s ok 1 /properties/custom-dispatch/init 4291s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 4291s ok 2 /properties/custom-dispatch/set 4291s # End of custom-dispatch tests 4291s # End of properties tests 4291s ok - glib/custom-dispatch.test 4291s # Running test: glib/date.test 4291s TAP version 13 4291s # random seed: R02Sa279de49215b8163f32def437d00c825 4291s 1..121 4291s # Start of date tests 4291s ok 1 /date/basic 4291s ok 2 /date/empty 4291s ok 3 /date/dmy 4291s ok 4 /date/julian 4291s ok 5 /date/compare 4291s ok 6 /date/dates 4291s ok 7 /date/strftime 4291s ok 8 /date/two-digit-years 4291s ok 9 /date/parse 4291s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 4291s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 4291s ok 11 /date/month_substring 4291s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 4291s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 4291s ok 13 /date/clamp 4291s ok 14 /date/order 4291s ok 15 /date/copy 4291s # Vector 0: 0000-00-00, invalid 4291s # Vector 1: 0001-01-01, valid 4291s # Vector 2: 0000-01-01, invalid 4291s # Vector 3: 2000-02-30, invalid 4291s # Vector 4: 2000-02-29, valid 4291s # Vector 5: 2001-02-29, invalid 4291s # Vector 6: 65535-01-01, valid 4291s ok 16 /date/valid-dmy 4291s # Start of parse tests 4291s # Test 0 4291s # Test 1 4291s ok 17 /date/parse/invalid 4291s # End of parse tests 4291s # Start of year tests 4291s ok 18 /date/year/1 4291s ok 19 /date/year/2 4291s ok 20 /date/year/3 4291s ok 21 /date/year/4 4291s ok 22 /date/year/5 4291s ok 23 /date/year/6 4291s ok 24 /date/year/7 4291s ok 25 /date/year/8 4291s ok 26 /date/year/9 4291s ok 27 /date/year/10 4291s ok 28 /date/year/11 4291s ok 29 /date/year/12 4291s ok 30 /date/year/13 4291s ok 31 /date/year/14 4291s ok 32 /date/year/98 4291s ok 33 /date/year/99 4291s ok 34 /date/year/100 4291s ok 35 /date/year/101 4291s ok 36 /date/year/102 4291s ok 37 /date/year/103 4291s ok 38 /date/year/397 4291s ok 39 /date/year/398 4291s ok 40 /date/year/399 4291s ok 41 /date/year/400 4291s ok 42 /date/year/401 4291s ok 43 /date/year/402 4291s ok 44 /date/year/403 4291s ok 45 /date/year/404 4291s ok 46 /date/year/405 4291s ok 47 /date/year/406 4291s ok 48 /date/year/1598 4291s ok 49 /date/year/1599 4291s ok 50 /date/year/1600 4291s ok 51 /date/year/1601 4291s ok 52 /date/year/1602 4291s ok 53 /date/year/1650 4291s ok 54 /date/year/1651 4291s ok 55 /date/year/1897 4291s ok 56 /date/year/1898 4291s ok 57 /date/year/1899 4291s ok 58 /date/year/1900 4291s ok 59 /date/year/1901 4291s ok 60 /date/year/1902 4291s ok 61 /date/year/1903 4291s ok 62 /date/year/1961 4291s ok 63 /date/year/1962 4291s ok 64 /date/year/1963 4291s ok 65 /date/year/1964 4291s ok 66 /date/year/1965 4291s ok 67 /date/year/1967 4291s ok 68 /date/year/1968 4291s ok 69 /date/year/1969 4291s ok 70 /date/year/1970 4291s ok 71 /date/year/1971 4291s ok 72 /date/year/1972 4291s ok 73 /date/year/1973 4291s ok 74 /date/year/1974 4291s ok 75 /date/year/1975 4291s ok 76 /date/year/1976 4291s ok 77 /date/year/1977 4291s ok 78 /date/year/1978 4291s ok 79 /date/year/1979 4291s ok 80 /date/year/1980 4291s ok 81 /date/year/1981 4291s ok 82 /date/year/1982 4291s ok 83 /date/year/1983 4291s ok 84 /date/year/1984 4291s ok 85 /date/year/1985 4291s ok 86 /date/year/1986 4291s ok 87 /date/year/1987 4291s ok 88 /date/year/1988 4291s ok 89 /date/year/1989 4291s ok 90 /date/year/1990 4291s ok 91 /date/year/1991 4291s ok 92 /date/year/1992 4291s ok 93 /date/year/1993 4291s ok 94 /date/year/1994 4291s ok 95 /date/year/1995 4291s ok 96 /date/year/1996 4291s ok 97 /date/year/1997 4291s ok 98 /date/year/1998 4291s ok 99 /date/year/1999 4291s ok 100 /date/year/2000 4291s ok 101 /date/year/2001 4291s ok 102 /date/year/2002 4291s ok 103 /date/year/2003 4291s ok 104 /date/year/2004 4291s ok 105 /date/year/2005 4292s ok 106 /date/year/2006 4292s ok 107 /date/year/2007 4292s ok 108 /date/year/2008 4292s ok 109 /date/year/2009 4292s ok 110 /date/year/2010 4292s ok 111 /date/year/2011 4292s ok 112 /date/year/2012 4292s ok 113 /date/year/3000 4292s ok 114 /date/year/3001 4292s ok 115 /date/year/3002 4292s ok 116 /date/year/3998 4292s ok 117 /date/year/3999 4292s ok 118 /date/year/4000 4292s ok 119 /date/year/4001 4292s ok 120 /date/year/4002 4292s ok 121 /date/year/4003 4292s # End of year tests 4292s # End of date tests 4292s ok - glib/date.test 4292s # Running test: glib/macros-c-99.test 4292s TAP version 13 4292s # random seed: R02S5a1c21912605e0968a4b6c1a4a0c737d 4292s 1..4 4292s # Start of C tests 4292s ok 1 /C/standard-99 4292s # End of C tests 4292s # Start of alignof tests 4292s ok 2 /alignof/fallback 4292s # End of alignof tests 4292s # Start of assert tests 4292s ok 3 /assert/static 4292s # End of assert tests 4292s # Start of struct tests 4292s ok 4 /struct/sizeof_member 4292s # End of struct tests 4292s ok - glib/macros-c-99.test 4292s # Running test: glib/data-input-stream.test 4292s TAP version 13 4292s # random seed: R02Sf387931f82ce645e1dc391653d220e1e 4292s 1..10 4292s # Start of data-input-stream tests 4292s ok 1 /data-input-stream/basic 4292s ok 2 /data-input-stream/read-lines-LF 4292s ok 3 /data-input-stream/read-lines-LF-valid-utf8 4292s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 4292s ok 5 /data-input-stream/read-lines-CR 4292s # Executing: glib/data-input-stream.test 4292s ok 6 /data-input-stream/read-lines-CR-LF 4292s ok 7 /data-input-stream/read-lines-any 4292s ok 8 /data-input-stream/read-until 4292s ok 9 /data-input-stream/read-upto 4292s ok 10 /data-input-stream/read-int 4292s # End of data-input-stream tests 4292s ok - glib/data-input-stream.test 4292s # Running test: glib/unix-mounts.test 4292s TAP version 13 4292s # random seed: R02Sab2eecad67e96f26da5ad3d91d96b461 4292s 1..2 4292s # Start of unix-mounts tests 4292s ok 1 /unix-mounts/is-system-fs-type 4292s ok 2 /unix-mounts/is-system-device-path 4292s # End of unix-mounts tests 4292s ok - glib/unix-mounts.test 4292s # Running test: glib/network-monitor-race.test 4292s TAP version 13 4292s # random seed: R02Sa180b37ef9a2f59f726cd3d8e256f66a 4292s 1..1 4292s # Start of network-monitor tests 4292s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 4295s ok 1 /network-monitor/create-in-thread 4295s # slow test /network-monitor/create-in-thread executed in 2.51 secs 4295s # End of network-monitor tests 4295s ok - glib/network-monitor-race.test 4295s # Running test: glib/buffered-input-stream.test 4295s TAP version 13 4295s # random seed: R02Scf9b8b2bc236e9fe13bf7e0e8afde959 4295s 1..10 4295s # Start of buffered-input-stream tests 4295s ok 1 /buffered-input-stream/peek 4295s ok 2 /buffered-input-stream/peek-buffer 4295s ok 3 /buffered-input-stream/set-buffer-size 4295s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 4295s ok 4 /buffered-input-stream/read-byte 4295s ok 5 /buffered-input-stream/read 4295s ok 6 /buffered-input-stream/read-async 4295s ok 7 /buffered-input-stream/skip 4295s ok 8 /buffered-input-stream/skip-async 4295s ok 9 /buffered-input-stream/seek 4295s # End of buffered-input-stream tests 4295s # Start of filter-input-stream tests 4295s ok 10 /filter-input-stream/close 4295s # End of filter-input-stream tests 4295s ok - glib/buffered-input-stream.test 4295s # Running test: glib/gdbus-test-codegen-old.test 4295s TAP version 13 4295s # random seed: R02S44a2f50952043f675a5d24458ea017fc 4295s 1..8 4295s # Start of gdbus tests 4295s # Start of codegen tests 4295s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/annotations/.dirs/home 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/annotations/.dirs/cache 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/annotations/.dirs/system-config2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/annotations/.dirs/config 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/annotations/.dirs/system-data2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/annotations/.dirs/data 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/annotations/.dirs/state 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/annotations/.dirs/runtime 4295s ok 1 /gdbus/codegen/annotations 4295s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/interface_stability/.dirs/home 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/interface_stability/.dirs/cache 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/interface_stability/.dirs/system-config2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/interface_stability/.dirs/config 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/interface_stability/.dirs/system-data2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/interface_stability/.dirs/data 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/interface_stability/.dirs/state 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/interface_stability/.dirs/runtime 4295s ok 2 /gdbus/codegen/interface_stability 4295s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/object-manager/.dirs/home 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/object-manager/.dirs/cache 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/object-manager/.dirs/system-config2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/object-manager/.dirs/config 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/object-manager/.dirs/system-data2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/object-manager/.dirs/data 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/object-manager/.dirs/state 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/object-manager/.dirs/runtime 4295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4295s ok 3 /gdbus/codegen/object-manager 4295s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/property-naming/.dirs/home 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/property-naming/.dirs/cache 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/property-naming/.dirs/system-config2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/property-naming/.dirs/config 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/property-naming/.dirs/system-data2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/property-naming/.dirs/data 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/property-naming/.dirs/state 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/property-naming/.dirs/runtime 4295s ok 4 /gdbus/codegen/property-naming 4295s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/autocleanups/.dirs/home 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/autocleanups/.dirs/cache 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/autocleanups/.dirs/system-config2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/autocleanups/.dirs/config 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/autocleanups/.dirs/system-data2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/autocleanups/.dirs/data 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/autocleanups/.dirs/state 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/autocleanups/.dirs/runtime 4295s ok 5 /gdbus/codegen/autocleanups 4295s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/deprecations/.dirs/home 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/deprecations/.dirs/cache 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/deprecations/.dirs/system-config2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/deprecations/.dirs/config 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/deprecations/.dirs/system-data2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/deprecations/.dirs/data 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/deprecations/.dirs/state 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/deprecations/.dirs/runtime 4295s ok 6 /gdbus/codegen/deprecations 4295s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/standalone-interface-info/.dirs/home 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/standalone-interface-info/.dirs/cache 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/standalone-interface-info/.dirs/config 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/standalone-interface-info/.dirs/data 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/standalone-interface-info/.dirs/state 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/standalone-interface-info/.dirs/runtime 4295s ok 7 /gdbus/codegen/standalone-interface-info 4295s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/unix-fd-list/.dirs/home 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/unix-fd-list/.dirs/cache 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/unix-fd-list/.dirs/system-config2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/unix-fd-list/.dirs/config 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/unix-fd-list/.dirs/system-data2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/unix-fd-list/.dirs/data 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/unix-fd-list/.dirs/state 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_8YIGK2/gdbus/codegen/unix-fd-list/.dirs/runtime 4295s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 4295s ok 8 /gdbus/codegen/unix-fd-list 4295s # End of codegen tests 4295s # End of gdbus tests 4295s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4295s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4295s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4295s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4295s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4295s ok - glib/gdbus-test-codegen-old.test 4295s # Running test: glib/inet-address.test 4295s TAP version 13 4295s # random seed: R02S5c2399a11c996dd59ea87c3e7c1a8116 4295s 1..11 4295s # Start of inet-address tests 4295s ok 1 /inet-address/parse 4295s ok 2 /inet-address/any 4295s ok 3 /inet-address/loopback 4295s ok 4 /inet-address/bytes 4295s ok 5 /inet-address/property 4295s # End of inet-address tests 4295s # Start of socket-address tests 4295s ok 6 /socket-address/basic 4295s ok 7 /socket-address/to-string 4295s # End of socket-address tests 4295s # Start of address-mask tests 4295s ok 8 /address-mask/parse 4295s ok 9 /address-mask/property 4295s ok 10 /address-mask/equal 4295s ok 11 /address-mask/match 4295s # End of address-mask tests 4295s ok - glib/inet-address.test 4295s # Running test: glib/closure.test 4295s TAP version 13 4295s # random seed: R02S39a34c4673f4019470e2151050264fbe 4295s 1..6 4295s # Start of closure tests 4295s ok 1 /closure/idle 4295s ok 2 /closure/timeout 4295s ok 3 /closure/iochannel 4295s ok 4 /closure/child 4295s ok 5 /closure/fd 4295s ok 6 /closure/signal 4295s # End of closure tests 4295s ok - glib/closure.test 4295s # Running test: glib/gdbus-method-invocation.test 4295s TAP version 13 4295s # random seed: R02Sa9a89fa8906925bee9bcd3607831ac3d 4295s 1..1 4295s # Start of gdbus tests 4295s # Start of method-invocation tests 4295s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_KXXZJ2/gdbus/method-invocation/return/.dirs/home 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_KXXZJ2/gdbus/method-invocation/return/.dirs/cache 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_KXXZJ2/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_KXXZJ2/gdbus/method-invocation/return/.dirs/system-config2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_KXXZJ2/gdbus/method-invocation/return/.dirs/config 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_KXXZJ2/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_KXXZJ2/gdbus/method-invocation/return/.dirs/system-data2 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_KXXZJ2/gdbus/method-invocation/return/.dirs/data 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_KXXZJ2/gdbus/method-invocation/return/.dirs/state 4295s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_KXXZJ2/gdbus/method-invocation/return/.dirs/runtime 4295s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 4295s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4295s # Calling org.freedesktop.DBus.Properties.Get 4295s # Calling org.freedesktop.DBus.Properties.Get 4295s # Calling org.freedesktop.DBus.Properties.Get 4295s # Calling org.freedesktop.DBus.Properties.Set 4295s # Calling org.freedesktop.DBus.Properties.GetAll 4295s # Calling org.example.Foo.WrongReturnType 4295s # Calling org.example.Foo.GetFDs 4295s # Calling org.example.Foo.GetFDs 4295s # Calling org.example.Foo.ReturnError 4295s # Calling org.example.Foo.CloseBeforeReturning 4295s ok 1 /gdbus/method-invocation/return 4295s # End of method-invocation tests 4295s # End of gdbus tests 4295s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4295s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4295s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4295s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4295s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4295s ok - glib/gdbus-method-invocation.test 4295s # Running test: glib/atomic.test 4295s TAP version 13 4295s # random seed: R02S74ec19128c900ad341a041d6e8d9054a 4295s 1..2 4295s # Start of atomic tests 4295s ok 1 /atomic/types 4296s ok 2 /atomic/threaded 4296s # slow test /atomic/threaded executed in 0.68 secs 4296s # End of atomic tests 4296s ok - glib/atomic.test 4296s # Running test: glib/properties-refcount3.test 4296s TAP version 13 4296s # random seed: R02Sf877d2377f88d191b1e1d4e9c8a36b5b 4296s 1..1 4296s # Start of gobject tests 4296s # Start of refcount tests 4297s # Executing: glib/properties-refcount3.test 4302s # Executing: glib/properties-refcount3.test 4307s # Executing: glib/properties-refcount3.test 4312s # Executing: glib/properties-refcount3.test 4317s # Executing: glib/properties-refcount3.test 4322s # Executing: glib/properties-refcount3.test 4326s # 4326s # stopping 4326s # 4326s # stopped 4326s # 4326s # 16927682 1138869 4326s # 4326s ok 1 /gobject/refcount/properties-3 4326s # slow test /gobject/refcount/properties-3 executed in 30.02 secs 4326s # End of refcount tests 4326s # End of gobject tests 4326s ok - glib/properties-refcount3.test 4326s # Running test: glib/unicode-normalize.test 4326s TAP version 13 4326s # random seed: R02Sd0d4d712d152558b37aa0aef5a924ee0 4326s 1..3 4326s # Start of unicode tests 4326s # Processing Part0 # Specific cases 4326s # Processing Part1 # Character by character test 4326s # Processing Part2 # Canonical Order Test 4326s # Processing Part3 # PRI #29 Test 4326s ok 1 /unicode/normalize 4326s # Invalid UTF-8 vector 0 4326s # Invalid UTF-8 vector 1 4326s # Invalid UTF-8 vector 2 4326s # Invalid UTF-8 vector 3 4326s # Invalid UTF-8 vector 4 4326s # Invalid UTF-8 vector 5 4326s # Invalid UTF-8 vector 6 4326s # Invalid UTF-8 vector 7 4326s # Invalid UTF-8 vector 8 4326s # Invalid UTF-8 vector 9 4326s # Invalid UTF-8 vector 10 4326s # Invalid UTF-8 vector 11 4326s # Invalid UTF-8 vector 12 4326s ok 2 /unicode/normalize-invalid 4326s # Start of normalize tests 4326s ok 3 /unicode/normalize/bad-length 4326s # End of normalize tests 4326s # End of unicode tests 4326s ok - glib/unicode-normalize.test 4326s # Running test: glib/mainloop.test 4326s TAP version 13 4326s # random seed: R02S139276eba010e4f135afc60b0d29e62c 4326s 1..45 4326s # Start of maincontext tests 4326s ok 1 /maincontext/basic 4326s # Add same-priority sources: 72 4326s # Find each source: 20 4327s # Remove in random order: 103 4327s ok 2 /maincontext/nsources_same_priority 4327s # Add different-priority sources: 56 4327s # Find each source: 20 4327s # Executing: glib/mainloop.test 4327s # Remove in random order: 127 4327s ok 3 /maincontext/nsources_different_priority 4328s # Add sources from threads: 929 4328s # Remove sources from threads: 433 4328s ok 4 /maincontext/nsources_threadpool 4328s # slow test /maincontext/nsources_threadpool executed in 1.39 secs 4328s ok 5 /maincontext/source_finalization 4328s # /maincontext/idle-once summary: Test g_idle_add_once() works 4328s ok 6 /maincontext/idle-once 4328s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 4328s ok 7 /maincontext/timeout-once 4328s # Start of source_finalization_from_source tests 4328s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4328s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4328s ok 8 /maincontext/source_finalization_from_source/0 4328s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4328s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4328s ok 9 /maincontext/source_finalization_from_source/1 4328s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4328s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4328s ok 10 /maincontext/source_finalization_from_source/2 4328s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4328s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4328s ok 11 /maincontext/source_finalization_from_source/3 4328s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4328s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4328s ok 12 /maincontext/source_finalization_from_source/4 4328s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4328s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4328s ok 13 /maincontext/source_finalization_from_source/5 4328s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4328s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4328s ok 14 /maincontext/source_finalization_from_source/6 4328s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4328s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4328s ok 15 /maincontext/source_finalization_from_source/7 4328s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4328s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4328s ok 16 /maincontext/source_finalization_from_source/8 4328s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4328s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4328s ok 17 /maincontext/source_finalization_from_source/9 4328s # End of source_finalization_from_source tests 4328s # Start of source_finalization_from_dispatch tests 4328s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 4328s ok 18 /maincontext/source_finalization_from_dispatch/0 4328s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 4328s ok 19 /maincontext/source_finalization_from_dispatch/1 4328s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 4328s ok 20 /maincontext/source_finalization_from_dispatch/2 4328s # End of source_finalization_from_dispatch tests 4328s # End of maincontext tests 4328s # Start of mainloop tests 4328s ok 21 /mainloop/basic 4328s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 4328s ok 23 /mainloop/priorities 4329s ok 24 /mainloop/invoke 4329s # slow test /mainloop/invoke executed in 0.50 secs 4330s ok 25 /mainloop/child_sources 4330s # slow test /mainloop/child_sources executed in 1.22 secs 4332s # Executing: glib/mainloop.test 4332s ok 26 /mainloop/recursive_child_sources 4332s # slow test /mainloop/recursive_child_sources executed in 2.24 secs 4332s ok 27 /mainloop/recursive_loop_child_sources 4333s ok 28 /mainloop/swapping_child_sources 4333s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 4333s ok 29 /mainloop/blocked_child_sources 4334s ok 30 /mainloop/source_time 4334s # slow test /mainloop/source_time executed in 1.00 secs 4334s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 4334s ok 31 /mainloop/overflow 4334s ok 32 /mainloop/ready-time 4334s # slow test /mainloop/ready-time executed in 0.50 secs 4334s ok 33 /mainloop/wakeup 4334s ok 34 /mainloop/remove-invalid 4334s ok 35 /mainloop/unref-while-pending 4337s # Executing: glib/mainloop.test 4338s ok 36 /mainloop/unix-fd 4338s # slow test /mainloop/unix-fd executed in 4.05 secs 4338s ok 37 /mainloop/unix-fd-source 4338s ok 38 /mainloop/source-unix-fd-api 4338s ok 39 /mainloop/wait 4338s ok 40 /mainloop/unix-file-poll 4338s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 4338s ok 41 /mainloop/unix-fd-priority 4338s ok 42 /mainloop/nfds 4338s ok 43 /mainloop/steal-fd 4338s # Start of ownerless-polling tests 4338s ok 44 /mainloop/ownerless-polling/attach-first 4338s ok 45 /mainloop/ownerless-polling/pop-first 4338s # End of ownerless-polling tests 4338s # End of mainloop tests 4338s ok - glib/mainloop.test 4338s # Running test: glib/cxx-14.test 4338s TAP version 13 4338s # random seed: R02Sfddab01393405e2ee1bd3c6cc948bcd4 4338s 1..2 4338s # Start of gtask tests 4338s # 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. 4338s ok 1 /gtask/name 4338s # Start of name tests 4338s # 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. 4338s ok 2 /gtask/name/macro-wrapper 4338s # End of name tests 4338s # End of gtask tests 4338s ok - glib/cxx-14.test 4338s # Running test: glib/gdbus-connection-slow.test 4338s TAP version 13 4338s # random seed: R02S8111fcd93d2b9767645ae5a521853f93 4338s 1..2 4338s # Start of gdbus tests 4338s # Start of connection tests 4338s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/flush/.dirs/home 4338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/flush/.dirs/cache 4338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/flush/.dirs/system-config2 4338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/flush/.dirs/config 4338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/flush/.dirs/system-data2 4338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/flush/.dirs/data 4338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/flush/.dirs/state 4338s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/flush/.dirs/runtime 4338s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4339s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4339s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4339s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4339s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4339s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4339s ok 1 /gdbus/connection/flush 4339s # slow test /gdbus/connection/flush executed in 0.92 secs 4339s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/large_message/.dirs/home 4339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/large_message/.dirs/cache 4339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/large_message/.dirs/system-config2 4339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/large_message/.dirs/config 4339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/large_message/.dirs/system-data2 4339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/large_message/.dirs/data 4339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/large_message/.dirs/state 4339s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_HGY4J2/gdbus/connection/large_message/.dirs/runtime 4339s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4339s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4339s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4339s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4339s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4339s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4339s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4341s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4341s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4341s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4341s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4341s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4341s ok 2 /gdbus/connection/large_message 4341s # slow test /gdbus/connection/large_message executed in 1.60 secs 4341s # End of connection tests 4341s # End of gdbus tests 4341s ok - glib/gdbus-connection-slow.test 4341s # Running test: glib/cxx-20.test 4341s TAP version 13 4341s # random seed: R02S91e9d1b64d4db5ed251035ef5563501e 4341s 1..2 4341s # Start of gtask tests 4341s # 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. 4341s ok 1 /gtask/name 4341s # Start of name tests 4341s # 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. 4341s ok 2 /gtask/name/macro-wrapper 4341s # End of name tests 4341s # End of gtask tests 4341s ok - glib/cxx-20.test 4341s # Running test: glib/task.test 4341s TAP version 13 4341s # random seed: R02S7ffb61090d4dc6020c550fb49af6994a 4341s 1..36 4341s # Start of gtask tests 4341s ok 1 /gtask/basic 4341s ok 2 /gtask/error 4341s ok 3 /gtask/error-literal 4341s ok 4 /gtask/error-literal-from-variable 4341s ok 5 /gtask/return-from-same-iteration 4341s ok 6 /gtask/return-from-toplevel 4341s ok 7 /gtask/return-from-anon-thread 4341s ok 8 /gtask/return-from-wrong-thread 4341s ok 9 /gtask/no-callback 4341s ok 10 /gtask/report-error 4341s ok 11 /gtask/priority 4341s ok 12 /gtask/name 4341s ok 13 /gtask/static-name 4341s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 4341s ok 14 /gtask/asynchronous-cancellation 4342s ok 15 /gtask/check-cancellable 4342s ok 16 /gtask/return-if-cancelled 4342s ok 17 /gtask/run-in-thread 4342s ok 18 /gtask/run-in-thread-sync 4342s ok 19 /gtask/run-in-thread-priority 4342s ok 20 /gtask/run-in-thread-nested 4342s # Executing: glib/task.test 4342s ok 21 /gtask/run-in-thread-overflow 4342s # slow test /gtask/run-in-thread-overflow executed in 0.53 secs 4342s # GLib-GIO-DEBUG: GTask 0xb95c90f7c460 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 4342s # GLib-GIO-DEBUG: GTask 0xb95c90f7ccb0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 4342s ok 22 /gtask/return-on-cancel 4342s # GLib-GIO-DEBUG: GTask 0xb95c90f7ceb0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 4342s # GLib-GIO-DEBUG: GTask 0xb95c90febdf0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 4342s ok 23 /gtask/return-on-cancel-sync 4342s ok 24 /gtask/return-on-cancel-atomic 4342s ok 25 /gtask/return-pointer 4342s ok 26 /gtask/return-value 4342s ok 27 /gtask/return-prefixed-error 4342s ok 28 /gtask/object-keepalive 4342s ok 29 /gtask/legacy-error 4342s ok 30 /gtask/finalize-without-return 4342s # Start of name tests 4342s ok 31 /gtask/name/macro-wrapper 4342s # End of name tests 4342s # Start of return tests 4342s ok 32 /gtask/return/error-first 4342s ok 33 /gtask/return/value-first 4342s # Start of in-idle tests 4342s ok 34 /gtask/return/in-idle/error-first 4342s ok 35 /gtask/return/in-idle/value-first 4342s # End of in-idle tests 4342s # End of return tests 4342s # Start of attach-source tests 4342s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 4342s ok 36 /gtask/attach-source/set-name 4342s # End of attach-source tests 4342s # End of gtask tests 4342s ok - glib/task.test 4342s # Running test: glib/socket-service.test 4342s TAP version 13 4342s # random seed: R02S43529c0b1032e25f7cb0cadbfb70df4c 4342s 1..4 4342s # Start of socket-service tests 4342s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 4342s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xba368e803340 and GSocketClientAsyncConnectData 0xba368e7fb620 4342s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4342s ok 1 /socket-service/start-stop 4342s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xba368e804ea0 and GSocketClientAsyncConnectData 0xba368e804c40 4342s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4342s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4342s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xba368e8053b0 for GSocketClientAsyncConnectData 0xba368e7fb620 4342s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4342s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4342s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4342s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 4342s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4342s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xba368e806230 for GSocketClientAsyncConnectData 0xba368e804c40 4342s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4342s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4342s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4342s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 4342s ok 2 /socket-service/read_write_async 4342s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xba368e808f80 and GSocketClientAsyncConnectData 0xba368e8069a0 4342s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4342s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4342s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xba368e807160 for GSocketClientAsyncConnectData 0xba368e8069a0 4342s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4342s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4342s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4342s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 4342s ok 3 /socket-service/read_writev_async 4342s # Start of threaded tests 4342s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 4342s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xba368e80a6e0 and GSocketClientAsyncConnectData 0xba368e806d20 4342s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 4342s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 4342s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xba368e80a910 for GSocketClientAsyncConnectData 0xba368e806d20 4342s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 4342s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 4342s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 4342s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 4342s ok 4 /socket-service/threaded/712570 4342s # End of threaded tests 4342s # End of socket-service tests 4342s ok - glib/socket-service.test 4342s # Running test: glib/signals.test 4342s TAP version 13 4342s # random seed: R02S1133733426c8277c289f365a51fb21ac 4342s 1..31 4342s # Start of gobject tests 4342s # Start of signals tests 4342s ok 1 /gobject/signals/all-types 4342s ok 2 /gobject/signals/variant 4342s ok 3 /gobject/signals/destroy-target-object 4342s ok 4 /gobject/signals/generic-marshaller-1 4342s ok 5 /gobject/signals/generic-marshaller-2 4342s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 4342s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 4342s ok 8 /gobject/signals/generic-marshaller-int-return 4342s ok 9 /gobject/signals/generic-marshaller-uint-return 4342s ok 10 /gobject/signals/generic-marshaller-interface-return 4342s ok 11 /gobject/signals/custom-marshaller 4342s ok 12 /gobject/signals/connect 4342s ok 13 /gobject/signals/emission-hook 4342s ok 14 /gobject/signals/emitv 4342s ok 15 /gobject/signals/accumulator 4342s # Signal: accumulator-class-first 4342s # Signal: accumulator-class-last 4342s # Signal: accumulator-class-cleanup 4342s # Signal: accumulator-class-first-last 4342s # Signal: accumulator-class-first-last-cleanup 4342s # Signal: accumulator-class-last-cleanup 4342s ok 16 /gobject/signals/accumulator-class 4342s ok 17 /gobject/signals/introspection 4342s ok 18 /gobject/signals/block-handler 4342s ok 19 /gobject/signals/stop-emission 4342s ok 20 /gobject/signals/invocation-hint 4342s ok 21 /gobject/signals/test-disconnection-wrong-object 4342s ok 22 /gobject/signals/clear-signal-handler 4342s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 4342s ok 23 /gobject/signals/lookup 4342s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 4342s ok 24 /gobject/signals/parse-name 4342s ok 25 /gobject/signals/is-valid-name 4342s ok 26 /gobject/signals/weak-ref-disconnect 4342s # Start of lookup tests 4342s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 4342s ok 27 /gobject/signals/lookup/invalid 4342s # End of lookup tests 4342s # Start of parse-name tests 4342s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 4342s # Parser input: 4342s # Parser input: 7zip 4342s # Parser input: invalid:signal 4342s # Parser input: simple-detailed:: 4342s # Parser input: simple-detailed: 4342s # Parser input: : 4342s # Parser input: :: 4342s # Parser input: :valid-detail 4342s # Parser input: ::valid-detail 4342s ok 28 /gobject/signals/parse-name/invalid 4342s # End of parse-name tests 4342s # Start of invalid-name tests 4342s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 4342s ok 29 /gobject/signals/invalid-name/colon 4342s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 4342s ok 30 /gobject/signals/invalid-name/first-char 4342s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 4342s ok 31 /gobject/signals/invalid-name/empty 4342s # End of invalid-name tests 4342s # End of signals tests 4342s # End of gobject tests 4342s ok - glib/signals.test 4342s # Running test: glib/singleton.test 4342s TAP version 13 4342s # random seed: R02S312fb868171960060544a4d2f8cdad21 4342s 1..2 4342s # Start of gobject tests 4342s # Start of singleton tests 4342s ok 1 /gobject/singleton/construction 4342s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 4342s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 4342s ok 2 /gobject/singleton/construct-property 4342s # End of singleton tests 4342s # End of gobject tests 4342s ok - glib/singleton.test 4342s # Running test: glib/refcount.test 4342s TAP version 13 4342s # random seed: R02S92cbbff00022f4f951005712b3e78b64 4342s 1..4 4342s # Start of refcount tests 4342s ok 1 /refcount/grefcount 4342s ok 2 /refcount/gatomicrefcount 4342s # Start of grefcount tests 4342s ok 3 /refcount/grefcount/saturation 4342s # End of grefcount tests 4342s # Start of gatomicrefcount tests 4342s ok 4 /refcount/gatomicrefcount/saturation 4342s # End of gatomicrefcount tests 4342s # End of refcount tests 4342s ok - glib/refcount.test 4342s # Running test: glib/dbus-appinfo.test 4342s TAP version 13 4342s # random seed: R02S9249418de39f54d3205673a0157486d6 4342s 1..3 4342s # Start of appinfo tests 4342s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4342s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 4342s ok 1 /appinfo/dbusappinfo 4342s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 4342s dbus-daemon[13770]: [session uid=1000 pid=13770] Activating service name='org.freedesktop.portal.Documents' requested by ':1.0' (uid=1000 pid=13769 comm="/usr/libexec/installed-tests/glib/dbus-appinfo" label="unconfined") 4342s # Acquired a message bus connection 4342s dbus-daemon[13770]: [session uid=1000 pid=13770] Successfully activated service 'org.freedesktop.portal.Documents' 4342s # Acquired the name org.freedesktop.portal.Documents 4342s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 4342s ok 2 /appinfo/flatpak-doc-export 4342s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 4342s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4342s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 4342s ok 3 /appinfo/flatpak-missing-doc-export 4342s # End of appinfo tests 4342s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4342s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4342s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4342s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4342s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4342s # Lost the name org.freedesktop.portal.Documents 4342s ok - glib/dbus-appinfo.test 4342s # Running test: glib/vfs.test 4342s TAP version 13 4342s # random seed: R02Sa8c82a4e71c7cf6f1aae1a4de95df2f6 4342s 1..3 4342s # Start of gvfs tests 4342s ok 1 /gvfs/local 4342s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 4342s ok 2 /gvfs/register-scheme 4342s # Start of resource tests 4342s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 4342s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 4342s ok 3 /gvfs/resource/malformed-escaping 4342s # End of resource tests 4342s # End of gvfs tests 4342s ok - glib/vfs.test 4342s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 4342s TAP version 13 4342s # random seed: R02S41fc7e9224d1fd71a45be0343daf4e3e 4342s 1..8 4342s # Start of gdbus tests 4342s # Start of codegen tests 4342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/annotations/.dirs/home 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/annotations/.dirs/cache 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/annotations/.dirs/system-config2 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/annotations/.dirs/config 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/annotations/.dirs/system-data2 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/annotations/.dirs/data 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/annotations/.dirs/state 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/annotations/.dirs/runtime 4342s ok 1 /gdbus/codegen/annotations 4342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/interface_stability/.dirs/home 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/interface_stability/.dirs/cache 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/interface_stability/.dirs/system-config2 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/interface_stability/.dirs/config 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/interface_stability/.dirs/system-data2 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/interface_stability/.dirs/data 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/interface_stability/.dirs/state 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/interface_stability/.dirs/runtime 4342s ok 2 /gdbus/codegen/interface_stability 4342s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/object-manager/.dirs/home 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/object-manager/.dirs/cache 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/object-manager/.dirs/system-config2 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/object-manager/.dirs/config 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/object-manager/.dirs/system-data2 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/object-manager/.dirs/data 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/object-manager/.dirs/state 4342s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/object-manager/.dirs/runtime 4342s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4343s ok 3 /gdbus/codegen/object-manager 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/property-naming/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/property-naming/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/property-naming/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/property-naming/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/property-naming/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/property-naming/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/property-naming/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/property-naming/.dirs/runtime 4343s ok 4 /gdbus/codegen/property-naming 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/autocleanups/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/autocleanups/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/autocleanups/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/autocleanups/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/autocleanups/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/autocleanups/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/autocleanups/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/autocleanups/.dirs/runtime 4343s ok 5 /gdbus/codegen/autocleanups 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/deprecations/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/deprecations/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/deprecations/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/deprecations/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/deprecations/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/deprecations/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/deprecations/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/deprecations/.dirs/runtime 4343s ok 6 /gdbus/codegen/deprecations 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/standalone-interface-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/standalone-interface-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/standalone-interface-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/standalone-interface-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/standalone-interface-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/standalone-interface-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/standalone-interface-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/standalone-interface-info/.dirs/runtime 4343s ok 7 /gdbus/codegen/standalone-interface-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/unix-fd-list/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/unix-fd-list/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/unix-fd-list/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/unix-fd-list/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/unix-fd-list/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/unix-fd-list/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/unix-fd-list/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_TZO6J2/gdbus/codegen/unix-fd-list/.dirs/runtime 4343s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 4343s ok 8 /gdbus/codegen/unix-fd-list 4343s # End of codegen tests 4343s # End of gdbus tests 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s ok - glib/gdbus-test-codegen-min-required-2-64.test 4343s # Running test: glib/repository-search-paths.test 4343s TAP version 13 4343s # random seed: R02S157bf0307de303377cefda5da88e3390 4343s 1..4 4343s # Start of repository tests 4343s # Start of search-paths tests 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/default/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/default/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_LU5BK2/repository/search-paths/default/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/default/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_LU5BK2/repository/search-paths/default/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/default/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/default/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/default/.dirs/runtime 4343s ok 1 /repository/search-paths/default 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/prepend/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/prepend/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_LU5BK2/repository/search-paths/prepend/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/prepend/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_LU5BK2/repository/search-paths/prepend/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/prepend/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/prepend/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_LU5BK2/repository/search-paths/prepend/.dirs/runtime 4343s ok 2 /repository/search-paths/prepend 4343s # End of search-paths tests 4343s # Start of library-paths tests 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/default/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/default/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_LU5BK2/repository/library-paths/default/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/default/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_LU5BK2/repository/library-paths/default/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/default/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/default/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/default/.dirs/runtime 4343s ok 3 /repository/library-paths/default 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/prepend/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/prepend/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_LU5BK2/repository/library-paths/prepend/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/prepend/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_LU5BK2/repository/library-paths/prepend/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/prepend/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/prepend/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_LU5BK2/repository/library-paths/prepend/.dirs/runtime 4343s ok 4 /repository/library-paths/prepend 4343s # End of library-paths tests 4343s # End of repository tests 4343s ok - glib/repository-search-paths.test 4343s # Running test: glib/gdbus-addresses.test 4343s TAP version 13 4343s # random seed: R02S5c8861565cd44e99b75d981b6f82e642 4343s 1..9 4343s # Start of gdbus tests 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/empty-address/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/empty-address/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1159J2/gdbus/empty-address/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/empty-address/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1159J2/gdbus/empty-address/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/empty-address/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/empty-address/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1159J2/gdbus/empty-address/.dirs/runtime 4343s ok 1 /gdbus/empty-address 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/unsupported-address/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/unsupported-address/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1159J2/gdbus/unsupported-address/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/unsupported-address/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1159J2/gdbus/unsupported-address/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/unsupported-address/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/unsupported-address/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1159J2/gdbus/unsupported-address/.dirs/runtime 4343s ok 2 /gdbus/unsupported-address 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/address-parsing/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/address-parsing/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_1159J2/gdbus/address-parsing/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/address-parsing/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_1159J2/gdbus/address-parsing/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/address-parsing/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/address-parsing/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1159J2/gdbus/address-parsing/.dirs/runtime 4343s ok 3 /gdbus/address-parsing 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/unix-address/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/unix-address/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1159J2/gdbus/unix-address/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/unix-address/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1159J2/gdbus/unix-address/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/unix-address/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/unix-address/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1159J2/gdbus/unix-address/.dirs/runtime 4343s ok 4 /gdbus/unix-address 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/nonce-tcp-address/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/nonce-tcp-address/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1159J2/gdbus/nonce-tcp-address/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/nonce-tcp-address/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1159J2/gdbus/nonce-tcp-address/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/nonce-tcp-address/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/nonce-tcp-address/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1159J2/gdbus/nonce-tcp-address/.dirs/runtime 4343s ok 5 /gdbus/nonce-tcp-address 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/tcp-address/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/tcp-address/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1159J2/gdbus/tcp-address/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/tcp-address/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1159J2/gdbus/tcp-address/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/tcp-address/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/tcp-address/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1159J2/gdbus/tcp-address/.dirs/runtime 4343s ok 6 /gdbus/tcp-address 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/autolaunch-address/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/autolaunch-address/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1159J2/gdbus/autolaunch-address/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/autolaunch-address/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1159J2/gdbus/autolaunch-address/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/autolaunch-address/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/autolaunch-address/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1159J2/gdbus/autolaunch-address/.dirs/runtime 4343s ok 7 /gdbus/autolaunch-address 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/mixed-address/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/mixed-address/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1159J2/gdbus/mixed-address/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/mixed-address/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1159J2/gdbus/mixed-address/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/mixed-address/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/mixed-address/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1159J2/gdbus/mixed-address/.dirs/runtime 4343s ok 8 /gdbus/mixed-address 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/escape-address/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/escape-address/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_1159J2/gdbus/escape-address/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/escape-address/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_1159J2/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_1159J2/gdbus/escape-address/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/escape-address/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_1159J2/gdbus/escape-address/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_1159J2/gdbus/escape-address/.dirs/runtime 4343s ok 9 /gdbus/escape-address 4343s # End of gdbus tests 4343s ok - glib/gdbus-addresses.test 4343s # Running test: glib/gdbus-connection.test 4343s TAP version 13 4343s # random seed: R02S2186c6fca47000f6b12cb0ea699b5059 4343s 1..9 4343s # Start of gdbus tests 4343s # Start of connection tests 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/bus-failure/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/bus-failure/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/bus-failure/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/bus-failure/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/bus-failure/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/bus-failure/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/bus-failure/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/bus-failure/.dirs/runtime 4343s ok 1 /gdbus/connection/bus-failure 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/basic/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/basic/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/basic/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/basic/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/basic/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/basic/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/basic/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/basic/.dirs/runtime 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4343s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s ok 2 /gdbus/connection/basic 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/life-cycle/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/life-cycle/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/life-cycle/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/life-cycle/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/life-cycle/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/life-cycle/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/life-cycle/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/life-cycle/.dirs/runtime 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4343s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s ok 3 /gdbus/connection/life-cycle 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/send/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/send/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/send/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/send/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/send/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/send/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/send/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/send/.dirs/runtime 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4343s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s ok 4 /gdbus/connection/send 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signals/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signals/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/signals/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signals/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/signals/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signals/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signals/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signals/.dirs/runtime 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4343s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s ok 5 /gdbus/connection/signals 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signal-match-rules/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signal-match-rules/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/signal-match-rules/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signal-match-rules/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/signal-match-rules/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signal-match-rules/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signal-match-rules/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/signal-match-rules/.dirs/runtime 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4343s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s ok 6 /gdbus/connection/signal-match-rules 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/filter/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/filter/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/filter/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/filter/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/filter/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/filter/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/filter/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/filter/.dirs/runtime 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4343s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s ok 7 /gdbus/connection/filter 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/serials/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/serials/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/serials/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/serials/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/serials/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/serials/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/serials/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/serials/.dirs/runtime 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4343s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s ok 8 /gdbus/connection/serials 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/cancel/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/cancel/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/cancel/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/cancel/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_4P18J2/gdbus/connection/cancel/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/cancel/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/cancel/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_4P18J2/gdbus/connection/cancel/.dirs/runtime 4343s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4343s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4343s ok 9 /gdbus/connection/cancel 4343s # End of connection tests 4343s # End of gdbus tests 4343s ok - glib/gdbus-connection.test 4343s # Running test: glib/autoptr-girepository.test 4343s TAP version 13 4343s # random seed: R02S45f673e58664753424f0e730a15f7842 4343s 1..24 4343s # Start of autoptr tests 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/repository/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/repository/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/repository/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/repository/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/repository/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/repository/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/repository/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/repository/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 1 /autoptr/repository 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/typelib/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/typelib/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/typelib/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/typelib/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/typelib/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/typelib/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/typelib/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/typelib/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 2 /autoptr/typelib 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/base-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/base-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/base-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/base-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/base-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/base-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/base-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/base-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 3 /autoptr/base-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/arg-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/arg-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/arg-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/arg-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/arg-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/arg-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/arg-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/arg-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 4 /autoptr/arg-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callable-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callable-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/callable-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callable-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/callable-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callable-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callable-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callable-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 5 /autoptr/callable-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callback-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callback-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/callback-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callback-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/callback-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callback-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callback-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/callback-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 6 /autoptr/callback-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/constant-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/constant-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/constant-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/constant-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/constant-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/constant-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/constant-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/constant-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 7 /autoptr/constant-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/enum-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/enum-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/enum-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/enum-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/enum-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/enum-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/enum-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/enum-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 8 /autoptr/enum-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/field-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/field-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/field-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/field-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/field-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/field-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/field-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/field-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 9 /autoptr/field-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/flags-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/flags-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/flags-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/flags-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/flags-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/flags-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/flags-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/flags-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 10 /autoptr/flags-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/function-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/function-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/function-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/function-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/function-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/function-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/function-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/function-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 11 /autoptr/function-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/interface-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/interface-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/interface-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/interface-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/interface-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/interface-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/interface-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/interface-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 12 /autoptr/interface-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/object-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/object-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/object-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/object-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/object-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/object-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/object-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/object-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 13 /autoptr/object-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/property-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/property-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/property-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/property-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/property-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/property-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/property-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/property-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 14 /autoptr/property-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/registered-type-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/registered-type-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/registered-type-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/registered-type-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/registered-type-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/registered-type-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/registered-type-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/registered-type-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 15 /autoptr/registered-type-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/signal-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/signal-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/signal-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/signal-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/signal-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/signal-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/signal-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/signal-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 16 /autoptr/signal-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/struct-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/struct-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/struct-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/struct-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/struct-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/struct-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/struct-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/struct-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 17 /autoptr/struct-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/type-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/type-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/type-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/type-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/type-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/type-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/type-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/type-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 18 /autoptr/type-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/union-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/union-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/union-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/union-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/union-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/union-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/union-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/union-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 19 /autoptr/union-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/value-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/value-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/value-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/value-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/value-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/value-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/value-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/value-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 20 /autoptr/value-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/vfunc-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/vfunc-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/vfunc-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/vfunc-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/autoptr/vfunc-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/vfunc-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/autoptr/vfunc-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/autoptr/vfunc-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 21 /autoptr/vfunc-info 4343s # End of autoptr tests 4343s # Start of auto tests 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/auto/arg-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/auto/arg-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/auto/arg-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/auto/arg-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/auto/arg-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/auto/arg-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/auto/arg-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/auto/arg-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 22 /auto/arg-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/auto/type-info/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/auto/type-info/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/auto/type-info/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/auto/type-info/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/auto/type-info/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/auto/type-info/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/auto/type-info/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/auto/type-info/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 23 /auto/type-info 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_NKHDK2/auto/function-invoker/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_NKHDK2/auto/function-invoker/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_NKHDK2/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_NKHDK2/auto/function-invoker/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_NKHDK2/auto/function-invoker/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_NKHDK2/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_NKHDK2/auto/function-invoker/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_NKHDK2/auto/function-invoker/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_NKHDK2/auto/function-invoker/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_NKHDK2/auto/function-invoker/.dirs/runtime 4343s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 4343s ok 24 /auto/function-invoker 4343s # End of auto tests 4343s ok - glib/autoptr-girepository.test 4343s # Running test: glib/types.test 4343s TAP version 13 4343s # random seed: R02S6b2dc35ce0b15c838f410de85af4ba2f 4343s 1..1 4343s # Start of types tests 4343s ok 1 /types/basic_types 4343s # End of types tests 4343s ok - glib/types.test 4343s # Running test: glib/markup.test 4343s TAP version 13 4343s # random seed: R02Se67a62a6dd6865854adb728e4030373d 4343s 1..1 4343s # Start of markup tests 4343s ok 1 /markup/stack 4343s # End of markup tests 4343s ok - glib/markup.test 4343s # Running test: glib/override.test 4343s TAP version 13 4343s # random seed: R02Sbb00a3c9c52997dbc4f74a529dc20dab 4343s 1..1 4343s # Start of gobject tests 4343s # *** emitting foo on a TestA instance 4343s # Expecting: TestA::foo,TestI::foo 4343s # Got: TestA::foo,TestI::foo 4343s # *** emitting bar on a TestA instance 4343s # Expecting: TestA::bar 4343s # Got: TestA::bar 4343s # *** emitting baz on a TestA instance 4343s # Expecting: TestA::baz 4343s # Got: TestA::baz 4343s # *** emitting foo on a TestB instance 4343s # Expecting: TestB::foo,TestA::foo,TestI::foo 4343s # Got: TestB::foo,TestA::foo,TestI::foo 4343s # *** emitting bar on a TestB instance 4343s # Expecting: TestB::bar,TestA::bar 4343s # Got: TestB::bar,TestA::bar 4343s # *** emitting baz on a TestB instance 4343s # Expecting: TestB::baz,TestA::baz 4343s # Got: TestB::baz,TestA::baz 4343s # *** emitting foo on a TestC instance 4343s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 4343s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 4343s # *** emitting bar on a TestC instance 4343s # Expecting: TestC::bar,TestB::bar,TestA::bar 4343s # Got: TestC::bar,TestB::bar,TestA::bar 4343s # *** emitting baz on a TestC instance 4343s # Expecting: TestC::baz,TestB::baz,TestA::baz 4343s # Got: TestC::baz,TestB::baz,TestA::baz 4343s ok 1 /gobject/override 4343s # End of gobject tests 4343s ok - glib/override.test 4343s # Running test: glib/collate.test 4343s TAP version 13 4343s # random seed: R02S8f4d081ce9f510ee08c44b30c1a23de3 4343s 1..9 4343s # Start of unicode tests 4343s # Start of collate tests 4343s ok 1 /unicode/collate/0 4343s ok 2 /unicode/collate/1 4343s ok 3 /unicode/collate/2 4343s # End of collate tests 4343s # Start of collate-key tests 4343s ok 4 /unicode/collate-key/0 4343s ok 5 /unicode/collate-key/1 4343s ok 6 /unicode/collate-key/2 4343s # End of collate-key tests 4343s # Start of collate-filename tests 4343s ok 7 /unicode/collate-filename/0 4343s ok 8 /unicode/collate-filename/1 4343s ok 9 /unicode/collate-filename/2 4343s # End of collate-filename tests 4343s # End of unicode tests 4343s ok - glib/collate.test 4343s # Running test: glib/notify-init.test 4343s TAP version 13 4343s # random seed: R02Saa0a0e7dafc775eb8cf553c37970260f 4343s 1..1 4343s # Start of properties tests 4343s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 4343s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 4343s ok 1 /properties/notify-in-init 4343s # End of properties tests 4343s ok - glib/notify-init.test 4343s # Running test: glib/dynamictype.test 4343s TAP version 13 4343s # random seed: R02Sa4515f98e1c26c0f954878994ad5e495 4343s 1..2 4343s # Start of gobject tests 4343s ok 1 /gobject/dynamic-type 4343s # Start of dynamic-type tests 4343s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 4343s ok 2 /gobject/dynamic-type/query 4343s # End of dynamic-type tests 4343s # End of gobject tests 4343s ok - glib/dynamictype.test 4343s # Running test: glib/sandbox.test 4343s TAP version 13 4343s # random seed: R02S94bc251629fbe46a9105f8f17a00437a 4343s 1..4 4343s # Start of sandbox tests 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_0PEWJ2/sandbox/none/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/none/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_0PEWJ2/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_0PEWJ2/sandbox/none/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/none/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_0PEWJ2/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_0PEWJ2/sandbox/none/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/none/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/none/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_0PEWJ2/sandbox/none/.dirs/runtime 4343s ok 1 /sandbox/none 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_0PEWJ2/sandbox/snap/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/snap/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_0PEWJ2/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_0PEWJ2/sandbox/snap/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/snap/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_0PEWJ2/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_0PEWJ2/sandbox/snap/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/snap/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/snap/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_0PEWJ2/sandbox/snap/.dirs/runtime 4343s # Created snap.yaml in /tmp/test_sandbox_0PEWJ2/snap/current/meta/snap.yaml 4343s ok 2 /sandbox/snap 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_0PEWJ2/sandbox/classic-snap/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/classic-snap/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_0PEWJ2/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_0PEWJ2/sandbox/classic-snap/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/classic-snap/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_0PEWJ2/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_0PEWJ2/sandbox/classic-snap/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/classic-snap/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/classic-snap/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_0PEWJ2/sandbox/classic-snap/.dirs/runtime 4343s # Created snap.yaml in /tmp/test_sandbox_0PEWJ2/snap/current/meta/snap.yaml 4343s ok 3 /sandbox/classic-snap 4343s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_0PEWJ2/sandbox/flatpak/.dirs/home 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/flatpak/.dirs/cache 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_0PEWJ2/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_0PEWJ2/sandbox/flatpak/.dirs/system-config2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/flatpak/.dirs/config 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_0PEWJ2/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_0PEWJ2/sandbox/flatpak/.dirs/system-data2 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/flatpak/.dirs/data 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_0PEWJ2/sandbox/flatpak/.dirs/state 4343s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_0PEWJ2/sandbox/flatpak/.dirs/runtime 4343s # Creating .flatpak-info in /tmp/test_sandbox_0PEWJ2/sandbox/flatpak/.dirs/runtime/.flatpak-info 4343s ok 4 /sandbox/flatpak 4343s # End of sandbox tests 4343s ok - glib/sandbox.test 4343s # Running test: glib/signals-refcount2.test 4343s TAP version 13 4343s # random seed: R02S0a3c29dfb3f158ef45b9a29f2ba61eb8 4343s 1..1 4343s # Start of gobject tests 4343s # Start of refcount tests 4343s # init 0xbb4edf7fc420 4343s # 4343s # init 0xbb4edf7fc5c0 4343s # 4347s # Executing: glib/signals-refcount2.test 4348s # dispose 0xbb4edf7fc420! 4348s # 4348s # dispose 0xbb4edf7fc5c0! 4348s # 4348s ok 1 /gobject/refcount/signals 4348s # slow test /gobject/refcount/signals executed in 5.01 secs 4348s # End of refcount tests 4348s # End of gobject tests 4348s ok - glib/signals-refcount2.test 4348s # Running test: glib/socket.test 4348s TAP version 13 4348s # random seed: R02S4263f6fc414399153bcbf9e70a696f54 4348s 1..28 4348s # Start of socket tests 4349s ok 1 /socket/ipv4_sync 4349s # slow test /socket/ipv4_sync executed in 1.00 secs 4350s ok 2 /socket/ipv4_async 4350s # slow test /socket/ipv4_async executed in 1.00 secs 4350s ok 3 /socket/ipv6_sync 4350s ok 4 /socket/ipv6_async 4350s ok 5 /socket/ipv6_v4mapped 4351s ok 6 /socket/close_graceful 4351s # slow test /socket/close_graceful executed in 1.00 secs 4351s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 4351s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 4351s ok 8 /socket/fd_reuse 4351s ok 9 /socket/address 4351s ok 10 /socket/unix-from-fd 4351s ok 11 /socket/unix-connection 4351s ok 12 /socket/unix-connection-ancillary-data 4351s ok 13 /socket/source-postmortem 4351s ok 14 /socket/read_write 4351s ok 15 /socket/read_writev 4351s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 4351s ok 16 /socket/receive_bytes 4351s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 4351s ok 17 /socket/receive_bytes_from 4351s # Start of ipv4_sync tests 4351s ok 18 /socket/ipv4_sync/datagram 4351s # Start of datagram tests 4352s # Executing: glib/socket.test 4352s ok 19 /socket/ipv4_sync/datagram/timeouts 4352s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 4352s # End of datagram tests 4352s # End of ipv4_sync tests 4352s # Start of ipv6_sync tests 4352s ok 20 /socket/ipv6_sync/datagram 4352s # Start of datagram tests 4354s ok 21 /socket/ipv6_sync/datagram/timeouts 4354s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 4354s # End of datagram tests 4354s # End of ipv6_sync tests 4354s # Start of reuse tests 4354s ok 22 /socket/reuse/tcp 4354s ok 23 /socket/reuse/udp 4354s # End of reuse tests 4354s # Start of get_available tests 4354s ok 24 /socket/get_available/datagram 4354s ok 25 /socket/get_available/stream 4354s # End of get_available tests 4354s # Start of credentials tests 4354s # Supported on this OS: GCredentials:linux-ucred:pid=0 4354s ok 26 /socket/credentials/tcp_client 4354s # Supported on this OS: GCredentials:linux-ucred:pid=0 4354s ok 27 /socket/credentials/tcp_server 4354s # Supported on this OS: GCredentials:linux-ucred:pid=13892,uid=1000,gid=1000 4354s ok 28 /socket/credentials/unix_socketpair 4354s # End of credentials tests 4354s # End of socket tests 4354s ok - glib/socket.test 4354s # Running test: glib/async-splice-output-stream.test 4354s TAP version 13 4354s # random seed: R02Sfab2e8a351bba24fafebd856453b26c4 4354s 1..5 4354s # Start of async-splice tests 4354s ok 1 /async-splice/copy-chunks 4354s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 4354s ok 2 /async-splice/copy-chunks-threaded-input 4354s ok 3 /async-splice/copy-chunks-threaded-output 4354s ok 4 /async-splice/copy-chunks-threaded 4354s ok 5 /async-splice/cancelled 4354s # End of async-splice tests 4354s ok - glib/async-splice-output-stream.test 4354s # Running test: glib/power-profile-monitor-dbus.test 4355s TAP version 13 4355s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 4355s 1..1 4355s ok - glib/power-profile-monitor-dbus.test 4355s # Running test: glib/appmonitor.test 4355s TAP version 13 4355s # random seed: R02S9cdad327580b85b80a21bf2c0feae789 4355s 1..1 4355s # Start of monitor tests 4355s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_8QP8J2/monitor/app/.dirs/home 4355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_8QP8J2/monitor/app/.dirs/cache 4355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_8QP8J2/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_8QP8J2/monitor/app/.dirs/system-config2 4355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_8QP8J2/monitor/app/.dirs/config 4355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_8QP8J2/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_8QP8J2/monitor/app/.dirs/system-data2 4355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_8QP8J2/monitor/app/.dirs/data 4355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_8QP8J2/monitor/app/.dirs/state 4355s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_8QP8J2/monitor/app/.dirs/runtime 4355s # Using data directory: /tmp/test_appmonitor_8QP8J2/monitor/app/.dirs/data 4355s ok 1 /monitor/app 4355s # End of monitor tests 4355s ok - glib/appmonitor.test 4355s # Running test: glib/642026-ec.test 4355s TAP version 13 4355s # random seed: R02S1d4c67f8669051997f4a17a8663e3137 4355s 1..1 4355s # Start of glib tests 4355s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 4355s ok 1 /glib/642026 4355s # End of glib tests 4355s ok - glib/642026-ec.test 4355s # Running test: glib/module-test-plugin.test 4355s TAP version 13 4355s # random seed: R02Se95f05afe38942f54fcabc156f103e42 4355s 1..2 4355s # Start of module tests 4355s ok 1 /module/basics 4355s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 4355s ok 2 /module/invalid-libtool-archive 4355s # End of module tests 4355s ok - glib/module-test-plugin.test 4355s # Running test: glib/g-file-info.test 4355s TAP version 13 4355s # random seed: R02S85907186a3af4d8ddf57ac229d900a6d 4355s 1..6 4355s # Start of g-file-info tests 4355s ok 1 /g-file-info/test_g_file_info 4355s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 4355s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 4355s ok 2 /g-file-info/xattrs 4355s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 4355s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 4355s ok 3 /g-file-info/set-modified-date-time-precision 4355s # Start of test_g_file_info tests 4355s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 4355s ok 4 /g-file-info/test_g_file_info/modification-time 4355s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 4355s ok 5 /g-file-info/test_g_file_info/access-time 4355s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 4355s ok 6 /g-file-info/test_g_file_info/creation-time 4355s # End of test_g_file_info tests 4355s # End of g-file-info tests 4355s ok - glib/g-file-info.test 4355s # Running test: glib/stream-rw_all.test 4355s TAP version 13 4355s # random seed: R02S55dbea4021eac567f2c80b158eee3721 4355s 1..3 4355s # Start of stream tests 4355s # Start of read_all_async tests 4355s ok 1 /stream/read_all_async/memory 4355s # End of read_all_async tests 4355s # Start of write_all_async tests 4355s ok 2 /stream/write_all_async/memory 4355s # End of write_all_async tests 4355s # Start of read_write_all_async tests 4355s ok 3 /stream/read_write_all_async/pipe 4355s # End of read_write_all_async tests 4355s # End of stream tests 4355s ok - glib/stream-rw_all.test 4355s # Running test: glib/permission.test 4355s TAP version 13 4355s # random seed: R02Se7114e1fe05e154ab76264c3b19f83b9 4355s 1..1 4355s # Start of permission tests 4355s ok 1 /permission/simple 4355s # End of permission tests 4355s ok - glib/permission.test 4355s # Running test: glib/cxx-17.test 4355s TAP version 13 4355s # random seed: R02S09d75ec6c7ab35e635ce43d354ad1a60 4355s 1..2 4355s # Start of gtask tests 4355s # 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. 4355s ok 1 /gtask/name 4355s # Start of name tests 4355s # 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. 4355s ok 2 /gtask/name/macro-wrapper 4355s # End of name tests 4355s # End of gtask tests 4355s ok - glib/cxx-17.test 4355s # Running test: glib/gapplication.test 4355s TAP version 13 4355s # random seed: R02S8b0a62d72aeec78ef4391083b37c0611 4355s 1..24 4355s # Start of gapplication tests 4355s ok 1 /gapplication/no-dbus 4355s ok 2 /gapplication/no-appid 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4355s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s ok 3 /gapplication/properties 4355s ok 4 /gapplication/app-id 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4355s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s ok 5 /gapplication/quit 4355s ok 6 /gapplication/registered 4355s ok 7 /gapplication/local-actions 4355s ok 8 /gapplication/local-command-line 4355s ok 9 /gapplication/resource-path 4355s ok 10 /gapplication/test-help 4355s ok 11 /gapplication/command-line-done 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4355s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s ok 12 /gapplication/test-busy 4355s ok 13 /gapplication/test-handle-local-options1 4355s ok 14 /gapplication/test-handle-local-options2 4355s ok 15 /gapplication/test-handle-local-options3 4355s ok 16 /gapplication/api 4355s ok 17 /gapplication/version 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4355s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4355s # launching subprocess 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s ok 18 /gapplication/replace 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4355s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4355s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4355s # launching subprocess 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s ok 19 /gapplication/no-replace 4356s # slow test /gapplication/no-replace executed in 0.53 secs 4356s # Start of dbus tests 4356s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4356s # Message 0 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # Message 1 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # Message 2 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s ok 20 /gapplication/dbus/activate 4356s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4356s # Message 0 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 4356s # Message 1 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # Message 2 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # Message 3 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s ok 21 /gapplication/dbus/open 4356s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4356s # Message 0 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # Message 1 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # Message 2 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s ok 22 /gapplication/dbus/command-line 4356s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s ok 23 /gapplication/dbus/command-line-done 4356s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4356s # Message 0 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # Message 1 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # Message 2 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # Message 3 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # Message 4 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # Message 5 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s ok 24 /gapplication/dbus/activate-action 4356s # End of dbus tests 4356s # End of gapplication tests 4356s ok - glib/gapplication.test 4356s # Running test: glib/gdbus-bz627724.test 4356s TAP version 13 4356s # random seed: R02S091c0ee282831ee7eb53ca5aca805a16 4356s 1..1 4356s # Start of gdbus tests 4356s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_GVCDK2/gdbus/bz627724/.dirs/home 4356s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_GVCDK2/gdbus/bz627724/.dirs/cache 4356s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_GVCDK2/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_GVCDK2/gdbus/bz627724/.dirs/system-config2 4356s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_GVCDK2/gdbus/bz627724/.dirs/config 4356s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_GVCDK2/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_GVCDK2/gdbus/bz627724/.dirs/system-data2 4356s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_GVCDK2/gdbus/bz627724/.dirs/data 4356s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_GVCDK2/gdbus/bz627724/.dirs/state 4356s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_GVCDK2/gdbus/bz627724/.dirs/runtime 4356s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4356s ok 1 /gdbus/bz627724 4356s # End of gdbus tests 4356s ok - glib/gdbus-bz627724.test 4356s # Running test: glib/test-printf.test 4356s TAP version 13 4356s # random seed: R02Sd4276f86f8abee5fa073285b653b8eac 4356s 1..22 4356s # Start of snprintf tests 4356s ok 1 /snprintf/retval-and-trunc 4356s ok 2 /snprintf/%d 4356s ok 3 /snprintf/%d-invalid 4356s ok 4 /snprintf/%o 4356s ok 5 /snprintf/%u 4356s ok 6 /snprintf/%x 4356s ok 7 /snprintf/%X 4356s ok 8 /snprintf/%f 4356s ok 9 /snprintf/%e 4356s ok 10 /snprintf/%c 4356s ok 11 /snprintf/%s 4356s ok 12 /snprintf/%n 4356s ok 13 /snprintf/test-percent 4356s ok 14 /snprintf/test-positional-params 4356s ok 15 /snprintf/test-64bit 4356s # End of snprintf tests 4356s # Start of printf tests 4356s ok 16 /printf/test-percent 4356s ok 17 /printf/test-positional-params 4356s ok 18 /printf/test-64bit 4356s # Start of test-64bit tests 4356s # Start of subprocess tests 4356s # End of subprocess tests 4356s # End of test-64bit tests 4356s # End of printf tests 4356s # Start of sprintf tests 4356s ok 19 /sprintf/test-positional-params 4356s ok 20 /sprintf/upper-bound 4356s # End of sprintf tests 4356s # Start of vasprintf tests 4356s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 4356s ok 21 /vasprintf/invalid-format-placeholder 4356s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 4356s ok 22 /vasprintf/invalid-wide-string 4356s # End of vasprintf tests 4356s ok - glib/test-printf.test 4356s # Running test: glib/thread-deprecated.test 4356s TAP version 13 4356s # random seed: R02S45db05ecdd8f2f5c5ea2a8afc28d6272 4356s 1..6 4356s # Start of thread tests 4356s ok 1 /thread/mutex 4357s ok 2 /thread/static-rec-mutex 4357s # Executing: glib/thread-deprecated.test 4361s ok 3 /thread/static-private 4361s # slow test /thread/static-private executed in 4.41 secs 4362s # Executing: glib/thread-deprecated.test 4366s ok 4 /thread/static-rw-lock 4366s # slow test /thread/static-rw-lock executed in 5.01 secs 4366s ok 5 /thread/once 4367s # Executing: glib/thread-deprecated.test 4372s # Executing: glib/thread-deprecated.test 4376s ok 6 /thread/rerun-all 4376s # slow test /thread/rerun-all executed in 10.03 secs 4376s # End of thread tests 4376s ok - glib/thread-deprecated.test 4376s # Running test: glib/volumemonitor.test 4376s TAP version 13 4376s # random seed: R02Sb2bee2a13885a5f766ea53b80f6b2a65 4376s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 4376s 1..3 4376s # Start of volumemonitor tests 4376s ok 1 /volumemonitor/connected_drives 4376s ok 2 /volumemonitor/volumes 4376s ok 3 /volumemonitor/mounts 4376s # End of volumemonitor tests 4376s ok - glib/volumemonitor.test 4376s # Running test: glib/portal-support-env-var.test 4376s TAP version 13 4376s # random seed: R02Se3f168d1f28ee4f3d43f3e09c4e073eb 4376s 1..1 4376s # Start of portal-support tests 4376s ok 1 /portal-support/env-var 4376s # End of portal-support tests 4376s ok - glib/portal-support-env-var.test 4376s # SUMMARY: total=316; passed=315; skipped=1; failed=0; user=259.6s; system=184.7s; maxrss=159360 4377s autopkgtest [17:43:06]: test installed-tests: -----------------------] 4389s installed-tests PASS 4389s autopkgtest [17:43:18]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 4389s autopkgtest [17:43:18]: test closure-refcount: preparing testbed 4393s Reading package lists... 4393s Building dependency tree... 4393s Reading state information... 4394s Starting pkgProblemResolver with broken count: 0 4395s Starting 2 pkgProblemResolver with broken count: 0 4395s Done 4397s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4397s 1 not fully installed or removed. 4397s After this operation, 0 B of additional disk space will be used. 4397s Setting up autopkgtest-satdep (0) ... 4404s (Reading database ... 76919 files and directories currently installed.) 4404s Removing autopkgtest-satdep (0) ... 4406s autopkgtest [17:43:35]: test closure-refcount: [----------------------- 4406s Running test: glib/closure-refcount.test 4406s TAP version 13 4406s # random seed: R02S656e46002a9c12fab55da0b6bcffeeaa 4406s 1..1 4406s # Start of closure tests 4406s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 4406s # End of closure tests 4406s PASS: glib/closure-refcount.test 4406s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2944 4406s autopkgtest [17:43:35]: test closure-refcount: -----------------------] 4407s autopkgtest [17:43:36]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 4407s closure-refcount PASS 4408s autopkgtest [17:43:37]: test debugcontroller: preparing testbed 4411s Reading package lists... 4412s Building dependency tree... 4412s Reading state information... 4412s Starting pkgProblemResolver with broken count: 0 4413s Starting 2 pkgProblemResolver with broken count: 0 4413s Done 4416s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4416s 1 not fully installed or removed. 4416s After this operation, 0 B of additional disk space will be used. 4416s Setting up autopkgtest-satdep (0) ... 4423s (Reading database ... 76919 files and directories currently installed.) 4423s Removing autopkgtest-satdep (0) ... 4424s autopkgtest [17:43:53]: test debugcontroller: [----------------------- 4424s Running test: glib/debugcontroller.test 4424s TAP version 13 4424s # random seed: R02S22f69ab19be515393ee1a136859dd8fe 4424s 1..3 4424s # Start of debug-controller tests 4424s # Start of dbus tests 4424s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 4424s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4424s # GLib-GIO-DEBUG: Debug output enabled 4424s # GLib-GIO-DEBUG: Debug output disabled 4424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4424s ok 1 /debug-controller/dbus/basic 4424s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 4424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4424s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4424s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4424s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4425s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4425s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4425s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4425s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4425s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4425s ok 2 /debug-controller/dbus/duplicate 4425s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 4425s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4425s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4425s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4425s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4425s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4425s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4425s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4425s # GLib-GIO-DEBUG: Debug output enabled 4425s # GLib-GIO-DEBUG: Debug output disabled 4425s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4425s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4425s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4425s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4425s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4425s ok 3 /debug-controller/dbus/properties 4425s # End of dbus tests 4425s # End of debug-controller tests 4425s PASS: glib/debugcontroller.test 4425s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5888 4425s autopkgtest [17:43:54]: test debugcontroller: -----------------------] 4426s debugcontroller PASS 4426s autopkgtest [17:43:55]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 4426s autopkgtest [17:43:55]: test gdbus-server-auth: preparing testbed 4430s Reading package lists... 4430s Building dependency tree... 4430s Reading state information... 4431s Starting pkgProblemResolver with broken count: 0 4432s Starting 2 pkgProblemResolver with broken count: 0 4432s Done 4435s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4435s 1 not fully installed or removed. 4435s After this operation, 0 B of additional disk space will be used. 4435s Setting up autopkgtest-satdep (0) ... 4441s (Reading database ... 76919 files and directories currently installed.) 4441s Removing autopkgtest-satdep (0) ... 4443s autopkgtest [17:44:12]: test gdbus-server-auth: [----------------------- 4443s Running test: glib/gdbus-server-auth.test 4443s TAP version 13 4443s # random seed: R02S221fc3e2e27caece4ec89e61849e63c2 4443s 1..9 4443s # Start of gdbus tests 4443s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/.dirs/home 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/.dirs/cache 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/.dirs/system-config2 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/.dirs/config 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/.dirs/system-data2 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/.dirs/data 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/.dirs/state 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/.dirs/runtime 4443s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_2B4XJ2/gdbus-server-auth-AWCYJ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 4443s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2B4XJ2/gdbus-server-auth-AWCYJ2/dbus-dfwcU4Y3 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15834 4443s ok 1 /gdbus/server-auth 4443s # Start of server-auth tests 4443s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/abstract/.dirs/home 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/abstract/.dirs/cache 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/abstract/.dirs/system-config2 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/abstract/.dirs/config 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/abstract/.dirs/system-data2 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/abstract/.dirs/data 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/abstract/.dirs/state 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/abstract/.dirs/runtime 4443s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_2B4XJ2/gdbus-server-auth-CDXWJ2 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 4443s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2B4XJ2/gdbus-server-auth-CDXWJ2/dbus-DkvRPuYy 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15834 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4443s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15834 4443s ok 2 /gdbus/server-auth/abstract 4443s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/tcp/.dirs/home 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/tcp/.dirs/cache 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/tcp/.dirs/system-config2 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/tcp/.dirs/config 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/tcp/.dirs/system-data2 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/tcp/.dirs/data 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/tcp/.dirs/state 4443s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/tcp/.dirs/runtime 4443s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 4443s # Connectable address: tcp:host=127.0.0.1,port=38249 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4443s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4443s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4443s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 4443s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4443s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4443s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4443s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4443s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4443s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 4444s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 4444s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4444s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 4444s ok 3 /gdbus/server-auth/tcp 4444s # slow test /gdbus/server-auth/tcp executed in 0.99 secs 4444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/.dirs/home 4444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/.dirs/cache 4444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/.dirs/system-config2 4444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/.dirs/config 4444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/.dirs/system-data2 4444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/.dirs/data 4444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/.dirs/state 4444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/.dirs/runtime 4444s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_2B4XJ2/gdbus-server-auth-QTJ6J2 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 4444s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2B4XJ2/gdbus-server-auth-QTJ6J2/dbus-tviNeuKS 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15834 4444s ok 4 /gdbus/server-auth/anonymous 4444s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/.dirs/home 4444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/.dirs/cache 4444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/.dirs/system-config2 4444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/.dirs/config 4444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/.dirs/system-data2 4444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/.dirs/data 4444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/.dirs/state 4444s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/.dirs/runtime 4444s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_2B4XJ2/gdbus-server-auth-HVB3J2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 4444s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2B4XJ2/gdbus-server-auth-HVB3J2/dbus-rXBMkojl 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15834 4444s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4444s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4444s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4444s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4444s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4445s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15834 4445s ok 5 /gdbus/server-auth/external 4445s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/.dirs/home 4445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/.dirs/cache 4445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/.dirs/system-config2 4445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/.dirs/config 4445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/.dirs/system-data2 4445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/.dirs/data 4445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/.dirs/state 4445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/.dirs/runtime 4445s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_2B4XJ2/gdbus-server-auth-V9X1J2 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 4445s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2B4XJ2/gdbus-server-auth-V9X1J2/dbus-9uneJCaj 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15834 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4445s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15834 4445s ok 6 /gdbus/server-auth/sha1 4445s # Start of anonymous tests 4445s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/tcp/.dirs/home 4445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/tcp/.dirs/cache 4445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 4445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/tcp/.dirs/config 4445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 4445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/tcp/.dirs/data 4445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/tcp/.dirs/state 4445s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/anonymous/tcp/.dirs/runtime 4445s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 4445s # Connectable address: tcp:host=127.0.0.1,port=40411 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 4445s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4445s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4445s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4445s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4445s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 4446s ok 7 /gdbus/server-auth/anonymous/tcp 4446s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.93 secs 4446s # End of anonymous tests 4446s # Start of external tests 4446s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/require-same-user/.dirs/home 4446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/require-same-user/.dirs/cache 4446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/require-same-user/.dirs/system-config2 4446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/require-same-user/.dirs/config 4446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/require-same-user/.dirs/system-data2 4446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/require-same-user/.dirs/data 4446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/require-same-user/.dirs/state 4446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/external/require-same-user/.dirs/runtime 4446s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_2B4XJ2/gdbus-server-auth-NJFCK2 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 4446s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_2B4XJ2/gdbus-server-auth-NJFCK2/dbus-qg8TDFrp 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15834 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 4446s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15834,uid=1000,gid=1000 4446s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15834 4446s ok 8 /gdbus/server-auth/external/require-same-user 4446s # End of external tests 4446s # Start of sha1 tests 4446s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/tcp/.dirs/home 4446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/tcp/.dirs/cache 4446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/tcp/.dirs/system-config2 4446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/tcp/.dirs/config 4446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/tcp/.dirs/system-data2 4446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/tcp/.dirs/data 4446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/tcp/.dirs/state 4446s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_2B4XJ2/gdbus/server-auth/sha1/tcp/.dirs/runtime 4446s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 4446s # Connectable address: tcp:host=127.0.0.1,port=44797 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 4446s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4446s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4446s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4446s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4446s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4447s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 4447s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4447s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4447s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4447s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4447s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4447s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4447s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 4447s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 4447s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 4447s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 4447s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 4447s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 4447s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 4447s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 4447s ok 9 /gdbus/server-auth/sha1/tcp 4447s # slow test /gdbus/server-auth/sha1/tcp executed in 0.98 secs 4447s # End of sha1 tests 4447s # End of server-auth tests 4447s # End of gdbus tests 4447s PASS: glib/gdbus-server-auth.test 4447s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.4s; maxrss=8576 4447s autopkgtest [17:44:16]: test gdbus-server-auth: -----------------------] 4448s gdbus-server-auth PASS 4448s autopkgtest [17:44:17]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 4448s autopkgtest [17:44:17]: test gdbus-threading: preparing testbed 4452s Reading package lists... 4453s Building dependency tree... 4453s Reading state information... 4454s Starting pkgProblemResolver with broken count: 0 4454s Starting 2 pkgProblemResolver with broken count: 0 4454s Done 4457s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4457s 1 not fully installed or removed. 4457s After this operation, 0 B of additional disk space will be used. 4457s Setting up autopkgtest-satdep (0) ... 4463s (Reading database ... 76919 files and directories currently installed.) 4463s Removing autopkgtest-satdep (0) ... 4465s autopkgtest [17:44:34]: test gdbus-threading: [----------------------- 4465s Running test: glib/gdbus-threading.test 4465s TAP version 13 4465s # random seed: R02S0deaa00a24bd822c705f5acab8adfdd4 4465s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4465s 1..3 4465s # Start of gdbus tests 4465s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_KSKXJ2/gdbus/delivery-in-thread/.dirs/home 4465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_KSKXJ2/gdbus/delivery-in-thread/.dirs/cache 4465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_KSKXJ2/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_KSKXJ2/gdbus/delivery-in-thread/.dirs/system-config2 4465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_KSKXJ2/gdbus/delivery-in-thread/.dirs/config 4465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_KSKXJ2/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_KSKXJ2/gdbus/delivery-in-thread/.dirs/system-data2 4465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_KSKXJ2/gdbus/delivery-in-thread/.dirs/data 4465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_KSKXJ2/gdbus/delivery-in-thread/.dirs/state 4465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_KSKXJ2/gdbus/delivery-in-thread/.dirs/runtime 4465s ok 1 /gdbus/delivery-in-thread 4465s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_KSKXJ2/gdbus/method-calls-in-thread/.dirs/home 4465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_KSKXJ2/gdbus/method-calls-in-thread/.dirs/cache 4465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_KSKXJ2/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_KSKXJ2/gdbus/method-calls-in-thread/.dirs/system-config2 4465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_KSKXJ2/gdbus/method-calls-in-thread/.dirs/config 4465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_KSKXJ2/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_KSKXJ2/gdbus/method-calls-in-thread/.dirs/system-data2 4465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_KSKXJ2/gdbus/method-calls-in-thread/.dirs/data 4465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_KSKXJ2/gdbus/method-calls-in-thread/.dirs/state 4465s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_KSKXJ2/gdbus/method-calls-in-thread/.dirs/runtime 4466s ok 2 /gdbus/method-calls-in-thread 4466s # slow test /gdbus/method-calls-in-thread executed in 0.89 secs 4466s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_KSKXJ2/gdbus/threaded-singleton/.dirs/home 4466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_KSKXJ2/gdbus/threaded-singleton/.dirs/cache 4466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_KSKXJ2/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_KSKXJ2/gdbus/threaded-singleton/.dirs/system-config2 4466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_KSKXJ2/gdbus/threaded-singleton/.dirs/config 4466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_KSKXJ2/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_KSKXJ2/gdbus/threaded-singleton/.dirs/system-data2 4466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_KSKXJ2/gdbus/threaded-singleton/.dirs/data 4466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_KSKXJ2/gdbus/threaded-singleton/.dirs/state 4466s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_KSKXJ2/gdbus/threaded-singleton/.dirs/runtime 4466s # GLib-GIO-DEBUG: refcount of 0xbbde5b3e7100 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4466s # GLib-GIO-DEBUG: refcount of 0xbbde5b3e7100 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: refcount of 0xe54a98001a60 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: refcount of 0xe54a98004e70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: refcount of 0xe54a98005fd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4466s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: refcount of 0xe54a98003bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: refcount of 0xe54a98000ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: refcount of 0xe54a98000ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: refcount of 0xe54a98000ea0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: refcount of 0xe54a98005fd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: refcount of 0xe54a98005fd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: refcount of 0xe54a980059d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4467s # GLib-GIO-DEBUG: refcount of 0xe54a980059d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: refcount of 0xe54a980059d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: refcount of 0xe54a980059d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: refcount of 0xe54a98001310 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: refcount of 0xe54a98001310 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4467s # GLib-GIO-DEBUG: refcount of 0xe54a98001310 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: refcount of 0xe54a98005fd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4467s # GLib-GIO-DEBUG: refcount of 0xe54a98005fd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: refcount of 0xe54a98005fd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: refcount of 0xe54a98005fd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: refcount of 0xe54a98005a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: refcount of 0xe54a98005a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: refcount of 0xe54a98005a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: refcount of 0xe54a98005a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4468s # GLib-GIO-DEBUG: refcount of 0xe54a98005a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4468s # GLib-GIO-DEBUG: refcount of 0xe54a98005a50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: refcount of 0xe54a980039c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: refcount of 0xe54a98000dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4468s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4468s # GLib-GIO-DEBUG: refcount of 0xe54a98000dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: refcount of 0xe54a98007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: refcount of 0xe54a98007470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: refcount of 0xe54a98005ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: refcount of 0xe54a98005ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: refcount of 0xe54a98005ff0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: refcount of 0xe54a98006fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: refcount of 0xe54a98005fd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: refcount of 0xe54a98005fd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: refcount of 0xe54a98005fd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: refcount of 0xe54a98005fd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: refcount of 0xe54a98005fd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: refcount of 0xe54a98005a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: refcount of 0xe54a98005a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4469s # GLib-GIO-DEBUG: refcount of 0xe54a98005a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: refcount of 0xe54a98003bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: refcount of 0xe54a98003bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: refcount of 0xe54a98003bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: refcount of 0xe54a98003bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: refcount of 0xe54a98003bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: refcount of 0xe54a98003bf0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: refcount of 0xe54a98001540 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: refcount of 0xe54a98005770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4470s Executing: glib/gdbus-threading.test 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: refcount of 0xe54a980059d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: refcount of 0xe54a980059d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: refcount of 0xe54a98006100 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: refcount of 0xe54a98005770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: refcount of 0xe54a98005770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4470s # GLib-GIO-DEBUG: refcount of 0xe54a98007080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4470s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4471s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: refcount of 0xe54a98004c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: refcount of 0xe54a98004c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: refcount of 0xe54a98004c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: refcount of 0xe54a98004c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: refcount of 0xe54a98001c50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: refcount of 0xe54a980015f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: refcount of 0xe54a980015f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: refcount of 0xe54a980080d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: refcount of 0xe54a98007c10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: refcount of 0xe54a98000960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4471s # GLib-GIO-DEBUG: refcount of 0xe54a98000960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: refcount of 0xe54a98000960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: refcount of 0xe54a98007cb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: refcount of 0xe54a980015b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: refcount of 0xe54a98001c50 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: refcount of 0xe54a98005bc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: refcount of 0xe54a980070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: refcount of 0xe54a98007080 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: refcount of 0xe54a980035b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: refcount of 0xe54a98007ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: refcount of 0xe54a98007ab0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: refcount of 0xe54a98008470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4472s # GLib-GIO-DEBUG: refcount of 0xe54a98008470 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: refcount of 0xe54a98007510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4472s # GLib-GIO-DEBUG: refcount of 0xe54a98007510 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: refcount of 0xe54a98006fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: refcount of 0xe54a98006fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: refcount of 0xe54a98006fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: refcount of 0xe54a98006fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4473s # GLib-GIO-DEBUG: refcount of 0xe54a98006fb0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: refcount of 0xe54a980083a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: refcount of 0xe54a98001ef0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: refcount of 0xe54a98007cd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: refcount of 0xe54a98007040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: refcount of 0xe54a980059d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: refcount of 0xe54a980060d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: refcount of 0xe54a98005fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4473s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: refcount of 0xe54a98005fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: refcount of 0xe54a98008800 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4474s # GLib-GIO-DEBUG: refcount of 0xe54a98008800 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: refcount of 0xe54a980074c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4474s # GLib-GIO-DEBUG: refcount of 0xe54a980074c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: refcount of 0xe54a980074c0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: refcount of 0xe54a980025f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4474s # GLib-GIO-DEBUG: refcount of 0xe54a980025f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: refcount of 0xe54a980025f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: refcount of 0xe54a980025f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: refcount of 0xe54a980025f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: refcount of 0xe54a980025f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: refcount of 0xe54a98008590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4474s # GLib-GIO-DEBUG: refcount of 0xe54a98008590 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4475s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s Executing: glib/gdbus-threading.test 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4475s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4475s # GLib-GIO-DEBUG: refcount of 0xe54a98006bd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: refcount of 0xe54a98000940 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: refcount of 0xe54a98004c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4476s # GLib-GIO-DEBUG: refcount of 0xe54a98004c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: refcount of 0xe54a98004c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: refcount of 0xe54a98004c90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: refcount of 0xe54a98008b20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: refcount of 0xe54a980073e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: refcount of 0xe54a980025f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: refcount of 0xe54a980025f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: refcount of 0xe54a980025f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: refcount of 0xe54a980025f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4476s # GLib-GIO-DEBUG: refcount of 0xe54a980025f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: refcount of 0xe54a980025f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: refcount of 0xe54a980039e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4476s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4476s # GLib-GIO-DEBUG: refcount of 0xe54a980039e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: refcount of 0xe54a98005fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: refcount of 0xe54a98005fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: refcount of 0xe54a98005fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: refcount of 0xe54a98008f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: refcount of 0xe54a98008f30 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: refcount of 0xe54a98006390 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: refcount of 0xe54a98006070 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: refcount of 0xe54a98006fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: refcount of 0xe54a98006040 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: refcount of 0xe54a98005770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: refcount of 0xe54a98005770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: refcount of 0xe54a98005770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4477s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4477s # GLib-GIO-DEBUG: refcount of 0xe54a98005770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: refcount of 0xe54a98005770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: refcount of 0xe54a98005770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: refcount of 0xe54a98005770 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: refcount of 0xe54a98008c20 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: refcount of 0xe54a98006000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: refcount of 0xe54a98006000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: refcount of 0xe54a98006000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: refcount of 0xe54a98006000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: refcount of 0xe54a98006000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4478s # GLib-GIO-DEBUG: refcount of 0xe54a98006000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4478s # GLib-GIO-DEBUG: refcount of 0xe54a98006000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4478s # GLib-GIO-DEBUG: refcount of 0xe54a98006000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: refcount of 0xe54a98007390 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: refcount of 0xe54a980089d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: refcount of 0xe54a98004cc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: refcount of 0xe54a980059d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4479s # GLib-GIO-DEBUG: refcount of 0xe54a980059d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: refcount of 0xe54a980059d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: refcount of 0xe54a980059d0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: refcount of 0xe54a98006100 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: refcount of 0xe54a98005fa0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: refcount of 0xe54a98008a90 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: refcount of 0xe54a98009000 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: refcount of 0xe54a98008a70 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: refcount of 0xe54a980089b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4479s # GLib-GIO-DEBUG: refcount of 0xe54a980089b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: refcount of 0xe54a980039e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: refcount of 0xe54a98005b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: refcount of 0xe54a98005b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: refcount of 0xe54a98005b10 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: refcount of 0xe54a98008730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: refcount of 0xe54a98008730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4480s Executing: glib/gdbus-threading.test 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: refcount of 0xe54a98008730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: refcount of 0xe54a98008730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: refcount of 0xe54a98008730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: refcount of 0xe54a98008730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: refcount of 0xe54a98008730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: refcount of 0xe54a98007b40 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4480s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4480s # GLib-GIO-DEBUG: refcount of 0xe54a98008730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: refcount of 0xe54a98008730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: refcount of 0xe54a98008730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: refcount of 0xe54a98008730 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: refcount of 0xe54a980086f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: refcount of 0xe54a980086f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: refcount of 0xe54a980086f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: refcount of 0xe54a980086f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: refcount of 0xe54a980086f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4481s # GLib-GIO-DEBUG: refcount of 0xe54a980086f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: refcount of 0xe54a980070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: refcount of 0xe54a980070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: refcount of 0xe54a980070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4481s # GLib-GIO-DEBUG: refcount of 0xe54a980070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4481s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4481s # GLib-GIO-DEBUG: refcount of 0xe54a980070b0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: refcount of 0xe54a98008680 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: refcount of 0xe54a98008960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: refcount of 0xe54a98008960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: refcount of 0xe54a98008960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: refcount of 0xe54a98008960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4482s # GLib-GIO-DEBUG: refcount of 0xe54a98008960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: refcount of 0xe54a98008960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s # GLib-GIO-DEBUG: refcount of 0xe54a98008960 is not right (3 rather than 1) in test_threaded_singleton(), sleeping 4482s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4482s ok 3 /gdbus/threaded-singleton 4482s # slow test /gdbus/threaded-singleton executed in 15.93 secs 4482s # End of gdbus tests 4482s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4482s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4482s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4482s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4482s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4482s PASS: glib/gdbus-threading.test 4482s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.7s; system=1.5s; maxrss=5760 4482s autopkgtest [17:44:51]: test gdbus-threading: -----------------------] 4484s gdbus-threading PASS 4484s autopkgtest [17:44:53]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 4484s autopkgtest [17:44:53]: test gmenumodel: preparing testbed 4489s Reading package lists... 4489s Building dependency tree... 4489s Reading state information... 4490s Starting pkgProblemResolver with broken count: 0 4491s Starting 2 pkgProblemResolver with broken count: 0 4491s Done 4493s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4493s 1 not fully installed or removed. 4493s After this operation, 0 B of additional disk space will be used. 4493s Setting up autopkgtest-satdep (0) ... 4501s (Reading database ... 76919 files and directories currently installed.) 4501s Removing autopkgtest-satdep (0) ... 4502s autopkgtest [17:45:11]: test gmenumodel: [----------------------- 4502s Running test: glib/gmenumodel.test 4502s TAP version 13 4502s # random seed: R02S91653565287d0d2944187c8092b62c32 4502s 1..14 4502s # Start of gmenu tests 4505s ok 1 /gmenu/equality 4505s # slow test /gmenu/equality executed in 2.32 secs 4508s ok 2 /gmenu/random 4508s # slow test /gmenu/random executed in 2.86 secs 4508s ok 3 /gmenu/attributes 4508s ok 4 /gmenu/links 4508s ok 5 /gmenu/mutable 4508s ok 6 /gmenu/convenience 4508s ok 7 /gmenu/menuitem 4508s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 4508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4508s ok 8 /gmenu/input-validation 4508s # Start of dbus tests 4508s # GLib-GIO-DEBUG: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3) 4508s Executing: glib/gmenumodel.test 4509s ok 9 /gmenu/dbus/roundtrip 4509s # slow test /gmenu/dbus/roundtrip executed in 1.10 secs 4509s ok 10 /gmenu/dbus/subscriptions 4513s Executing: glib/gmenumodel.test 4514s ok 11 /gmenu/dbus/threaded 4514s # slow test /gmenu/dbus/threaded executed in 4.65 secs 4514s # Start of peer tests 4515s ok 12 /gmenu/dbus/peer/roundtrip 4515s # slow test /gmenu/dbus/peer/roundtrip executed in 1.09 secs 4515s ok 13 /gmenu/dbus/peer/subscriptions 4515s # End of peer tests 4515s # End of dbus tests 4515s # Start of attributes tests 4515s ok 14 /gmenu/attributes/iterate 4515s # End of attributes tests 4515s # End of gmenu tests 4515s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4515s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4515s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4515s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4515s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 4515s PASS: glib/gmenumodel.test 4515s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=10.0s; system=0.6s; maxrss=11008 4516s autopkgtest [17:45:25]: test gmenumodel: -----------------------] 4517s autopkgtest [17:45:26]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 4517s gmenumodel PASS 4517s autopkgtest [17:45:26]: test mainloop: preparing testbed 4520s Reading package lists... 4521s Building dependency tree... 4521s Reading state information... 4522s Starting pkgProblemResolver with broken count: 0 4523s Starting 2 pkgProblemResolver with broken count: 0 4523s Done 4525s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4525s 1 not fully installed or removed. 4525s After this operation, 0 B of additional disk space will be used. 4525s Setting up autopkgtest-satdep (0) ... 4533s (Reading database ... 76919 files and directories currently installed.) 4533s Removing autopkgtest-satdep (0) ... 4535s autopkgtest [17:45:44]: test mainloop: [----------------------- 4535s Running test: glib/mainloop.test 4535s TAP version 13 4535s # random seed: R02S08a64721c81d802c544fc12bbf0b8a5e 4535s 1..45 4535s # Start of maincontext tests 4535s ok 1 /maincontext/basic 4535s # Add same-priority sources: 68 4535s # Find each source: 17 4535s # Remove in random order: 98 4535s ok 2 /maincontext/nsources_same_priority 4535s # Add different-priority sources: 57 4535s # Find each source: 18 4535s # Remove in random order: 106 4535s ok 3 /maincontext/nsources_different_priority 4536s # Add sources from threads: 940 4537s # Remove sources from threads: 370 4537s ok 4 /maincontext/nsources_threadpool 4537s # slow test /maincontext/nsources_threadpool executed in 1.35 secs 4537s ok 5 /maincontext/source_finalization 4537s # /maincontext/idle-once summary: Test g_idle_add_once() works 4537s ok 6 /maincontext/idle-once 4537s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 4537s ok 7 /maincontext/timeout-once 4537s # Start of source_finalization_from_source tests 4537s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4537s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4537s ok 8 /maincontext/source_finalization_from_source/0 4537s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4537s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4537s ok 9 /maincontext/source_finalization_from_source/1 4537s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4537s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4537s ok 10 /maincontext/source_finalization_from_source/2 4537s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4537s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4537s ok 11 /maincontext/source_finalization_from_source/3 4537s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4537s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4537s ok 12 /maincontext/source_finalization_from_source/4 4537s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4537s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4537s ok 13 /maincontext/source_finalization_from_source/5 4537s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4537s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4537s ok 14 /maincontext/source_finalization_from_source/6 4537s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4537s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4537s ok 15 /maincontext/source_finalization_from_source/7 4537s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4537s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4537s ok 16 /maincontext/source_finalization_from_source/8 4537s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 4537s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 4537s ok 17 /maincontext/source_finalization_from_source/9 4537s # End of source_finalization_from_source tests 4537s # Start of source_finalization_from_dispatch tests 4537s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 4537s ok 18 /maincontext/source_finalization_from_dispatch/0 4537s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 4537s ok 19 /maincontext/source_finalization_from_dispatch/1 4537s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 4537s ok 20 /maincontext/source_finalization_from_dispatch/2 4537s # End of source_finalization_from_dispatch tests 4537s # End of maincontext tests 4537s # Start of mainloop tests 4537s ok 21 /mainloop/basic 4537s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 4537s ok 23 /mainloop/priorities 4537s ok 24 /mainloop/invoke 4537s # slow test /mainloop/invoke executed in 0.50 secs 4539s ok 25 /mainloop/child_sources 4539s # slow test /mainloop/child_sources executed in 1.22 secs 4540s Executing: glib/mainloop.test 4541s ok 26 /mainloop/recursive_child_sources 4541s # slow test /mainloop/recursive_child_sources executed in 2.24 secs 4541s ok 27 /mainloop/recursive_loop_child_sources 4541s ok 28 /mainloop/swapping_child_sources 4541s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 4541s ok 29 /mainloop/blocked_child_sources 4542s ok 30 /mainloop/source_time 4542s # slow test /mainloop/source_time executed in 1.00 secs 4542s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 4542s ok 31 /mainloop/overflow 4542s ok 32 /mainloop/ready-time 4542s # slow test /mainloop/ready-time executed in 0.50 secs 4542s ok 33 /mainloop/wakeup 4542s ok 34 /mainloop/remove-invalid 4542s ok 35 /mainloop/unref-while-pending 4545s Executing: glib/mainloop.test 4547s ok 36 /mainloop/unix-fd 4547s # slow test /mainloop/unix-fd executed in 4.16 secs 4547s ok 37 /mainloop/unix-fd-source 4547s ok 38 /mainloop/source-unix-fd-api 4547s ok 39 /mainloop/wait 4547s ok 40 /mainloop/unix-file-poll 4547s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 4547s ok 41 /mainloop/unix-fd-priority 4547s ok 42 /mainloop/nfds 4547s ok 43 /mainloop/steal-fd 4547s # Start of ownerless-polling tests 4547s ok 44 /mainloop/ownerless-polling/attach-first 4547s ok 45 /mainloop/ownerless-polling/pop-first 4547s # End of ownerless-polling tests 4547s # End of mainloop tests 4547s PASS: glib/mainloop.test 4547s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.0s; system=4.3s; maxrss=15016 4547s autopkgtest [17:45:56]: test mainloop: -----------------------] 4548s autopkgtest [17:45:57]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 4548s mainloop PASS 4548s autopkgtest [17:45:57]: test memory-monitor-dbus: preparing testbed 4552s Reading package lists... 4553s Building dependency tree... 4553s Reading state information... 4554s Starting pkgProblemResolver with broken count: 0 4554s Starting 2 pkgProblemResolver with broken count: 0 4554s Done 4557s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4557s 1 not fully installed or removed. 4557s After this operation, 0 B of additional disk space will be used. 4557s Setting up autopkgtest-satdep (0) ... 4563s (Reading database ... 76919 files and directories currently installed.) 4563s Removing autopkgtest-satdep (0) ... 4565s autopkgtest [17:46:14]: test memory-monitor-dbus: [----------------------- 4565s Running test: glib/memory-monitor-dbus.test 4566s TAP version 13 4566s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 4566s # Received memory warning signal, level 4566s # Received memory warning signal, level 4566s # Received memory warning signal, level 4566s # Received memory warning signal, level 4566s 1..1 4566s PASS: glib/memory-monitor-dbus.test 4566s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.6s; system=0.2s; maxrss=24700 4567s autopkgtest [17:46:16]: test memory-monitor-dbus: -----------------------] 4567s memory-monitor-dbus PASS 4567s autopkgtest [17:46:16]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 4568s autopkgtest [17:46:17]: test socket: preparing testbed 4571s Reading package lists... 4572s Building dependency tree... 4572s Reading state information... 4573s Starting pkgProblemResolver with broken count: 0 4573s Starting 2 pkgProblemResolver with broken count: 0 4573s Done 4576s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4576s 1 not fully installed or removed. 4576s After this operation, 0 B of additional disk space will be used. 4576s Setting up autopkgtest-satdep (0) ... 4583s (Reading database ... 76919 files and directories currently installed.) 4583s Removing autopkgtest-satdep (0) ... 4584s autopkgtest [17:46:33]: test socket: [----------------------- 4585s Running test: glib/socket.test 4585s TAP version 13 4585s # random seed: R02S955d5ebf27cdd0a53c9d2c4ca6127845 4585s 1..28 4585s # Start of socket tests 4586s ok 1 /socket/ipv4_sync 4586s # slow test /socket/ipv4_sync executed in 1.00 secs 4587s ok 2 /socket/ipv4_async 4587s # slow test /socket/ipv4_async executed in 1.00 secs 4587s ok 3 /socket/ipv6_sync 4587s ok 4 /socket/ipv6_async 4587s ok 5 /socket/ipv6_v4mapped 4588s ok 6 /socket/close_graceful 4588s # slow test /socket/close_graceful executed in 1.00 secs 4588s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 4588s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 4588s ok 8 /socket/fd_reuse 4588s ok 9 /socket/address 4588s ok 10 /socket/unix-from-fd 4588s ok 11 /socket/unix-connection 4588s ok 12 /socket/unix-connection-ancillary-data 4588s ok 13 /socket/source-postmortem 4588s ok 14 /socket/read_write 4588s ok 15 /socket/read_writev 4588s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 4588s ok 16 /socket/receive_bytes 4588s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 4588s ok 17 /socket/receive_bytes_from 4588s # Start of ipv4_sync tests 4588s ok 18 /socket/ipv4_sync/datagram 4588s # Start of datagram tests 4589s ok 19 /socket/ipv4_sync/datagram/timeouts 4589s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 4589s # End of datagram tests 4589s # End of ipv4_sync tests 4589s # Start of ipv6_sync tests 4589s ok 20 /socket/ipv6_sync/datagram 4589s # Start of datagram tests 4590s Executing: glib/socket.test 4590s ok 21 /socket/ipv6_sync/datagram/timeouts 4590s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 4590s # End of datagram tests 4590s # End of ipv6_sync tests 4590s # Start of reuse tests 4590s ok 22 /socket/reuse/tcp 4590s ok 23 /socket/reuse/udp 4590s # End of reuse tests 4590s # Start of get_available tests 4590s ok 24 /socket/get_available/datagram 4590s ok 25 /socket/get_available/stream 4590s # End of get_available tests 4590s # Start of credentials tests 4590s # Supported on this OS: GCredentials:linux-ucred:pid=0 4590s ok 26 /socket/credentials/tcp_client 4590s # Supported on this OS: GCredentials:linux-ucred:pid=0 4590s ok 27 /socket/credentials/tcp_server 4590s # Supported on this OS: GCredentials:linux-ucred:pid=18202,uid=1000,gid=1000 4590s ok 28 /socket/credentials/unix_socketpair 4590s # End of credentials tests 4590s # End of socket tests 4590s PASS: glib/socket.test 4590s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4864 4591s autopkgtest [17:46:40]: test socket: -----------------------] 4591s autopkgtest [17:46:40]: test socket: - - - - - - - - - - results - - - - - - - - - - 4591s socket PASS 4592s autopkgtest [17:46:41]: test testfilemonitor: preparing testbed 4595s Reading package lists... 4596s Building dependency tree... 4596s Reading state information... 4597s Starting pkgProblemResolver with broken count: 0 4597s Starting 2 pkgProblemResolver with broken count: 0 4597s Done 4600s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4600s 1 not fully installed or removed. 4600s After this operation, 0 B of additional disk space will be used. 4600s Setting up autopkgtest-satdep (0) ... 4607s (Reading database ... 76919 files and directories currently installed.) 4607s Removing autopkgtest-satdep (0) ... 4608s autopkgtest [17:46:57]: test testfilemonitor: [----------------------- 4609s Running test: glib/testfilemonitor.test 4609s TAP version 13 4609s # random seed: R02Sf419fbb09baac8e28bd6add5f1437e95 4609s 1..8 4609s # Start of monitor tests 4609s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 4609s # Using temporary directory: /tmp/gio-test-testfilemonitor_BFIAK2 4609s # Using GFileMonitor GInotifyFileMonitor 4611s ok 1 /monitor/atomic-replace 4611s # slow test /monitor/atomic-replace executed in 2.01 secs 4611s # Using temporary directory: /tmp/gio-test-testfilemonitor_IL49J2 4611s # Using GFileMonitor GInotifyFileMonitor 4613s ok 2 /monitor/file-changes 4613s # slow test /monitor/file-changes executed in 2.51 secs 4613s # Using temporary directory: /tmp/gio-test-testfilemonitor_Y82YJ2 4613s # Using GFileMonitor GInotifyFileMonitor 4614s Executing: glib/testfilemonitor.test 4617s ok 3 /monitor/dir-monitor 4617s # slow test /monitor/dir-monitor executed in 3.51 secs 4617s # Using temporary directory: /tmp/gio-test-testfilemonitor_Q16AK2 4617s # Using GFileMonitor GInotifyFileMonitor 4619s Executing: glib/testfilemonitor.test 4624s Executing: glib/testfilemonitor.test 4629s Executing: glib/testfilemonitor.test 4634s Executing: glib/testfilemonitor.test 4639s Executing: glib/testfilemonitor.test 4642s ok 4 /monitor/dir-not-existent 4642s # slow test /monitor/dir-not-existent executed in 25.03 secs 4642s # Using temporary directory: /tmp/gio-test-testfilemonitor_8VZAK2 4642s # Using GFileMonitor 0 GInotifyFileMonitor 4642s # Using GFileMonitor 1 GInotifyFileMonitor 4644s ok 5 /monitor/cross-dir-moves 4644s # slow test /monitor/cross-dir-moves executed in 2.01 secs 4644s # Using temporary directory: /tmp/gio-test-testfilemonitor_QRX8J2 4644s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 4644s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 4644s ok 6 /monitor/finalize-in-callback 4644s # Using temporary directory: /tmp/gio-test-testfilemonitor_N0W9J2 4644s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 4644s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 4644s ok 7 /monitor/root 4644s # Start of file tests 4644s # Using temporary directory: /tmp/gio-test-testfilemonitor_2XV9J2 4644s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 4644s # Running with hard link tests 4644s # Using GFileMonitor GInotifyFileMonitor 4644s Executing: glib/testfilemonitor.test 4647s # Event 0 at expected index 7 skipped because it is marked as optional 4647s # Event 2 at expected index 11 skipped because it is marked as optional 4647s ok 8 /monitor/file/hard-links 4647s # slow test /monitor/file/hard-links executed in 3.51 secs 4647s # End of file tests 4647s # End of monitor tests 4647s PASS: glib/testfilemonitor.test 4647s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.1s; maxrss=5248 4648s autopkgtest [17:47:37]: test testfilemonitor: -----------------------] 4648s autopkgtest [17:47:37]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 4648s testfilemonitor PASS 4649s autopkgtest [17:47:38]: test thread-pool-slow: preparing testbed 4654s Reading package lists... 4655s Building dependency tree... 4655s Reading state information... 4656s Starting pkgProblemResolver with broken count: 0 4656s Starting 2 pkgProblemResolver with broken count: 0 4656s Done 4659s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4659s 1 not fully installed or removed. 4659s After this operation, 0 B of additional disk space will be used. 4659s Setting up autopkgtest-satdep (0) ... 4666s (Reading database ... 76919 files and directories currently installed.) 4666s Removing autopkgtest-satdep (0) ... 4667s autopkgtest [17:47:56]: test thread-pool-slow: [----------------------- 4668s Running test: glib/thread-pool-slow.test 4668s TAP version 13 4668s # random seed: R02Sc321b0167169e1f074e085f4ba30afbf 4668s 1..7 4668s # Start of threadpool tests 4668s ok 1 /threadpool/functions 4668s ok 2 /threadpool/stop-unused 4668s # slow test /threadpool/stop-unused executed in 0.54 secs 4668s ok 3 /threadpool/pools 4668s # [unsorted] ===> pushed new thread with id:20, number of threads:1, unprocessed:1 4668s # [unsorted] ===> pushed new thread with id:13, number of threads:2, unprocessed:2 4668s # [unsorted] ===> pushed new thread with id:72, number of threads:3, unprocessed:3 4668s # [unsorted] ===> pushed new thread with id:38, number of threads:4, unprocessed:4 4668s # [unsorted] ===> pushed new thread with id:91, number of threads:5, unprocessed:5 4668s # [unsorted] ===> pushed new thread with id:81, number of threads:6, unprocessed:6 4668s # [unsorted] ===> pushed new thread with id:45, number of threads:7, unprocessed:7 4668s # [unsorted] ===> pushed new thread with id:5, number of threads:8, unprocessed:8 4668s # [unsorted] ===> pushed new thread with id:95, number of threads:9, unprocessed:9 4668s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:2 4668s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:3 4668s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:4 4668s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:5 4668s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:6 4668s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:7 4668s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:8 4668s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:9 4668s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:10 4668s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:11 4668s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:12 4668s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:13 4668s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:14 4668s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:15 4668s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:16 4668s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:17 4668s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:18 4668s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:19 4668s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:20 4668s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:21 4668s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:22 4668s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:23 4668s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:24 4668s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:25 4668s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:26 4668s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:27 4668s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:28 4668s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:29 4668s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:30 4668s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:31 4668s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:32 4668s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:33 4668s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:34 4668s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:35 4668s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:36 4668s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:37 4668s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:38 4668s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:39 4668s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:40 4668s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:41 4668s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:42 4668s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:43 4668s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:44 4668s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:45 4668s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:46 4668s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:47 4668s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:48 4668s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:49 4668s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:50 4668s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:51 4668s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:52 4668s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:53 4668s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:54 4668s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:55 4668s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:56 4668s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:57 4668s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:58 4668s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:59 4668s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:60 4668s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:61 4668s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:62 4668s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:63 4668s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:64 4668s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:65 4668s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:66 4668s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:67 4668s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:68 4668s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:69 4668s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:70 4668s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:71 4668s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:72 4668s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:73 4668s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:74 4668s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:75 4668s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:76 4668s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:77 4668s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:78 4668s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:79 4668s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:80 4668s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:81 4668s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:82 4668s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:83 4668s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:84 4668s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:85 4668s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:86 4668s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:87 4668s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:88 4668s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:89 4668s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:90 4668s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:91 4668s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:92 4668s ok 4 /threadpool/no-sort 4668s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:1 4668s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:2 4668s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:3 4668s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:4 4668s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:5 4668s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:6 4668s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:7 4668s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:8 4668s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:9 4668s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:10 4668s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:11 4668s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:12 4668s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:13 4668s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:14 4668s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:15 4668s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:16 4668s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:17 4668s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:18 4668s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:19 4668s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:20 4668s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:21 4668s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:22 4668s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:23 4668s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:24 4668s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:25 4668s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:26 4668s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:27 4668s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:28 4668s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:29 4668s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:30 4668s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:31 4668s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:32 4668s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:33 4668s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:34 4668s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:35 4668s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:36 4668s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:37 4668s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:38 4668s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:39 4668s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:40 4668s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:41 4668s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:42 4668s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:43 4668s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:44 4668s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:45 4668s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:46 4668s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:47 4668s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:48 4668s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:49 4668s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:50 4668s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:51 4668s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:52 4668s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:53 4668s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:54 4668s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:55 4668s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:56 4668s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:57 4668s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:58 4668s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:59 4668s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:60 4668s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:61 4668s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:62 4668s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:63 4668s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:64 4668s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:65 4668s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:66 4668s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:67 4668s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:68 4668s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:69 4668s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:70 4668s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:71 4668s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:72 4668s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:73 4668s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:74 4668s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:75 4668s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:76 4668s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:77 4668s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:78 4668s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:79 4668s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:80 4668s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:81 4668s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:82 4668s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:83 4668s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:84 4668s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:85 4668s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:86 4668s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:87 4668s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:88 4668s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:89 4668s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:90 4668s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:91 4668s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:92 4668s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:93 4668s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:94 4668s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:95 4668s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:96 4668s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:97 4668s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:98 4668s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:99 4668s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:100 4668s # Starting thread pool processing 4668s ok 5 /threadpool/sort 4669s ok 6 /threadpool/stop-unused-multiple 4669s # slow test /threadpool/stop-unused-multiple executed in 0.54 secs 4669s # Pool idle thread count: 0, unprocessed jobs: 45 4669s # Pool idle thread count: 0, unprocessed jobs: 0 4669s # Pool idle thread count: 0, unprocessed jobs: 0 4670s # Pool idle thread count: 10, unprocessed jobs: 0 4670s # Pool idle thread count: 10, unprocessed jobs: 0 4670s # Pool idle thread count: 10, unprocessed jobs: 0 4670s # Pool idle thread count: 10, unprocessed jobs: 0 4671s # Pool idle thread count: 10, unprocessed jobs: 0 4671s # Pool idle thread count: 10, unprocessed jobs: 0 4671s # Pool idle thread count: 10, unprocessed jobs: 0 4671s # Pool idle thread count: 10, unprocessed jobs: 0 4672s # Pool idle thread count: 10, unprocessed jobs: 0 4672s # Pool idle thread count: 10, unprocessed jobs: 0 4672s # Pool idle thread count: 10, unprocessed jobs: 0 4672s # Pool idle thread count: 10, unprocessed jobs: 0 4673s # Pool idle thread count: 10, unprocessed jobs: 0 4673s # Pool idle thread count: 10, unprocessed jobs: 0 4673s Executing: glib/thread-pool-slow.test 4673s # Pool idle thread count: 10, unprocessed jobs: 0 4673s # Pool idle thread count: 10, unprocessed jobs: 0 4674s # Pool idle thread count: 10, unprocessed jobs: 0 4674s # Pool idle thread count: 10, unprocessed jobs: 0 4674s # Pool idle thread count: 10, unprocessed jobs: 0 4674s # Pool idle thread count: 10, unprocessed jobs: 0 4675s # Pool idle thread count: 10, unprocessed jobs: 0 4675s # Pool idle thread count: 10, unprocessed jobs: 0 4675s # Pool idle thread count: 10, unprocessed jobs: 0 4675s # Pool idle thread count: 10, unprocessed jobs: 0 4676s # Pool idle thread count: 10, unprocessed jobs: 0 4676s # Pool idle thread count: 10, unprocessed jobs: 0 4676s # Pool idle thread count: 10, unprocessed jobs: 0 4676s # Pool idle thread count: 10, unprocessed jobs: 0 4677s # Pool idle thread count: 10, unprocessed jobs: 0 4677s # Pool idle thread count: 10, unprocessed jobs: 0 4677s # Pool idle thread count: 10, unprocessed jobs: 0 4677s # Pool idle thread count: 10, unprocessed jobs: 0 4678s # Pool idle thread count: 10, unprocessed jobs: 2 4678s # Pool idle thread count: 8, unprocessed jobs: 0 4678s # Pool idle thread count: 8, unprocessed jobs: 0 4678s # Pool idle thread count: 8, unprocessed jobs: 0 4678s Executing: glib/thread-pool-slow.test 4678s # Pool idle thread count: 10, unprocessed jobs: 0 4678s # Pool idle thread count: 10, unprocessed jobs: 0 4679s # Pool idle thread count: 10, unprocessed jobs: 0 4679s # Pool idle thread count: 10, unprocessed jobs: 0 4679s # Pool idle thread count: 9, unprocessed jobs: 0 4679s # Pool idle thread count: 9, unprocessed jobs: 0 4680s # Pool idle thread count: 2, unprocessed jobs: 0 4680s # Pool idle thread count: 2, unprocessed jobs: 0 4680s # Pool idle thread count: 2, unprocessed jobs: 0 4680s # Pool idle thread count: 2, unprocessed jobs: 0 4681s # Pool idle thread count: 2, unprocessed jobs: 0 4681s # Pool idle thread count: 2, unprocessed jobs: 0 4681s # Pool idle thread count: 2, unprocessed jobs: 0 4681s # Pool idle thread count: 2, unprocessed jobs: 0 4682s # Pool idle thread count: 2, unprocessed jobs: 0 4682s # Pool idle thread count: 2, unprocessed jobs: 0 4682s # Pool idle thread count: 2, unprocessed jobs: 0 4682s # Pool idle thread count: 2, unprocessed jobs: 0 4683s # Pool idle thread count: 2, unprocessed jobs: 0 4683s # Pool idle thread count: 2, unprocessed jobs: 0 4683s Executing: glib/thread-pool-slow.test 4683s # Pool idle thread count: 2, unprocessed jobs: 0 4683s # Pool idle thread count: 2, unprocessed jobs: 0 4684s # Pool idle thread count: 2, unprocessed jobs: 0 4684s # Pool idle thread count: 2, unprocessed jobs: 0 4684s # Pool idle thread count: 2, unprocessed jobs: 0 4684s # Pool idle thread count: 2, unprocessed jobs: 0 4685s # Pool idle thread count: 2, unprocessed jobs: 0 4685s # Pool idle thread count: 2, unprocessed jobs: 0 4685s # Pool idle thread count: 2, unprocessed jobs: 0 4685s # Pool idle thread count: 2, unprocessed jobs: 0 4686s # Pool idle thread count: 2, unprocessed jobs: 0 4686s # Pool idle thread count: 2, unprocessed jobs: 0 4687s # Pool idle thread count: 2, unprocessed jobs: 0 4687s # Pool idle thread count: 2, unprocessed jobs: 0 4687s # Pool idle thread count: 2, unprocessed jobs: 0 4687s # Pool idle thread count: 2, unprocessed jobs: 0 4687s # Pool idle thread count: 2, unprocessed jobs: 0 4687s # Pool idle thread count: 2, unprocessed jobs: 0 4688s # Pool idle thread count: 2, unprocessed jobs: 0 4688s # Pool idle thread count: 2, unprocessed jobs: 0 4688s Executing: glib/thread-pool-slow.test 4688s ok 7 /threadpool/idle-time 4688s # slow test /threadpool/idle-time executed in 19.54 secs 4688s # End of threadpool tests 4688s PASS: glib/thread-pool-slow.test 4688s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=3456 4689s autopkgtest [17:48:18]: test thread-pool-slow: -----------------------] 4689s autopkgtest [17:48:18]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 4689s thread-pool-slow PASS 4690s autopkgtest [17:48:19]: test threadtests: preparing testbed 4694s Reading package lists... 4694s Building dependency tree... 4694s Reading state information... 4695s Starting pkgProblemResolver with broken count: 0 4696s Starting 2 pkgProblemResolver with broken count: 0 4696s Done 4698s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4698s 1 not fully installed or removed. 4698s After this operation, 0 B of additional disk space will be used. 4698s Setting up autopkgtest-satdep (0) ... 4705s (Reading database ... 76919 files and directories currently installed.) 4706s Removing autopkgtest-satdep (0) ... 4707s autopkgtest [17:48:36]: test threadtests: [----------------------- 4707s Running test: glib/threadtests.test 4707s TAP version 13 4707s # random seed: R02Sc99e2a197c011c816a8fd66e62f2dec1 4707s 1..5 4707s # Start of GObject tests 4708s ok 1 /GObject/threaded-object-init 4710s ok 2 /GObject/threaded-weak-ref 4710s # slow test /GObject/threaded-weak-ref executed in 2.50 secs 4710s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 4710s # /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 4711s ok 3 /GObject/threaded-toggle-notify 4711s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 4711s # Start of threaded-weak-ref tests 4711s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 4711s # /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. 4711s ok 5 /GObject/threaded-weak-ref/on-finalization 4711s # End of threaded-weak-ref tests 4711s # End of GObject tests 4711s PASS: glib/threadtests.test 4711s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.8s; system=2.0s; maxrss=3200 4711s autopkgtest [17:48:40]: test threadtests: -----------------------] 4712s autopkgtest [17:48:41]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 4712s threadtests PASS 4712s autopkgtest [17:48:41]: test timeout: preparing testbed 4715s Reading package lists... 4716s Building dependency tree... 4716s Reading state information... 4717s Starting pkgProblemResolver with broken count: 0 4717s Starting 2 pkgProblemResolver with broken count: 0 4717s Done 4720s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4720s 1 not fully installed or removed. 4720s After this operation, 0 B of additional disk space will be used. 4720s Setting up autopkgtest-satdep (0) ... 4727s (Reading database ... 76919 files and directories currently installed.) 4727s Removing autopkgtest-satdep (0) ... 4728s autopkgtest [17:48:57]: test timeout: [----------------------- 4729s Running test: glib/timeout.test 4729s TAP version 13 4729s # random seed: R02Sdddfb47265379312243a5101025a9f62 4729s 1..5 4729s # Start of timeout tests 4729s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 4731s ok 1 /timeout/seconds 4731s # slow test /timeout/seconds executed in 2.10 secs 4733s ok 2 /timeout/seconds-once 4733s # slow test /timeout/seconds-once executed in 2.10 secs 4733s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 4734s Executing: glib/timeout.test 4735s ok 3 /timeout/weeks-overflow 4735s # slow test /timeout/weeks-overflow executed in 2.10 secs 4735s ok 4 /timeout/far-future-ready-time 4739s Executing: glib/timeout.test 4744s Executing: glib/timeout.test 4745s ok 5 /timeout/rounding 4745s # slow test /timeout/rounding executed in 10.18 secs 4745s # End of timeout tests 4745s PASS: glib/timeout.test 4745s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2688 4745s autopkgtest [17:49:14]: test timeout: -----------------------] 4746s autopkgtest [17:49:15]: test timeout: - - - - - - - - - - results - - - - - - - - - - 4746s timeout PASS 4747s autopkgtest [17:49:16]: test timer: preparing testbed 4749s Reading package lists... 4750s Building dependency tree... 4750s Reading state information... 4751s Starting pkgProblemResolver with broken count: 0 4751s Starting 2 pkgProblemResolver with broken count: 0 4751s Done 4754s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 4754s 1 not fully installed or removed. 4754s After this operation, 0 B of additional disk space will be used. 4754s Setting up autopkgtest-satdep (0) ... 4761s (Reading database ... 76919 files and directories currently installed.) 4761s Removing autopkgtest-satdep (0) ... 4763s autopkgtest [17:49:32]: test timer: [----------------------- 4764s Running test: glib/timer.test 4764s TAP version 13 4764s # random seed: R02Sdf39c2dc8c56f6a4ceaacda35b3c9e84 4764s 1..10 4764s # Start of timer tests 4764s ok 1 /timer/basic 4764s ok 2 /timer/stop 4764s ok 3 /timer/continue 4764s ok 4 /timer/reset 4764s ok 5 /timer/is_active 4764s # End of timer tests 4764s # Start of timeval tests 4764s ok 6 /timeval/add 4764s ok 7 /timeval/from-iso8601 4764s ok 8 /timeval/to-iso8601 4764s # Start of to-iso8601 tests 4764s ok 9 /timeval/to-iso8601/overflow 4764s # End of to-iso8601 tests 4764s # End of timeval tests 4764s # Start of usleep tests 4764s ok 10 /usleep/with-zero-wait 4764s # End of usleep tests 4764s PASS: glib/timer.test 4764s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2688 4764s autopkgtest [17:49:33]: test timer: -----------------------] 4765s timer PASS 4765s autopkgtest [17:49:34]: test timer: - - - - - - - - - - results - - - - - - - - - - 4765s autopkgtest [17:49:34]: test 1065022-futureproofing: preparing testbed 5023s autopkgtest [17:53:52]: @@@@@@@@@@@@@@@@@@@@ test bed setup 5023s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 5025s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [3976 B] 5025s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [439 kB] 5025s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [2584 kB] 5026s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [35.7 kB] 5026s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [580 kB] 5026s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 5026s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [20.3 kB] 5026s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 5026s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [2803 kB] 5027s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 5027s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [38.2 kB] 5027s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 5037s Fetched 6633 kB in 5s (1265 kB/s) 5038s Reading package lists... 5052s Reading package lists... 5052s Building dependency tree... 5052s Reading state information... 5054s Calculating upgrade... 5055s The following packages will be REMOVED: 5055s libglib2.0-0 5055s The following NEW packages will be installed: 5055s libglib2.0-0t64 xdg-user-dirs 5055s The following packages will be upgraded: 5055s gir1.2-glib-2.0 libglib2.0-data python3-gi 5055s 3 upgraded, 2 newly installed, 1 to remove and 0 not upgraded. 5055s Need to get 2007 kB of archives. 5055s After this operation, 285 kB disk space will be freed. 5055s Get:1 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 gir1.2-glib-2.0 arm64 2.79.3-3ubuntu3 [182 kB] 5056s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 python3-gi arm64 3.47.0-3build1 [233 kB] 5057s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-0t64 arm64 2.79.3-3ubuntu3 [1527 kB] 5060s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 libglib2.0-data all 2.79.3-3ubuntu3 [46.6 kB] 5060s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 xdg-user-dirs arm64 0.18-1 [18.1 kB] 5061s Fetched 2007 kB in 4s (450 kB/s) 5062s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75862 files and directories currently installed.) 5062s Preparing to unpack .../gir1.2-glib-2.0_2.79.3-3ubuntu3_arm64.deb ... 5062s Unpacking gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 5062s Preparing to unpack .../python3-gi_3.47.0-3build1_arm64.deb ... 5062s Unpacking python3-gi (3.47.0-3build1) over (3.47.0-3) ... 5063s dpkg: libglib2.0-0:arm64: dependency problems, but removing anyway as you requested: 5063s udisks2 depends on libglib2.0-0 (>= 2.77.0). 5063s shared-mime-info depends on libglib2.0-0 (>= 2.75.3). 5063s python3-dbus depends on libglib2.0-0 (>= 2.16.0). 5063s netplan.io depends on libglib2.0-0 (>= 2.70.0). 5063s netplan-generator depends on libglib2.0-0 (>= 2.70.0). 5063s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0). 5063s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0). 5063s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 5063s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56). 5063s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0). 5063s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0). 5063s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 5063s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 5063s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3). 5063s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0). 5063s libmbim-proxy depends on libglib2.0-0 (>= 2.56). 5063s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56). 5063s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3). 5063s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3). 5063s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3). 5063s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0). 5063s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0). 5063s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0). 5063s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2). 5063s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3). 5063s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2). 5063s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2). 5063s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2). 5063s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2). 5063s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2). 5063s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2). 5063s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2). 5063s fwupd depends on libglib2.0-0 (>= 2.79.0). 5063s bolt depends on libglib2.0-0 (>= 2.56.0). 5063s 5063s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75861 files and directories currently installed.) 5063s Removing libglib2.0-0:arm64 (2.79.2-1~ubuntu1) ... 5063s Selecting previously unselected package libglib2.0-0t64:arm64. 5063s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75836 files and directories currently installed.) 5063s Preparing to unpack .../libglib2.0-0t64_2.79.3-3ubuntu3_arm64.deb ... 5063s 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... 5063s removed '/var/lib/dpkg/info/libglib2.0-0:arm64.postrm' 5063s Unpacking libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 5063s Preparing to unpack .../libglib2.0-data_2.79.3-3ubuntu3_all.deb ... 5063s Unpacking libglib2.0-data (2.79.3-3ubuntu3) over (2.79.2-1~ubuntu1) ... 5064s Selecting previously unselected package xdg-user-dirs. 5064s Preparing to unpack .../xdg-user-dirs_0.18-1_arm64.deb ... 5064s Unpacking xdg-user-dirs (0.18-1) ... 5064s Setting up xdg-user-dirs (0.18-1) ... 5064s Setting up libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 5064s No schema files found: doing nothing. 5064s Setting up libglib2.0-data (2.79.3-3ubuntu3) ... 5064s Setting up gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) ... 5064s Setting up python3-gi (3.47.0-3build1) ... 5065s Processing triggers for man-db (2.12.0-3) ... 5066s Processing triggers for libc-bin (2.39-0ubuntu2) ... 5068s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5068s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5068s Reading package lists... 5069s Building dependency tree... 5069s Reading state information... 5071s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 5073s sh: Attempting to set up Debian/Ubuntu apt sources automatically 5073s sh: Distribution appears to be Ubuntu 5082s Reading package lists... 5083s Building dependency tree... 5083s Reading state information... 5085s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1eatmydata is already the newest version (131-1). 5085s dbus is already the newest version (1.14.10-4ubuntu1). 5085s dbus set to manually installed. 5085s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 5085s 5085s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5085s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5085s Reading package lists... 5086s Building dependency tree... 5086s Reading state information... 5088s rng-tools-debian is already the newest version (2.4). 5088s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 5088s Reading package lists... 5089s Building dependency tree... 5089s Reading state information... 5091s haveged is already the newest version (1.9.14-1ubuntu1). 5091s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 5091s Reading package lists... 5092s Building dependency tree... 5092s Reading state information... 5094s The following packages will be REMOVED: 5094s cloud-init* python3-configobj* python3-debconf* 5095s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 5095s After this operation, 3248 kB disk space will be freed. 5096s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75875 files and directories currently installed.) 5096s Removing cloud-init (24.1-0ubuntu1) ... 5099s Removing python3-configobj (5.0.8-3) ... 5099s Removing python3-debconf (1.5.86) ... 5099s Processing triggers for man-db (2.12.0-3) ... 5100s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75486 files and directories currently installed.) 5100s Purging configuration files for cloud-init (24.1-0ubuntu1) ... 5103s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 5103s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 5105s Reading package lists... 5106s Building dependency tree... 5106s Reading state information... 5108s linux-generic is already the newest version (6.8.0-11.11+1). 5108s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 5109s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 5109s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 5109s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 5109s Hit:4 http://ftpmaster.internal/ubuntu noble-proposed InRelease 5109s Hit:5 http://ftpmaster.internal/ubuntu noble-backports InRelease 5124s Reading package lists... 5124s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 5124s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 5124s Reading package lists... 5125s Building dependency tree... 5125s Reading state information... 5127s Calculating upgrade... 5128s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 5128s Reading package lists... 5129s Building dependency tree... 5129s Reading state information... 5132s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 5132s autopkgtest [17:55:41]: rebooting testbed after setup commands that affected boot 5300s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 5309s autopkgtest [17:58:38]: testbed dpkg architecture: arm64 5318s Reading package lists... 5319s Building dependency tree... 5319s Reading state information... 5320s Correcting dependencies...Starting pkgProblemResolver with broken count: 0 5320s Starting 2 pkgProblemResolver with broken count: 0 5320s Done 5321s Done 5322s Starting pkgProblemResolver with broken count: 0 5323s Starting 2 pkgProblemResolver with broken count: 0 5323s Done 5325s The following additional packages will be installed: 5325s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 5325s libdconf1 session-migration 5325s Suggested packages: 5325s fakeroot 5325s The following NEW packages will be installed: 5325s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 5325s libdconf1 session-migration 5325s 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded. 5325s 1 not fully installed or removed. 5325s Need to get 144 kB of archives. 5325s After this operation, 671 kB of additional disk space will be used. 5325s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 libdconf1 arm64 0.40.0-4 [39.2 kB] 5326s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 dconf-service arm64 0.40.0-4 [26.1 kB] 5326s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 dconf-gsettings-backend arm64 0.40.0-4 [21.6 kB] 5326s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 dpkg-repack all 1.52 [12.1 kB] 5326s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 session-migration arm64 0.3.6 [9512 B] 5326s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 gsettings-desktop-schemas all 46~beta-3ubuntu1 [35.3 kB] 5328s Fetched 144 kB in 1s (124 kB/s) 5328s Selecting previously unselected package libdconf1:arm64. 5328s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75431 files and directories currently installed.) 5328s Preparing to unpack .../0-libdconf1_0.40.0-4_arm64.deb ... 5328s Unpacking libdconf1:arm64 (0.40.0-4) ... 5328s Selecting previously unselected package dconf-service. 5328s Preparing to unpack .../1-dconf-service_0.40.0-4_arm64.deb ... 5328s Unpacking dconf-service (0.40.0-4) ... 5328s Selecting previously unselected package dconf-gsettings-backend:arm64. 5328s Preparing to unpack .../2-dconf-gsettings-backend_0.40.0-4_arm64.deb ... 5328s Unpacking dconf-gsettings-backend:arm64 (0.40.0-4) ... 5328s Selecting previously unselected package dpkg-repack. 5328s Preparing to unpack .../3-dpkg-repack_1.52_all.deb ... 5328s Unpacking dpkg-repack (1.52) ... 5328s Selecting previously unselected package session-migration. 5328s Preparing to unpack .../4-session-migration_0.3.6_arm64.deb ... 5328s Unpacking session-migration (0.3.6) ... 5329s Selecting previously unselected package gsettings-desktop-schemas. 5329s Preparing to unpack .../5-gsettings-desktop-schemas_46~beta-3ubuntu1_all.deb ... 5329s Unpacking gsettings-desktop-schemas (46~beta-3ubuntu1) ... 5329s Setting up session-migration (0.3.6) ... 5329s Created symlink /etc/systemd/user/graphical-session-pre.target.wants/session-migration.service → /usr/lib/systemd/user/session-migration.service. 5329s Setting up dpkg-repack (1.52) ... 5329s Setting up libdconf1:arm64 (0.40.0-4) ... 5329s Setting up dconf-service (0.40.0-4) ... 5329s Setting up dconf-gsettings-backend:arm64 (0.40.0-4) ... 5329s Setting up gsettings-desktop-schemas (46~beta-3ubuntu1) ... 5329s Processing triggers for libc-bin (2.39-0ubuntu2) ... 5330s Processing triggers for man-db (2.12.0-3) ... 5331s Processing triggers for libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 5331s Setting up autopkgtest-satdep (0) ... 5341s (Reading database ... 75514 files and directories currently installed.) 5341s Removing autopkgtest-satdep (0) ... 5362s autopkgtest [17:59:31]: test 1065022-futureproofing: [----------------------- 5362s + export DEBIAN_FRONTEND=noninteractive 5362s + n=0 5362s + failed=0 5362s + binary_package=libglib2.0-0t64 5362s + future_binary_package=libglib2.0-0xyz 5362s + pwd 5362s + srcdir=/tmp/autopkgtest.EAVBVb/build.opb/src 5362s + mktemp -d 5362s + tmpdir=/tmp/tmp.uzxd4mLKxv 5362s + cd /tmp/tmp.uzxd4mLKxv 5362s + [ -e /tmp/autopkgtest.EAVBVb/build.opb/src/debian/tests/manual/local-1065022.sources ] 5362s + dpkg-query -W dpkg-repack 5362s + dpkg-repack --generate libglib2.0-0t64 5362s dpkg-repack 1.52 5363s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 5363s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.KcFSQe for libglib2.0-0t64 5363s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.KcFSQe ." 5363s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.KcFSQe/DEBIAN/control 5363s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.KcFSQe/DEBIAN/control 5363s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.KcFSQe/DEBIAN/control 5363s + 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.KcFSQe/DEBIAN/control 5363s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.KcFSQe libglib2.0-0xyz.deb 5363s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 5369s + apt-get -y install ./libglib2.0-0xyz.deb 5370s Reading package lists... 5371s Building dependency tree... 5371s Reading state information... 5373s The following packages were automatically installed and are no longer required: 5373s apport-symptoms libgirepository-1.0-1 python3-apport python3-blinker 5373s python3-certifi python3-chardet python3-cryptography python3-httplib2 5373s python3-jwt python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 5373s python3-oauthlib python3-openssl python3-problem-report python3-pyparsing 5373s python3-requests python3-six python3-systemd python3-urllib3 python3-wadllib 5373s Use 'sudo apt autoremove' to remove them. 5373s Suggested packages: 5373s low-memory-monitor 5373s The following packages will be REMOVED: 5373s apport apport-core-dump-handler gir1.2-girepository-2.0 gir1.2-glib-2.0 5373s libglib2.0-0t64 networkd-dispatcher python3-gi 5373s The following NEW packages will be installed: 5373s libglib2.0-0xyz 5373s 0 upgraded, 1 newly installed, 7 to remove and 0 not upgraded. 5373s Need to get 0 B/1527 kB of archives. 5373s After this operation, 2500 kB disk space will be freed. 5373s Get:1 /tmp/tmp.uzxd4mLKxv/libglib2.0-0xyz.deb libglib2.0-0xyz arm64 2.79.3-3ubuntu3 [1527 kB] 5375s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75514 files and directories currently installed.) 5375s Removing networkd-dispatcher (2.2.4-1) ... 5377s Removing apport-core-dump-handler (2.28.0-0ubuntu1) ... 5379s Removing apport (2.28.0-0ubuntu1) ... 5381s Removing python3-gi (3.47.0-3build1) ... 5381s Removing gir1.2-girepository-2.0:arm64 (1.79.1-1) ... 5381s Removing gir1.2-glib-2.0:arm64 (2.79.3-3ubuntu3) ... 5381s dpkg: libglib2.0-0t64:arm64: dependency problems, but removing anyway as you requested: 5381s udisks2 depends on libglib2.0-0 (>= 2.77.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s shared-mime-info depends on libglib2.0-0 (>= 2.75.3); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s session-migration depends on libglib2.0-0 (>= 2.51.1); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s python3-dbus depends on libglib2.0-0 (>= 2.16.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s netplan.io depends on libglib2.0-0 (>= 2.70.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s netplan-generator depends on libglib2.0-0 (>= 2.70.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libxmlb2:arm64 depends on libglib2.0-0 (>= 2.54.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libvolume-key1:arm64 depends on libglib2.0-0 (>= 2.18.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libudisks2-0:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libqrtr-glib0:arm64 depends on libglib2.0-0 (>= 2.56); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libqmi-proxy depends on libglib2.0-0 (>= 2.30.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libqmi-glib5:arm64 depends on libglib2.0-0 (>= 2.54.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libpolkit-agent-1-0:arm64 depends on libglib2.0-0 (>= 2.38.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libnetplan0:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libmm-glib0:arm64 depends on libglib2.0-0 (>= 2.62.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libmbim-proxy depends on libglib2.0-0 (>= 2.56); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libmbim-glib4:arm64 depends on libglib2.0-0 (>= 2.56); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libjson-glib-1.0-0:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libjcat1:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libgusb2:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libgudev-1.0-0:arm64 depends on libglib2.0-0 (>= 2.38.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libgirepository-1.0-1:arm64 depends on libglib2.0-0 (>= 2.79.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libfwupd2:arm64 depends on libglib2.0-0 (>= 2.79.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libdconf1:arm64 depends on libglib2.0-0 (>= 2.55.2); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libblockdev3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libblockdev-utils3:arm64 depends on libglib2.0-0 (>= 2.75.3); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libblockdev-swap3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libblockdev-part3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libblockdev-nvme3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libblockdev-mdraid3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libblockdev-loop3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libblockdev-fs3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s libblockdev-crypto3:arm64 depends on libglib2.0-0 (>= 2.42.2); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s fwupd depends on libglib2.0-0 (>= 2.79.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s dconf-service depends on libglib2.0-0 (>= 2.55.2); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s dconf-gsettings-backend:arm64 depends on libglib2.0-0 (>= 2.55.2); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s bolt depends on libglib2.0-0 (>= 2.56.0); however: 5381s Package libglib2.0-0:arm64 is not installed. 5381s Package libglib2.0-0t64:arm64 which provides libglib2.0-0 is to be removed. 5381s 5381s Removing libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 5381s Selecting previously unselected package libglib2.0-0xyz:arm64. 5382s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75324 files and directories currently installed.) 5382s Preparing to unpack .../libglib2.0-0xyz.deb ... 5382s Unpacking libglib2.0-0xyz:arm64 (2.79.3-3ubuntu3) ... 5382s Setting up libglib2.0-0xyz:arm64 (2.79.3-3ubuntu3) ... 5382s Processing triggers for libc-bin (2.39-0ubuntu2) ... 5382s Processing triggers for man-db (2.12.0-3) ... 5384s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 5384s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 5384s + n=1 5384s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 5384s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 5384s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 5384s + n=2 5384s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 5384s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 5384s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 5384s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5384s + n=3 5384s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5384s + echo ok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5384s ok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5384s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5384s + n=4 5384s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5384s + echo ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5384s ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5384s + ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5384s ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5384s assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5384s + n=5 5384s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5384s + echo ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5384s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5384s + n=6 5384s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5384s + echo ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5384s + apt-get -y purge libglib2.0-0t64 5385s Reading package lists... 5385s Building dependency tree... 5385s Reading state information... 5387s The following packages were automatically installed and are no longer required: 5387s apport-symptoms libgirepository-1.0-1 python3-apport python3-blinker 5387s python3-certifi python3-chardet python3-cryptography python3-httplib2 5387s python3-jwt python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 5387s python3-oauthlib python3-openssl python3-problem-report python3-pyparsing 5387s python3-requests python3-six python3-systemd python3-urllib3 python3-wadllib 5387s Use 'sudo apt autoremove' to remove them. 5387s The following packages will be REMOVED: 5387s libglib2.0-0t64* 5389s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 5389s After this operation, 0 B of additional disk space will be used. 5389s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75345 files and directories currently installed.) 5389s Purging configuration files for libglib2.0-0t64:arm64 (2.79.3-3ubuntu3) ... 5390s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 5390s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 5390s + n=7 5390s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 5390s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 5390s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 5390s ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5390s ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5390s ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5390s ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5390s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 5390s + n=8 5390s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 5390s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled 5390s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5390s + n=9 5390s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5390s + echo ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5390s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5390s + n=10 5390s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5390s + echo ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so 5390s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5390s + n=11 5390s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5390s + echo ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5390s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5390s + n=12 5390s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5390s + echo ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache 5390s + apt-get -y purge libglib2.0-0xyz 5390s Reading package lists... 5391s Building dependency tree... 5391s Reading state information... 5393s The following packages were automatically installed and are no longer required: 5393s apport-symptoms fwupd-signed jq libarchive13 libatasmart4 libbytesize-common 5393s libbytesize1 libcurl3-gnutls libflashrom1 libftdi1-2 libglib2.0-data 5393s libgpgme11 libjq1 libjson-glib-1.0-common libnspr4 libnss3 libnvme1 libonig5 5393s libprotobuf-c1 python3-apport python3-blinker python3-certifi 5393s python3-cffi-backend python3-chardet python3-cryptography python3-httplib2 5393s python3-jwt python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri 5393s python3-markdown-it python3-mdurl python3-netifaces python3-oauthlib 5393s python3-openssl python3-problem-report python3-pygments python3-pyparsing 5393s python3-requests python3-rich python3-six python3-systemd python3-urllib3 5393s python3-wadllib xdg-user-dirs 5393s Use 'sudo apt autoremove' to remove them. 5393s The following packages will be REMOVED: 5393s bolt* dconf-gsettings-backend* dconf-service* fwupd* 5393s gsettings-desktop-schemas* libblockdev-crypto3* libblockdev-fs3* 5393s libblockdev-loop3* libblockdev-mdraid3* libblockdev-nvme3* 5393s libblockdev-part3* libblockdev-swap3* libblockdev-utils3* libblockdev3* 5393s libdconf1* libfwupd2* libgirepository-1.0-1* libglib2.0-0xyz* 5393s libgudev-1.0-0* libgusb2* libjcat1* libjson-glib-1.0-0* libmbim-glib4* 5393s libmbim-proxy* libmm-glib0* libnetplan0* libpolkit-agent-1-0* 5393s libpolkit-gobject-1-0* libqmi-glib5* libqmi-proxy* libqrtr-glib0* 5393s libudisks2-0* libvolume-key1* libxmlb2* netplan-generator* netplan.io* 5393s python3-dbus* python3-netplan* session-migration* shared-mime-info* 5393s ubuntu-minimal* udisks2* 5394s 0 upgraded, 0 newly installed, 42 to remove and 0 not upgraded. 5394s After this operation, 32.1 MB disk space will be freed. 5394s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 75345 files and directories currently installed.) 5394s Removing bolt (0.9.6-2) ... 5396s Removing gsettings-desktop-schemas (46~beta-3ubuntu1) ... 5396s Removing dconf-gsettings-backend:arm64 (0.40.0-4) ... 5396s Removing dconf-service (0.40.0-4) ... 5396s Removing fwupd (1.9.14-1) ... 5398s Removing udisks2 (2.10.1-1ubuntu2) ... 5400s Removing libblockdev-crypto3:arm64 (3.1.0-1) ... 5400s Removing libblockdev-fs3:arm64 (3.1.0-1) ... 5400s Removing libblockdev-loop3:arm64 (3.1.0-1) ... 5400s Removing libblockdev-mdraid3:arm64 (3.1.0-1) ... 5400s Removing libblockdev-nvme3:arm64 (3.1.0-1) ... 5400s Removing libblockdev-part3:arm64 (3.1.0-1) ... 5400s Removing libblockdev-swap3:arm64 (3.1.0-1) ... 5400s Removing libblockdev3:arm64 (3.1.0-1) ... 5400s Removing libblockdev-utils3:arm64 (3.1.0-1) ... 5400s Removing libdconf1:arm64 (0.40.0-4) ... 5400s Removing libfwupd2:arm64 (1.9.14-1) ... 5400s Removing libgirepository-1.0-1:arm64 (1.79.1-1) ... 5400s Removing shared-mime-info (2.4-1) ... 5400s Removing session-migration (0.3.6) ... 5401s Removing ubuntu-minimal (1.534) ... 5401s Removing netplan.io (0.107.1-3) ... 5401s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 5401s Removing python3-dbus (1.3.2-5build1) ... 5401s Removing libvolume-key1:arm64 (0.3.12-5build2) ... 5401s Removing libgudev-1.0-0:arm64 (1:238-3) ... 5401s Removing libgusb2:arm64 (0.4.8-1) ... 5401s Removing libjcat1:arm64 (0.2.0-2) ... 5401s Removing libjson-glib-1.0-0:arm64 (1.8.0-2) ... 5401s Removing libqmi-proxy (1.34.0-2) ... 5402s Removing libqmi-glib5:arm64 (1.34.0-2) ... 5402s Removing libmbim-proxy (1.30.0-1) ... 5402s Removing libmbim-glib4:arm64 (1.30.0-1) ... 5402s Removing libmm-glib0:arm64 (1.22.0-3) ... 5402s Removing python3-netplan (0.107.1-3) ... 5402s dpkg: warning: while removing python3-netplan, directory '/usr/lib/python3/dist-packages/netplan' not empty so not removed 5402s Removing netplan-generator (0.107.1-3) ... 5402s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 5402s Removing libnetplan0:arm64 (0.107.1-3) ... 5402s Removing libpolkit-agent-1-0:arm64 (124-1) ... 5402s Removing libpolkit-gobject-1-0:arm64 (124-1) ... 5402s Removing libqrtr-glib0:arm64 (1.2.2-1ubuntu2) ... 5402s Removing libudisks2-0:arm64 (2.10.1-1ubuntu2) ... 5402s Removing libxmlb2:arm64 (0.3.15-1) ... 5402s Removing libglib2.0-0xyz:arm64 (2.79.3-3ubuntu3) ... 5402s Processing triggers for man-db (2.12.0-3) ... 5404s Processing triggers for dbus (1.14.10-4ubuntu1) ... 5404s Processing triggers for libc-bin (2.39-0ubuntu2) ... 5404s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74817 files and directories currently installed.) 5404s Purging configuration files for udisks2 (2.10.1-1ubuntu2) ... 5406s Purging configuration files for session-migration (0.3.6) ... 5406s Purging configuration files for libglib2.0-0xyz:arm64 (2.79.3-3ubuntu3) ... 5406s Purging configuration files for libblockdev3:arm64 (3.1.0-1) ... 5406s Purging configuration files for shared-mime-info (2.4-1) ... 5407s Purging configuration files for fwupd (1.9.14-1) ... 5408s Purging configuration files for bolt (0.9.6-2) ... 5409s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 5409s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 5409s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 5409s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 5409s + n=13 5409s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 5409s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 5409s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 5409s + n=14 5409s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 5409s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 5409s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 5409s + n=15 5409s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 5409s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 5409s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 5409s + n=16 5409s + test -e /usr/lib/*/gio/modules/giomodule.cache 5409s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 5409s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 5409s 1..16 5409s + echo 1..16 5409s + exit 0 5410s autopkgtest [18:00:19]: test 1065022-futureproofing: -----------------------] 5410s autopkgtest [18:00:19]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 5410s 1065022-futureproofing PASS 5411s autopkgtest [18:00:20]: @@@@@@@@@@@@@@@@@@@@ summary 5411s build PASS (superficial) 5411s build-static PASS (superficial) 5411s installed-tests PASS 5411s closure-refcount PASS 5411s debugcontroller PASS 5411s gdbus-server-auth PASS 5411s gdbus-threading PASS 5411s gmenumodel PASS 5411s mainloop PASS 5411s memory-monitor-dbus PASS 5411s socket PASS 5411s testfilemonitor PASS 5411s thread-pool-slow PASS 5411s threadtests PASS 5411s timeout PASS 5411s timer PASS 5411s 1065022-futureproofing PASS 5435s Creating nova instance adt-noble-arm64-glib2.0-20240308-163008-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-arm64-server-20240307.img (UUID 13754ae5-42ee-4579-9ae5-5b43967e6bc1)... 5435s Creating nova instance adt-noble-arm64-glib2.0-20240308-163008-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-arm64-server-20240307.img (UUID 13754ae5-42ee-4579-9ae5-5b43967e6bc1)... 5435s Creating nova instance adt-noble-arm64-glib2.0-20240308-163008-juju-7f2275-prod-proposed-migration-environment-3 from image adt/ubuntu-noble-arm64-server-20240308.img (UUID 818adddc-cacc-4dcd-be3d-ec9a61f3956b)...